public class GenericPlot2Task extends AbstractPlot2Task
DOC_ZONE_SUFFIX, EXAMPLE_LAYER_SUFFIX, EXAMPLE_ZONE_SUFFIX, LAYER_PREFIX, ZONE_PREFIX| Constructor and Description |
|---|
GenericPlot2Task()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> java.lang.String |
getConfigParamDefault(uk.ac.starlink.task.Environment env,
ConfigKey<T> key,
java.lang.String[] suffixes)
May provide a default value for a given config parameter that is
sensitive to the content of the execution environment.
|
uk.ac.starlink.task.Parameter[] |
getParameters() |
PlotContext |
getPlotContext(uk.ac.starlink.task.Environment env)
Concrete subclasses must implement this method to provide
the PlotType and other information from the environment
that may not be available at construction time.
|
java.lang.String |
getPurpose() |
createDataParameter, createExecutable, createFilterParameter, createLabelParameter, createLayerTypeParameter, createPlotComponent, createPlotIcon, createPlotIcon, createTableParameter, createZoneParameter, getBasicParameters, getContextParameters, getParameterByName, getZoneKeyParams, testEnvpublic java.lang.String getPurpose()
public uk.ac.starlink.task.Parameter[] getParameters()
public PlotContext getPlotContext(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
AbstractPlot2TaskgetPlotContext in class AbstractPlot2Taskenv - execution environmentuk.ac.starlink.task.TaskExceptionprotected <T> java.lang.String getConfigParamDefault(uk.ac.starlink.task.Environment env,
ConfigKey<T> key,
java.lang.String[] suffixes)
AbstractPlot2TaskgetConfigParamDefault in class AbstractPlot2Taskenv - execution environmentkey - config key for which a parameter is requiredsuffixes - ordered list of the plot layer suffixes
in use for the plot being performedkey,
or null if none is obviousCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.