Package uk.ac.starlink.topcat.activate
Interface ActivationType
-
- All Known Implementing Classes:
BrowserActivationType,CutoutActivationType,DelayActivationType,DownloadActivationType,GenericViewImageActivationType,InvokeDatalinkActivationType,JelActivationType,LoadTableActivationType,NopActivationType,PlotTableActivationType,RegionViewImageActivationType,SendHips2fitsActivationType,SendImageActivationType,SendIndexActivationType,SendSkyPosActivationType,SendSpectrumActivationType,SendTableActivationType,ServiceActivationType,ShellActivationType,TopcatSkyPosActivationType,ViewDatalinkActivationType,ViewHips2fitsActivationType,ViewImageActivationType
public interface ActivationTypeDefines a type of activation action that can be invoked on table rows. An instance of this class documents its general behaviour, and can produce a GUI component that acts as a factory for Activator instances.- Since:
- 23 Jan 2018
- Author:
- Mark Taylor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivatorConfiguratorcreateConfigurator(TopcatModelInfo tinfo)Returns a component that can be used to configure activators of this type.java.lang.StringgetDescription()Description of this activation type.java.lang.StringgetName()Name of this activation type.SuitabilitygetSuitability(TopcatModelInfo tinfo)Indicates the applicability of this activation type to a given table.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Name of this activation type.- Returns:
- type name
-
getDescription
java.lang.String getDescription()
Description of this activation type.- Returns:
- type description
-
createConfigurator
ActivatorConfigurator createConfigurator(TopcatModelInfo tinfo)
Returns a component that can be used to configure activators of this type.- Parameters:
tinfo- information about topcat model for which the activation will take place- Returns:
- new configurator to produce compatible Activators
-
getSuitability
Suitability getSuitability(TopcatModelInfo tinfo)
Indicates the applicability of this activation type to a given table.- Parameters:
tinfo- information about topcat model- Returns:
- suitability code
-
-