|
|||||||||||
| 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 |
| 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 collaboration)
The constructor. |
|
| Method Summary | |
protected Action |
getActionAssociation()
|
protected Action |
getActionComposition()
|
protected Action |
getActionDepend()
|
protected Action |
getActionGeneralize()
|
protected Action |
getActionUniAggregation()
|
protected Action |
getActionUniAssociation()
|
protected Action |
getActionUniComposition()
|
Object |
getDependentElement()
This method shall return any UML modelelements that should be deleted when the diagram gets deleted, or null if there are none. |
String |
getLabelName()
|
protected String |
getNewDiagramName()
Creates a new diagramname. |
int |
getNumMessages()
|
protected Object[] |
getUmlActions()
Get the actions from which to create a toolbar or equivalent graphic triggers. |
boolean |
isRelocationAllowed(Object base)
This function should return true if it is allowed to relocate this type of diagram to the given modelelement. |
void |
postLoad()
After loading the diagram it is necessary to connect every FigMessage to its FigAssociationRole. |
boolean |
relocate(Object base)
Relocate this diagram, e.g. |
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, getActions, getClassAndModelID, getJToolBar, getNamespace, getNextDiagramSerial, getOwner, getSelectedAction, initialize, initToolBar, makeCreateAssociationAction, makeCreateAssociationClassAction, makeCreateAssociationEndAction, makeCreateEdgeAction, makeCreateNodeAction, manageDefault, propertyChange, resetDiagramSerial, setSelectedAction |
| Methods inherited from class org.argouml.ui.ArgoDiagram |
damage, getContainingFig, getEdges, getItemUID, getNodes, getVetoMessage, presentationsFor, remove, repair, setItemUID, setName, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UMLCollaborationDiagram()
public UMLCollaborationDiagram(Object collaboration)
collaboration - the collaboration aka namespace for the diagram| Method Detail |
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 UMLDiagramhandle - the collaboration from the UML modelprotected Object[] getUmlActions()
getUmlActions in class UMLDiagramUMLDiagram.getUmlActions()public void postLoad()
protected String getNewDiagramName()
public String getLabelName()
getLabelName in class UMLDiagramUMLDiagram.getLabelName()protected Action getActionAssociation()
protected Action getActionComposition()
protected Action getActionDepend()
protected Action getActionGeneralize()
protected Action getActionUniAggregation()
protected Action getActionUniAssociation()
protected Action getActionUniComposition()
public Object getDependentElement()
UMLDiagram
getDependentElement in class UMLDiagramUMLDiagram.getDependentElement()public boolean isRelocationAllowed(Object base)
Relocatable
isRelocationAllowed in interface RelocatableisRelocationAllowed in class UMLDiagramUMLDiagram.isRelocationAllowed(java.lang.Object)public boolean relocate(Object base)
RelocatablePrecondition: isRelocationAllowed(base) is true.
relocate in interface Relocatablerelocate in class UMLDiagramUMLDiagram.relocate(java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |