org.argouml.uml.ui
Class ActionDeploymentDiagram
java.lang.Object
javax.swing.AbstractAction
org.tigris.gef.undo.UndoableAction
org.argouml.uml.ui.ActionAddDiagram
org.argouml.uml.ui.ActionDeploymentDiagram
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionDeploymentDiagram
- extends ActionAddDiagram
Action to trigger creation of a deployment diagram.
- See Also:
- Serialized Form
ActionDeploymentDiagram
public ActionDeploymentDiagram()
- Constructor.
createDiagram
public UMLDiagram createDiagram(Object notUsedHandle)
- Description copied from class:
ActionAddDiagram
- Creates the diagram. Classes derived from this class should implement any
specific behaviour to create the diagram.
- Specified by:
createDiagram in class ActionAddDiagram
- Parameters:
notUsedHandle - The namespace the UMLDiagram should get.
- Returns:
- UMLDiagram
isValidNamespace
public boolean isValidNamespace(Object notUsedHandle)
- Description copied from class:
ActionAddDiagram
- Test if the given namespace is a valid namespace to add the diagram to.
- Specified by:
isValidNamespace in class ActionAddDiagram
- Parameters:
notUsedHandle - the namespace to check
- Returns:
- Returns
true if valid.