Class StartListening
- java.lang.Object
-
- adams.terminal.menu.remotecommand.AbstractRemoteCommandAction
-
- adams.terminal.menu.remotecommand.AbstractRemoteCommandActionWithGUI
-
- adams.terminal.menu.remotecommand.StartListening
-
- All Implemented Interfaces:
adams.scripting.processor.RemoteCommandProcessorHandler
,Comparable<AbstractRemoteCommandAction>
public class StartListening extends AbstractRemoteCommandActionWithGUI
Starts a remote engine.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Field Summary
Fields Modifier and Type Field Description protected com.googlecode.lanterna.gui2.TextBox
m_Engine
the remote engine commandline.-
Fields inherited from class adams.terminal.menu.remotecommand.AbstractRemoteCommandAction
m_CommandProcessor, m_Owner
-
-
Constructor Summary
Constructors Constructor Description StartListening()
Initializes the action with no owner.StartListening(adams.terminal.application.AbstractTerminalApplication owner)
Initializes the action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.googlecode.lanterna.gui2.Panel
createPanel()
Creates the panel to display.protected void
doRun(com.googlecode.lanterna.gui2.WindowBasedTextGUI context)
Actual execution.String
getTitle()
Returns the title of the action.-
Methods inherited from class adams.terminal.menu.remotecommand.AbstractRemoteCommandAction
compareTo, configureEngine, equals, getCommandProcessor, getLogTextBox, getOwner, getRunnable, initialize, logError, logError, logMessage, postRun, preRun, sendCommand, sendCommandWithReponse, setCommandProcessor, setOwner
-
-
-
-
Method Detail
-
getTitle
public String getTitle()
Returns the title of the action.- Specified by:
getTitle
in classAbstractRemoteCommandAction
- Returns:
- the title
-
createPanel
protected com.googlecode.lanterna.gui2.Panel createPanel()
Creates the panel to display.- Specified by:
createPanel
in classAbstractRemoteCommandActionWithGUI
- Returns:
- the panel
-
doRun
protected void doRun(com.googlecode.lanterna.gui2.WindowBasedTextGUI context)
Actual execution.- Overrides:
doRun
in classAbstractRemoteCommandActionWithGUI
- Parameters:
context
- the context to use
-
-