Package adams.gui.menu
Class AbstractParameterHandlingWekaMenuItemDefinition
- java.lang.Object
-
- adams.gui.application.AbstractMenuItemDefinition
-
- adams.gui.application.AbstractBasicMenuItemDefinition
-
- adams.gui.menu.AbstractWekaMenuItemDefinition
-
- adams.gui.menu.AbstractParameterHandlingWekaMenuItemDefinition
-
- All Implemented Interfaces:
AdditionalParameterHandler
,Serializable
,Comparable<AbstractMenuItemDefinition>
- Direct Known Subclasses:
ArffViewer
,CostCurve
,Explorer
,GraphVisualizer
,InstanceCompare
,InstanceExplorer
,InstancesPlot
,MarginCurve
,MultiExplorer
,PlotAttributeVsAttribute
,ROC
,TreeVisualizer
,Workbench
public abstract class AbstractParameterHandlingWekaMenuItemDefinition extends AbstractWekaMenuItemDefinition implements AdditionalParameterHandler
Abstract menu item definition for Weka elements that also handle additional 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 AbstractParameterHandlingWekaMenuItemDefinition()
Initializes the menu item with no owner.protected
AbstractParameterHandlingWekaMenuItemDefinition(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.menu.AbstractWekaMenuItemDefinition
getCategory, getIconName
-
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, getIcon, getLogger, getOwner, getTitle, getUserMode, isAvailable, isSingleton, requiresRestartableApplication, setOwner
-
-
-
-
Field Detail
-
m_Parameters
protected String[] m_Parameters
the additional parameters.
-
-
Constructor Detail
-
AbstractParameterHandlingWekaMenuItemDefinition
public AbstractParameterHandlingWekaMenuItemDefinition()
Initializes the menu item with no owner.
-
AbstractParameterHandlingWekaMenuItemDefinition
protected AbstractParameterHandlingWekaMenuItemDefinition(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
-
-