Package uk.ac.starlink.topcat.activate
Interface ActivationType
-
- All Known Implementing Classes:
BrowserActivationType
,CutoutActivationType
,DelayActivationType
,DownloadActivationType
,GenericViewImageActivationType
,InvokeDatalinkActivationType
,JelActivationType
,LoadTableActivationType
,NopActivationType
,PlotTableActivationType
,RegionViewImageActivationType
,SendImageActivationType
,SendIndexActivationType
,SendSkyPosActivationType
,SendSpectrumActivationType
,SendTableActivationType
,ServiceActivationType
,ShellActivationType
,TopcatSkyPosActivationType
,ViewDatalinkActivationType
,ViewImageActivationType
public interface ActivationType
Defines 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 ActivatorConfigurator
createConfigurator(TopcatModelInfo tinfo)
Returns a component that can be used to configure activators of this type.java.lang.String
getDescription()
Description of this activation type.java.lang.String
getName()
Name of this activation type.Suitability
getSuitability(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
-
-