Package adams.gui.flow.menu
Class ShowTriggers
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.flow.menu.AbstractFlowEditorMenuItem
-
- adams.gui.flow.menu.ShowTriggers
-
- All Implemented Interfaces:
LoggingSupporter
,SizeOfHandler
,Serializable
,Comparable<AbstractFlowEditorMenuItem>
public class ShowTriggers extends AbstractFlowEditorMenuItem
Shows a dialog that lists all currently active triggers.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.flow.menu.AbstractFlowEditorMenuItem
m_Action, m_Owner
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description ShowTriggers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMenu()
Returns the name of the menu to list this item under.protected KeyValuePairTableModel
getTabelModel()
Returns a table model with the current triggers.protected AbstractBaseAction
newAction()
Creates the action to use.void
updateAction()
Updating the action, based on the current status of the owner.-
Methods inherited from class adams.gui.flow.menu.AbstractFlowEditorMenuItem
compareTo, equals, getAction, getMenuItems, getOwner, initialize, setOwner
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
getMenu
public String getMenu()
Returns the name of the menu to list this item under.- Specified by:
getMenu
in classAbstractFlowEditorMenuItem
- Returns:
- the name of the menu
- See Also:
FlowEditorPanel.MENU_FILE
,FlowEditorPanel#MENU_DEBUG
,FlowEditorPanel.MENU_RUN
,FlowEditorPanel.MENU_VIEW
,FlowEditorPanel.MENU_WINDOW
-
getTabelModel
protected KeyValuePairTableModel getTabelModel()
Returns a table model with the current triggers.- Returns:
- the table model, null in case of an error
-
newAction
protected AbstractBaseAction newAction()
Creates the action to use.- Specified by:
newAction
in classAbstractFlowEditorMenuItem
- Returns:
- the action
-
updateAction
public void updateAction()
Updating the action, based on the current status of the owner.- Specified by:
updateAction
in classAbstractFlowEditorMenuItem
-
-