org.argouml.uml.ui.behavior.use_cases
Class PropPanelUseCase.ActionNewUseCase
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.uml.ui.AbstractActionNewModelElement
org.argouml.uml.ui.behavior.use_cases.PropPanelUseCase.ActionNewUseCase
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- Enclosing class:
- PropPanelUseCase
- private class PropPanelUseCase.ActionNewUseCase
- extends AbstractActionNewModelElement
Invoked by the "Add use case" toolbar button to create a new use case
property panel in the same namespace as the current use case.
This code uses getFactory and adds the use case explicitly to the
namespace. Extended to actually navigate to the new use case.
PropPanelUseCase.ActionNewUseCase
public PropPanelUseCase.ActionNewUseCase()
- The constructor.
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)