org.argouml.uml.diagram.deployment.ui
Class UMLDeploymentDiagram
java.lang.Object
org.tigris.gef.base.Diagram
org.argouml.ui.ArgoDiagram
org.argouml.uml.diagram.ui.UMLDiagram
org.argouml.uml.diagram.deployment.ui.UMLDeploymentDiagram
- All Implemented Interfaces:
- EventListener, org.tigris.gef.graph.GraphListener, PropertyChangeListener, Serializable
- public class UMLDeploymentDiagram
- extends UMLDiagram
The base class of the deployment diagram.
Defines the toolbar, provides for its initialization and provides
constructors for a top level diagram and one within a defined
namespace.
- See Also:
- Serialized Form
Fields inherited from class org.argouml.uml.diagram.ui.UMLDiagram |
|
Fields inherited from class org.tigris.gef.base.Diagram |
_comments, _name, _toolBar, NAME_KEY, SCALE_KEY |
Methods inherited from class org.argouml.uml.diagram.ui.UMLDiagram |
deselectAllTools, deselectOtherTools, getActions, getClassAndModelID, getJToolBar, getNamespace, getNextDiagramSerial, getOwner, initialize, initToolBar, makeCreateAssociationAction, makeCreateEdgeAction, makeCreateNodeAction, needsToBeRemoved, propertyChange, removeAsTarget, resetDiagramSerial, setAsTarget |
Methods inherited from class org.tigris.gef.base.Diagram |
add, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, bringForward, bringToFront, countContained, edgeAdded, edgeRemoved, elements, elementsIn, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getComments, getGraphController, getGraphModel, getLayer, getName, getScale, getShowSingleMultiplicity, getToolBar, graphChanged, hit, nodeAdded, nodeRemoved, postLoad, postSave, preSave, presentationFor, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, reorder, sendBackward, sendToBack, setComments, setGraphModel, setLayer, setScale, setShowSingleMultiplicity, setToolBar |
LOG
private static final Logger LOG
actionMNode
private Action actionMNode
actionMNodeInstance
private Action actionMNodeInstance
actionMComponent
private Action actionMComponent
actionMComponentInstance
private Action actionMComponentInstance
actionMClass
private Action actionMClass
actionMInterface
private Action actionMInterface
actionMObject
private Action actionMObject
actionMDependency
private Action actionMDependency
actionMAssociation
private Action actionMAssociation
actionMLink
private Action actionMLink
actionAssociation
private Action actionAssociation
actionAggregation
private Action actionAggregation
actionComposition
private Action actionComposition
actionUniAssociation
private Action actionUniAssociation
actionUniAggregation
private Action actionUniAggregation
actionUniComposition
private Action actionUniComposition
actionMGeneralization
private Action actionMGeneralization
actionMAbstraction
private Action actionMAbstraction
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
UMLDeploymentDiagram
public UMLDeploymentDiagram()
- Constructor.
UMLDeploymentDiagram
public UMLDeploymentDiagram(Object namespace)
- Parameters:
namespace
- the namespace for the new diagram
setNamespace
public void setNamespace(Object handle)
- Method to perform a number of important initializations of a
Deployment Diagram.
Each diagram type has a similar UMLxxxDiagram class.
Changed lay from LayerPerspective to
LayerPerspectiveMutable. This class is a child of
LayerPerspective and was implemented to correct some
difficulties in changing the model. lay is used mainly
in LayerManager(GEF) to control the adding, changing and
deleting layers on the diagram...
- Overrides:
setNamespace
in class UMLDiagram
- Parameters:
handle
- MNamespace from the model in NSUML...
getUmlActions
protected Object[] getUmlActions()
- Get the actions from which to create a toolbar or equivilent
graphic triggers.
- Specified by:
getUmlActions
in class UMLDiagram
- Returns:
- the actions structure
- See Also:
UMLDiagram.getUmlActions()
getAssociationActions
private Object[] getAssociationActions()
getNewDiagramName
protected String getNewDiagramName()
- Creates a new diagramname.
- Returns:
- String
getLabelName
public String getLabelName()
- Specified by:
getLabelName
in class UMLDiagram
- Returns:
- a string that can be used as a label for this kind of diagram
- See Also:
UMLDiagram.getLabelName()
getActionAggregation
protected Action getActionAggregation()
- Returns:
- Returns the actionAggregation.
getActionAssociation
protected Action getActionAssociation()
- Returns:
- Returns the actionAssociation.
getActionComposition
protected Action getActionComposition()
- Returns:
- Returns the actionComposition.
getActionMAssociation
protected Action getActionMAssociation()
- Returns:
- Returns the actionMAssociation.
getActionMClass
protected Action getActionMClass()
- Returns:
- Returns the actionMClass.
getActionMComponent
protected Action getActionMComponent()
- Returns:
- Returns the actionMComponent.
getActionMComponentInstance
protected Action getActionMComponentInstance()
- Returns:
- Returns the actionMComponentInstance.
getActionMDependency
protected Action getActionMDependency()
- Returns:
- Returns the actionMDependency.
getActionMGeneralization
protected Action getActionMGeneralization()
- Returns:
- Returns the actionMGeneralization.
getActionMAbstraction
protected Action getActionMAbstraction()
- Returns:
- Returns the actionMAbstraction.
getActionMInterface
protected Action getActionMInterface()
- Returns:
- Returns the actionMInterface.
getActionMLink
protected Action getActionMLink()
- Returns:
- Returns the actionMLink.
getActionMNode
protected Action getActionMNode()
- Returns:
- Returns the actionMNode.
getActionMNodeInstance
protected Action getActionMNodeInstance()
- Returns:
- Returns the actionMNodeInstance.
getActionMObject
protected Action getActionMObject()
- Returns:
- Returns the actionMObject.
getActionUniAggregation
protected Action getActionUniAggregation()
- Returns:
- Returns the actionUniAggregation.
getActionUniAssociation
protected Action getActionUniAssociation()
- Returns:
- Returns the actionUniAssociation.
getActionUniComposition
protected Action getActionUniComposition()
- Returns:
- Returns the actionUniComposition.