Package uk.ac.starlink.topcat.activate
Class CutoutActivationType
- java.lang.Object
-
- uk.ac.starlink.topcat.activate.CutoutActivationType
-
- All Implemented Interfaces:
ActivationType
public class CutoutActivationType extends java.lang.Object implements ActivationType
Activation type for showing an image from one of a fixed list of cutout services. This is primitive: the data services are old, there are not many of them, and the viewing application is not configurable. It should be replaced (by something SkyView-based?).- Since:
- 29 Mar 2018
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description CutoutActivationType()
-
Method Summary
All Methods Instance Methods Concrete 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
public java.lang.String getName()
Description copied from interface:ActivationType
Name of this activation type.- Specified by:
getName
in interfaceActivationType
- Returns:
- type name
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ActivationType
Description of this activation type.- Specified by:
getDescription
in interfaceActivationType
- Returns:
- type description
-
getSuitability
public Suitability getSuitability(TopcatModelInfo tinfo)
Description copied from interface:ActivationType
Indicates the applicability of this activation type to a given table.- Specified by:
getSuitability
in interfaceActivationType
- Parameters:
tinfo
- information about topcat model- Returns:
- suitability code
-
createConfigurator
public ActivatorConfigurator createConfigurator(TopcatModelInfo tinfo)
Description copied from interface:ActivationType
Returns a component that can be used to configure activators of this type.- Specified by:
createConfigurator
in interfaceActivationType
- Parameters:
tinfo
- information about topcat model for which the activation will take place- Returns:
- new configurator to produce compatible Activators
-
-