org.argouml.uml.diagram.collaboration.ui
Class UMLCollaborationDiagram

java.lang.Object
  |
  +--Diagram
        |
        +--org.argouml.ui.ArgoDiagram
              |
              +--org.argouml.uml.diagram.ui.UMLDiagram
                    |
                    +--org.argouml.uml.diagram.collaboration.ui.UMLCollaborationDiagram

public class UMLCollaborationDiagram
extends UMLDiagram

See Also:
Serialized Form

Field Summary
protected static javax.swing.Action _actionAggregation
           
protected static javax.swing.Action _actionAssoc
           
protected static javax.swing.Action _actionAssociation
           
protected static javax.swing.Action _actionClassifierRole
           
protected static javax.swing.Action _actionComposition
           
protected static javax.swing.Action _actionDepend
           
protected static javax.swing.Action _actionGeneralize
           
protected static javax.swing.Action _actionUniAggregation
           
protected static javax.swing.Action _actionUniAssociation
           
protected static javax.swing.Action _actionUniComposition
           
protected static int _CollaborationDiagramSerial
           
 
Fields inherited from class org.argouml.uml.diagram.ui.UMLDiagram
_actionBroom, _actionCircle, _actionInk, _actionLine, _actionPoly, _actionRectangle, _actionRRectangle, _actionSelect, _actionSpline, _actionText, _diagramName, _namespace, cat
 
Fields inherited from class org.argouml.ui.ArgoDiagram
TheInstance
 
Constructor Summary
UMLCollaborationDiagram()
           
UMLCollaborationDiagram(MNamespace m)
           
 
Method Summary
protected static java.lang.String getNewDiagramName()
          Creates a new diagramname.
 int getNumMessages()
           
protected  java.lang.Object[] getUmlActions()
          Get the actions from which to create a toolbar or equivilent graphic triggers
 void postLoad()
          After loading the diagram it?s necessary to connect every FigMessage to its FigAssociationRole.
 void setNamespace(java.lang.Object handle)
          method to perform a number of important initializations of a CollaborationDiagram.
 
Methods inherited from class org.argouml.uml.diagram.ui.UMLDiagram
getActions, getClassAndModelID, getNamespace, getOwner, getToolBar, initialize, initToolBar, listRoleItemSet, propertySet, recovered, removeAsTarget, removed, roleAdded, roleRemoved, setAsTarget, setName
 
Methods inherited from class org.argouml.ui.ArgoDiagram
addChangeRegistryAsListener, damage, getContainingFig, getEdges, getItemUID, getNodes, getVetoMessage, removeChangeRegistryAsListener, setItemUID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_actionClassifierRole

protected static javax.swing.Action _actionClassifierRole

_actionAssoc

protected static javax.swing.Action _actionAssoc

_actionGeneralize

protected static javax.swing.Action _actionGeneralize

_actionAssociation

protected static javax.swing.Action _actionAssociation

_actionAggregation

protected static javax.swing.Action _actionAggregation

_actionComposition

protected static javax.swing.Action _actionComposition

_actionUniAssociation

protected static javax.swing.Action _actionUniAssociation

_actionUniAggregation

protected static javax.swing.Action _actionUniAggregation

_actionUniComposition

protected static javax.swing.Action _actionUniComposition

_actionDepend

protected static javax.swing.Action _actionDepend

_CollaborationDiagramSerial

protected static int _CollaborationDiagramSerial
Constructor Detail

UMLCollaborationDiagram

public UMLCollaborationDiagram()

UMLCollaborationDiagram

public UMLCollaborationDiagram(MNamespace m)
Method Detail

getNumMessages

public int getNumMessages()

setNamespace

public void setNamespace(java.lang.Object handle)
method to perform a number of important initializations of a CollaborationDiagram. each diagram type has a similar UMLxxxDiagram class.

Overrides:
setNamespace in class UMLDiagram

getUmlActions

protected java.lang.Object[] getUmlActions()
Get the actions from which to create a toolbar or equivilent graphic triggers

Specified by:
getUmlActions in class UMLDiagram

postLoad

public void postLoad()
After loading the diagram it?s necessary to connect every FigMessage to its FigAssociationRole. This is done by adding the FigMessage to the PathItems of its FigAssociationRole


getNewDiagramName

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

Returns:
String


ArgoUML © 1996-2003 (20040229)ArgoUML Project HomeArgoUML Cookbook