public class PlotStiltsMonitor extends StiltsMonitor<PlotStiltsMonitor.PlotState>
Modifier and Type | Class and Description |
---|---|
static class |
PlotStiltsMonitor.PlotState
Defines the result of trying to serialize a PlotSpec to a STILTS command.
|
StiltsMonitor.State
Constructor and Description |
---|
PlotStiltsMonitor(PlotPanel<?,?> plotPanel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
configure(uk.ac.starlink.ttools.task.CommandFormatter formatter,
uk.ac.starlink.ttools.task.TableNamer tableNamer,
uk.ac.starlink.ttools.plot2.task.Suffixer layerSuffixer,
uk.ac.starlink.ttools.plot2.task.Suffixer zoneSuffixer)
Sets the state that controls the details of formatting stilts commands.
|
protected PlotStiltsMonitor.PlotState |
createState()
Returns a state object describing the content that should be
displayed in this monitor.
|
Action[] |
getActions()
Returns a list of actions that the GUI can present to the user
relating to the displayed command.
|
Action |
getExecuteAction()
Returns an action that will attempt to execute the current
stilts command and display the result in a dialog window.
|
createErrorDisplay, getClipboardAction, getErrorAction, getState, getTextPanel, getWidthCharacters, resetState, wrapTextPanel
public PlotStiltsMonitor(PlotPanel<?,?> plotPanel)
plotPanel
- panel to mirrorpublic void configure(uk.ac.starlink.ttools.task.CommandFormatter formatter, uk.ac.starlink.ttools.task.TableNamer tableNamer, uk.ac.starlink.ttools.plot2.task.Suffixer layerSuffixer, uk.ac.starlink.ttools.plot2.task.Suffixer zoneSuffixer)
formatter
- formattertableNamer
- table naminglayerSuffixer
- controls suffixes for layer identificationzoneSuffixer
- controls suffixes for zone identificationpublic Action getExecuteAction()
public Action[] getActions()
protected PlotStiltsMonitor.PlotState createState()
StiltsMonitor
createState
in class StiltsMonitor<PlotStiltsMonitor.PlotState>
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.