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:
java.util.EventListener, org.tigris.gef.graph.GraphListener, ru.novosoft.uml.MElementListener, java.io.Serializable

public class UMLDeploymentDiagram
extends UMLDiagram

See Also:
Serialized Form

Field Summary
protected static javax.swing.Action _actionMAssociation
           
protected static javax.swing.Action _actionMClass
           
protected static javax.swing.Action _actionMComponent
           
protected static javax.swing.Action _actionMComponentInstance
           
protected static javax.swing.Action _actionMDependency
           
protected static javax.swing.Action _actionMInterface
           
protected static javax.swing.Action _actionMLink
           
protected static javax.swing.Action _actionMNode
           
protected static javax.swing.Action _actionMNodeInstance
           
protected static javax.swing.Action _actionMObject
           
protected static int _DeploymentDiagramSerial
           
protected static org.apache.log4j.Category cat
           
 
Fields inherited from class org.argouml.uml.diagram.ui.UMLDiagram
_actionBroom, _actionCircle, _actionInk, _actionLine, _actionPoly, _actionRectangle, _actionRRectangle, _actionSelect, _actionSpline, _actionText, _diagramName, _namespace
 
Fields inherited from class org.argouml.ui.ArgoDiagram
TheInstance
 
Fields inherited from class org.tigris.gef.base.Diagram
_comments, _lay, _name, _toolBar, vetoListeners
 
Constructor Summary
UMLDeploymentDiagram()
           
UMLDeploymentDiagram(ru.novosoft.uml.foundation.core.MNamespace m)
           
 
Method Summary
protected static java.lang.String getNewDiagramName()
          Creates a new diagramname.
protected  void initToolBar(javax.swing.JToolBar toolBar)
          Initialize the toolbar with buttons required for a use case diagram.
 void setNamespace(ru.novosoft.uml.foundation.core.MNamespace m)
          method to perform a number of important initializations of a Deployment Diagram. each diagram type has a similar UMLxxxDiagram class.
 
Methods inherited from class org.argouml.uml.diagram.ui.UMLDiagram
getClassAndModelID, getNamespace, getOwner, getToolBar, initialize, initToolBar, listRoleItemSet, propertySet, recovered, removed, roleAdded, roleRemoved, setName
 
Methods inherited from class org.argouml.ui.ArgoDiagram
addChangeRegistryAsListener, damage, getContainingFig, getEdges, getItemUID, getNodes, getVetoMessage, removeChangeRegistryAsListener, setItemUID
 
Methods inherited from class org.tigris.gef.base.Diagram
add, addVetoableChangeListener, bringForward, bringToFront, countContained, edgeAdded, edgeRemoved, elements, elementsIn, fireVetoableChange, fireVetoableChange, fireVetoableChange, getComments, getGraphController, getGraphModel, getLayer, getName, graphChanged, hit, nodeAdded, nodeRemoved, postLoad, postSave, preSave, presentationFor, remove, removeAll, removeVetoableChangeListener, reorder, sendBackward, sendToBack, setComments, setGraphModel, setLayer, setToolBar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

protected static org.apache.log4j.Category cat

_actionMNode

protected static javax.swing.Action _actionMNode

_actionMNodeInstance

protected static javax.swing.Action _actionMNodeInstance

_actionMComponent

protected static javax.swing.Action _actionMComponent

_actionMComponentInstance

protected static javax.swing.Action _actionMComponentInstance

_actionMClass

protected static javax.swing.Action _actionMClass

_actionMInterface

protected static javax.swing.Action _actionMInterface

_actionMObject

protected static javax.swing.Action _actionMObject

_actionMDependency

protected static javax.swing.Action _actionMDependency

_actionMAssociation

protected static javax.swing.Action _actionMAssociation

_actionMLink

protected static javax.swing.Action _actionMLink

_DeploymentDiagramSerial

protected static int _DeploymentDiagramSerial
Constructor Detail

UMLDeploymentDiagram

public UMLDeploymentDiagram()

UMLDeploymentDiagram

public UMLDeploymentDiagram(ru.novosoft.uml.foundation.core.MNamespace m)
Method Detail

setNamespace

public void setNamespace(ru.novosoft.uml.foundation.core.MNamespace m)
method to perform a number of important initializations of a Deployment Diagram. each diagram type has a similar UMLxxxDiagram class.
Overrides:
setNamespace in class UMLDiagram
Parameters:
m - MNamespace from the model in NSUML...

initToolBar

protected void initToolBar(javax.swing.JToolBar toolBar)

Initialize the toolbar with buttons required for a use case diagram.

Overrides:
initToolBar in class UMLDiagram
Parameters:
toolBar - The toolbar to which to add the buttons.

getNewDiagramName

protected static java.lang.String getNewDiagramName()
Creates a new diagramname.
Returns:
String


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook