org.argouml.uml.ui
Class ActionDeploymentDiagram
java.lang.Object
javax.swing.AbstractAction
org.tigris.gef.undo.UndoableAction
org.argouml.uml.ui.UMLAction
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
LOG
private static final Logger LOG
ActionDeploymentDiagram
public ActionDeploymentDiagram()
- Constructor.
createDiagram
public UMLDiagram createDiagram(Object handle)
- 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:
handle - The namespace the UMLDiagram should get.
- Returns:
- UMLDiagram
- See Also:
ActionAddDiagram.createDiagram(Object)
isValidNamespace
public boolean isValidNamespace(Object handle)
- 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:
handle - the namespace to check
- Returns:
- Returns
true if valid. - See Also:
ActionAddDiagram.isValidNamespace(Object)