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:
adams.gui.application.AdditionalParameterHandler
,Serializable
,Comparable<adams.gui.application.AbstractMenuItemDefinition>
- Direct Known Subclasses:
ArffViewer
,CostCurve
,Explorer
,GraphVisualizer
,InstanceCompare
,InstanceExplorer
,InstancesPlot
,MarginCurve
,MultiExplorer
,PlotAttributeVsAttribute
,ROC
,TreeVisualizer
,Workbench
public abstract class AbstractParameterHandlingWekaMenuItemDefinition extends AbstractWekaMenuItemDefinition implements adams.gui.application.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.
-
Constructor Summary
Constructors Modifier Constructor Description AbstractParameterHandlingWekaMenuItemDefinition()
Initializes the menu item with no owner.protected
AbstractParameterHandlingWekaMenuItemDefinition(adams.gui.application.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
-
-
-
-
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(adams.gui.application.AbstractApplicationFrame owner)
Initializes the menu item.- Parameters:
owner
- the owning application
-
-
Method Detail
-
initialize
protected void initialize()
Initializes the members.- Overrides:
initialize
in classadams.gui.application.AbstractMenuItemDefinition
-
setAdditionalParameters
public void setAdditionalParameters(String[] params)
Sets the additional parameters.- Specified by:
setAdditionalParameters
in interfaceadams.gui.application.AdditionalParameterHandler
- Parameters:
params
- the parameters
-
-