Package adams.gui.menu
Class AbstractParameterHandlingMenuItemDefinition
- java.lang.Object
-
- adams.gui.application.AbstractMenuItemDefinition
-
- adams.gui.application.AbstractBasicMenuItemDefinition
-
- adams.gui.menu.AbstractParameterHandlingMenuItemDefinition
-
- All Implemented Interfaces:
AdditionalParameterHandler
,Serializable
,Comparable<AbstractMenuItemDefinition>
- Direct Known Subclasses:
ConsoleOutputAnalyzer
,DatasetCompatibility
,Diff
,FileCommander
,FileMonitor
,FlowControlCenter
,FlowEditor
,FlowRunner
,ImageViewer
,PDFViewer
,SpreadSheetExplorer
,SpreadSheetFileViewer
,TextEditor
,WekaInvestigator
public abstract class AbstractParameterHandlingMenuItemDefinition extends AbstractBasicMenuItemDefinition implements AdditionalParameterHandler
Abstract menu item definition for definitions that handle parameters.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]
m_Parameters
the additional parameters.-
Fields inherited from class adams.gui.application.AbstractMenuItemDefinition
CATEGORY_HELP, CATEGORY_MACHINELEARNING, CATEGORY_MAINTENANCE, CATEGORY_PROGRAM, CATEGORY_TOOLS, CATEGORY_VISUALIZATION, CATEGORY_WIZARD, m_Owner
-
-
Constructor Summary
Constructors Modifier Constructor Description AbstractParameterHandlingMenuItemDefinition()
Initializes the menu item with no owner.protected
AbstractParameterHandlingMenuItemDefinition(AbstractApplicationFrame owner)
Initializes the menu item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialize()
Initializes the members.void
setAdditionalParameters(String[] params)
Sets the additional parameters.-
Methods inherited from class adams.gui.application.AbstractBasicMenuItemDefinition
getMenuItem, getUseThread, launch, postLaunch, preLaunch
-
Methods inherited from class adams.gui.application.AbstractMenuItemDefinition
compareTo, createChildFrame, createChildFrame, equals, forCommandLine, forName, getActualCategory, getCategory, getIcon, getIconName, getLogger, getOwner, getTitle, getUserMode, isAvailable, isSingleton, requiresRestartableApplication, setOwner
-
-
-
-
Field Detail
-
m_Parameters
protected String[] m_Parameters
the additional parameters.
-
-
Constructor Detail
-
AbstractParameterHandlingMenuItemDefinition
public AbstractParameterHandlingMenuItemDefinition()
Initializes the menu item with no owner.
-
AbstractParameterHandlingMenuItemDefinition
protected AbstractParameterHandlingMenuItemDefinition(AbstractApplicationFrame owner)
Initializes the menu item.- Parameters:
owner
- the owning application
-
-
Method Detail
-
initialize
protected void initialize()
Initializes the members.- Overrides:
initialize
in classAbstractMenuItemDefinition
-
setAdditionalParameters
public void setAdditionalParameters(String[] params)
Sets the additional parameters.- Specified by:
setAdditionalParameters
in interfaceAdditionalParameterHandler
- Parameters:
params
- the parameters
-
-