org.argouml.uml.ui.behavior.state_machines
Class ActionNewTransition
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.uml.ui.AbstractActionNewModelElement
org.argouml.uml.ui.behavior.state_machines.ActionNewTransition
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionNewTransition
- extends AbstractActionNewModelElement
Action to create a new transition, either
an internal transition or a transition
between two states.
- Since:
- Dec 15, 2002
- See Also:
- Serialized Form
SOURCE
public static final String SOURCE
- Key used for storing the source of the transition.
If this value is not set,
the action assumes that an internal transition should be constructed.
- See Also:
- Constant Field Values
DESTINATION
public static final String DESTINATION
- Key used for storing the destination of the transition.
If this value is not set,
the action assumes that an internal transition should be constructed.
- See Also:
- Constant Field Values
SINGLETON
private static final ActionNewTransition SINGLETON
ActionNewTransition
protected ActionNewTransition()
- Constructor for ActionNewTransition.
actionPerformed
public void actionPerformed(ActionEvent e)
- Description copied from class:
UMLAction
- Perform the work the action is supposed to do.
This method needs to be overridden by all actions,
since it only shows a fake progressbar...
- Specified by:
actionPerformed
in interface ActionListener
- Overrides:
actionPerformed
in class UMLAction
- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
getInstance
public static ActionNewTransition getInstance()
- Returns:
- Returns the SINGLETON.