adams.gui.flow.menu
Class ShowTriggers

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.gui.flow.menu.AbstractFlowEditorMenuItem
          extended by adams.gui.flow.menu.ShowTriggers
All Implemented Interfaces:
SizeOfHandler, Serializable, Comparable<AbstractFlowEditorMenuItem>

public class ShowTriggers
extends AbstractFlowEditorMenuItem

Shows a dialog that lists all currently active triggers.

Version:
$Revision: 5702 $
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
 
Constructor Summary
ShowTriggers()
           
 
Method Summary
 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.ConsoleObject
getDebugging, getSystemErr, getSystemOut, sizeOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowTriggers

public ShowTriggers()
Method Detail

getMenu

public String getMenu()
Returns the name of the menu to list this item under.

Specified by:
getMenu in class AbstractFlowEditorMenuItem
Returns:
the name of the menu

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 class AbstractFlowEditorMenuItem
Returns:
the action

updateAction

public void updateAction()
Updating the action, based on the current status of the owner.

Specified by:
updateAction in class AbstractFlowEditorMenuItem


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.