|
|||||||||||
| 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.static_structure.ui.UMLClassDiagram
| Field Summary |
| Fields inherited from class org.tigris.gef.base.Diagram |
_comments, _name, _toolBar, NAME_KEY, SCALE_KEY |
| Constructor Summary | |
UMLClassDiagram()
Constructor. |
|
UMLClassDiagram(Object m)
The constructor. |
|
UMLClassDiagram(String name,
Object namespace)
Constructor. |
|
| Method Summary | |
protected Action |
getActionAggregation()
|
protected Action |
getActionAssociation()
|
protected Action |
getActionAssociationClass()
|
protected Action |
getActionAssociationEnd()
|
protected Action |
getActionClass()
|
protected Action |
getActionComposition()
|
protected Action |
getActionDependency()
|
protected Action |
getActionGeneralization()
|
protected Action |
getActionInterface()
|
protected Action |
getActionLink()
|
protected Action |
getActionModel()
|
protected Action |
getActionPackage()
|
protected Action |
getActionPermission()
|
protected Action |
getActionRealization()
|
protected Action |
getActionSubsystem()
|
protected Action |
getActionUniAggregation()
|
protected Action |
getActionUniAssociation()
|
protected Action |
getActionUniComposition()
|
protected Action |
getActionUsage()
|
String |
getLabelName()
|
protected String |
getNewDiagramName()
Creates a new diagramname. |
protected Object[] |
getUmlActions()
Get the actions from which to create a toolbar or equivilent graphic trigger. |
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, 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 UMLClassDiagram()
public UMLClassDiagram(String name,
Object namespace)
name - the name for the new diagramnamespace - the namespace for the new diagrampublic UMLClassDiagram(Object m)
m - the namespace| Method Detail |
public void setNamespace(Object ns)
UMLDiagram
setNamespace in class UMLDiagramns - the namespace for the diagramUMLDiagram.setNamespace(java.lang.Object)protected Object[] getUmlActions()
getUmlActions in class UMLDiagramUMLDiagram.getUmlActions()protected String getNewDiagramName()
public String getLabelName()
getLabelName in class UMLDiagramUMLDiagram.getLabelName()protected Action getActionAggregation()
protected Action getActionAssociation()
protected Action getActionAssociationEnd()
protected Action getActionClass()
protected Action getActionAssociationClass()
protected Action getActionComposition()
protected Action getActionDependency()
protected Action getActionGeneralization()
protected Action getActionInterface()
protected Action getActionLink()
protected Action getActionModel()
protected Action getActionPackage()
protected Action getActionPermission()
protected Action getActionRealization()
protected Action getActionSubsystem()
protected Action getActionUniAggregation()
protected Action getActionUniAssociation()
protected Action getActionUniComposition()
protected Action getActionUsage()
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 |