Package adams.gui.flow.multipageaction
Class Revert
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.flow.multipageaction.AbstractMultiPageMenuItem
-
- adams.gui.flow.multipageaction.Revert
-
- All Implemented Interfaces:
LoggingSupporter
,SizeOfHandler
,Serializable
,Comparable<AbstractMultiPageMenuItem>
public class Revert extends AbstractMultiPageMenuItem
Reloads the flow from disk.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description Revert()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGroup()
The name of the group this item belongs to.String
getIconName()
The name of the icon to use.JMenuItem
getMenuItem(FlowMultiPagePane multi)
Creates the menu item.String
getName()
The name for the menu item.-
Methods inherited from class adams.gui.flow.multipageaction.AbstractMultiPageMenuItem
compareTo, equals, getIcon
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
getName
public String getName()
The name for the menu item.- Specified by:
getName
in classAbstractMultiPageMenuItem
- Returns:
- the name
-
getGroup
public String getGroup()
The name of the group this item belongs to.- Specified by:
getGroup
in classAbstractMultiPageMenuItem
- Returns:
- the name
-
getIconName
public String getIconName()
The name of the icon to use.- Specified by:
getIconName
in classAbstractMultiPageMenuItem
- Returns:
- the name
-
getMenuItem
public JMenuItem getMenuItem(FlowMultiPagePane multi)
Creates the menu item.- Specified by:
getMenuItem
in classAbstractMultiPageMenuItem
-
-