|
|||||||||||
| 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.sequence.ui.UMLSequenceDiagram
The diagram for sequence diagrams.
Totally rewritten for release 0.16.
| Field Summary |
| Fields inherited from class org.tigris.gef.base.Diagram |
_comments, _name, _toolBar, NAME_KEY, SCALE_KEY |
| Constructor Summary | |
UMLSequenceDiagram()
Constructs a new sequence diagram with a default name and NO namespace. |
|
UMLSequenceDiagram(Object collaboration)
The constructor. |
|
| Method Summary | |
void |
cleanUp()
Method called by Project.removeDiagram to clean up the mess in this diagram when the diagram is removed. |
String |
getLabelName()
|
Object |
getNamespace()
|
protected String |
getNewDiagramName()
Creates a new diagramname. |
Object |
getOwner()
Returns the owner of this diagram. |
protected Object[] |
getUmlActions()
Must return an array of actions via which the model can be manipulated. |
boolean |
isRelocationAllowed(Object base)
This function should return true if it is allowed to relocate this type of diagram to the given modelelement. |
boolean |
relocate(Object base)
Relocate this diagram, e.g. |
void |
setNamespace(Object ns)
Sets the namespace of the Diagram, and adds the diagram as a listener of its namespace in the UML model (so that it can delete itself when the model element is deleted). |
| Methods inherited from class org.argouml.uml.diagram.ui.UMLDiagram |
deselectAllTools, getActions, getClassAndModelID, getDependentElement, getJToolBar, getNextDiagramSerial, 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 UMLSequenceDiagram()
public UMLSequenceDiagram(Object collaboration)
collaboration - the collaboration| Method Detail |
public Object getOwner()
getOwner in class UMLDiagramUMLDiagram.getOwner()protected String getNewDiagramName()
public String getLabelName()
getLabelName in class UMLDiagramUMLDiagram.getLabelName()protected Object[] getUmlActions()
In case of the sequence diagram this method must return the following actions:
getUmlActions in class UMLDiagramUMLDiagram.getUmlActions()public Object getNamespace()
getNamespace in class UMLDiagramUMLDiagram.getNamespace()public void setNamespace(Object ns)
UMLDiagram
setNamespace in class UMLDiagramns - the namespace for the diagramUMLDiagram.setNamespace(java.lang.Object)public void cleanUp()
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 |