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_MenuItem, m_Owner, m_SubMenu
-
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
update()
Updating the action, based on the current status of the owner.-
Methods inherited from class adams.gui.flow.menu.AbstractFlowEditorMenuItem
compareTo, determineCaption, equals, getAction, getMenuItem, getMenuItems, getOwner, getSubMenu, hasAction, hasMenuItem, hasSubMenu, initialize, newMenuItem, newSubMenu, 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_EDIT
,FlowEditorPanel.MENU_RUN
,FlowEditorPanel.MENU_ACTIVE
,FlowEditorPanel.MENU_VIEW
,FlowEditorPanel.MENU_WINDOW
,FlowEditorPanel.MENU_HELP
-
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
-
update
public void update()
Updating the action, based on the current status of the owner.- Specified by:
update
in classAbstractFlowEditorMenuItem
-
-