|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tigris.gef.base.Diagram
org.argouml.ui.ArgoDiagram
org.argouml.uml.diagram.ui.UMLDiagram
org.argouml.uml.diagram.collaboration.ui.UMLCollaborationDiagram
The base class of the collaboration diagram.
Defines the toolbar, provides for its initialization and provides constructors for a top level diagram and one within a defined namespace.
Field Summary | |
private Action |
actionAggregation
|
private Action |
actionAssociation
|
private Action |
actionClassifierRole
|
private Action |
actionComposition
|
private Action |
actionDepend
|
private Action |
actionGeneralize
|
private Action |
actionMessage
|
private Action |
actionUniAggregation
|
private Action |
actionUniAssociation
|
private Action |
actionUniComposition
|
private Object |
collaboration
|
private static Logger |
LOG
Logging. |
Fields inherited from class org.argouml.uml.diagram.ui.UMLDiagram |
|
Fields inherited from class org.argouml.ui.ArgoDiagram |
|
Fields inherited from class org.tigris.gef.base.Diagram |
_comments, _name, _toolBar, NAME_KEY, SCALE_KEY |
Constructor Summary | |
UMLCollaborationDiagram()
This constructor is used to build a dummy collaboration diagram so that a project will load properly. |
|
UMLCollaborationDiagram(Object namespace)
The constructor. |
|
UMLCollaborationDiagram(Object namespace,
Object collab)
The constructor. |
Method Summary | |
private Action |
getActionAggregation()
|
protected Action |
getActionAssociation()
|
private Action |
getActionClassifierRole()
|
protected Action |
getActionComposition()
|
protected Action |
getActionDepend()
|
protected Action |
getActionGeneralize()
|
private Action |
getActionMessage()
|
protected Action |
getActionUniAggregation()
|
protected Action |
getActionUniAssociation()
|
protected Action |
getActionUniComposition()
|
private Object[] |
getAssociationActions()
|
String |
getLabelName()
|
protected String |
getNewDiagramName()
Creates a new diagramname. |
int |
getNumMessages()
|
Object |
getOwner()
The owner of a collaboration diagram is the collaboration it's showing. |
protected Object[] |
getUmlActions()
Get the actions from which to create a toolbar or equivalent graphic triggers. |
void |
initialize(Object owner)
Called by the PGML parser to initialize the diagram. |
void |
postLoad()
After loading the diagram it is necessary to connect every FigMessage to its FigAssociationRole. |
void |
setNamespace(Object handle)
Method to perform a number of important initializations of a CollaborationDiagram. |
Methods inherited from class org.argouml.uml.diagram.ui.UMLDiagram |
deselectAllTools, deselectOtherTools, getActions, getClassAndModelID, getJToolBar, getNamespace, getNextDiagramSerial, initToolBar, makeCreateAssociationAction, makeCreateEdgeAction, makeCreateNodeAction, needsToBeRemoved, propertyChange, removeAsTarget, resetDiagramSerial, setAsTarget |
Methods inherited from class org.argouml.ui.ArgoDiagram |
damage, getContainingFig, getEdges, getItemUID, getNodes, getVetoMessage, setItemUID, setName, toString |
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, postSave, preSave, presentationFor, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, reorder, sendBackward, sendToBack, setComments, setGraphModel, setLayer, setScale, setShowSingleMultiplicity, setToolBar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private Object collaboration
private static final Logger LOG
private Action actionClassifierRole
private Action actionGeneralize
private Action actionAssociation
private Action actionAggregation
private Action actionComposition
private Action actionUniAssociation
private Action actionUniAggregation
private Action actionUniComposition
private Action actionDepend
private Action actionMessage
Constructor Detail |
public UMLCollaborationDiagram()
public UMLCollaborationDiagram(Object namespace)
namespace
- the namespace for the diagrampublic UMLCollaborationDiagram(Object namespace, Object collab)
namespace
- the namespace for the diagramcollab
- the collaboration of this diagramMethod Detail |
public Object getOwner()
getOwner
in class UMLDiagram
UMLDiagram.getOwner()
public int getNumMessages()
public void setNamespace(Object handle)
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...
setNamespace
in class UMLDiagram
handle
- MNamespace from the model in NSUML...public void initialize(Object owner)
initialize
in class UMLDiagram
Diagram.initialize(Object)
protected Object[] getUmlActions()
getUmlActions
in class UMLDiagram
UMLDiagram.getUmlActions()
private Object[] getAssociationActions()
public void postLoad()
protected String getNewDiagramName()
public String getLabelName()
getLabelName
in class UMLDiagram
UMLDiagram.getLabelName()
private Action getActionClassifierRole()
protected Action getActionAssociation()
protected Action getActionComposition()
protected Action getActionDepend()
protected Action getActionGeneralize()
protected Action getActionUniAggregation()
protected Action getActionUniAssociation()
protected Action getActionUniComposition()
private Action getActionAggregation()
private Action getActionMessage()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |