org.argouml.uml.diagram.static_structure.ui
Class UMLClassDiagram
java.lang.Object
|
+--org.tigris.gef.base.Diagram
|
+--org.argouml.ui.ArgoDiagram
|
+--org.argouml.uml.diagram.ui.UMLDiagram
|
+--org.argouml.uml.diagram.static_structure.ui.UMLClassDiagram
- All Implemented Interfaces:
- java.util.EventListener, org.tigris.gef.graph.GraphListener, ru.novosoft.uml.MElementListener, java.io.Serializable
- public class UMLClassDiagram
- extends UMLDiagram
- See Also:
- Serialized Form
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.tigris.gef.base.Diagram |
_comments, _lay, _name, _toolBar, vetoListeners |
Method Summary |
protected static java.lang.String |
getNewDiagramName()
Creates a new diagramname. |
protected void |
initToolBar(javax.swing.JToolBar toolBar)
Initialize the toolbar with buttons required for a use case diagram. |
void |
setNamespace(ru.novosoft.uml.foundation.core.MNamespace m)
sets the namespace of the Diagram, and
adds the diagram as a listener of its namspace 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 |
getClassAndModelID, getNamespace, getOwner, getToolBar, initialize, initToolBar, listRoleItemSet, propertySet, recovered, removed, roleAdded, roleRemoved, setName |
Methods inherited from class org.tigris.gef.base.Diagram |
add, addVetoableChangeListener, bringForward, bringToFront, countContained, edgeAdded, edgeRemoved, elements, elementsIn, fireVetoableChange, fireVetoableChange, fireVetoableChange, getComments, getGraphController, getGraphModel, getLayer, getName, graphChanged, hit, nodeAdded, nodeRemoved, postLoad, postSave, preSave, presentationFor, remove, removeAll, removeVetoableChangeListener, reorder, sendBackward, sendToBack, setComments, setGraphModel, setLayer, setToolBar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_actionClass
protected static javax.swing.Action _actionClass
_actionObject
protected static javax.swing.Action _actionObject
_actionInterface
protected static javax.swing.Action _actionInterface
_actionDepend
protected static javax.swing.Action _actionDepend
_actionPermission
protected static javax.swing.Action _actionPermission
_actionUsage
protected static javax.swing.Action _actionUsage
_actionLink
protected static javax.swing.Action _actionLink
_actionGeneralize
protected static javax.swing.Action _actionGeneralize
_actionRealize
protected static javax.swing.Action _actionRealize
_actionPackage
protected static javax.swing.Action _actionPackage
_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
_ClassDiagramSerial
protected static int _ClassDiagramSerial
UMLClassDiagram
public UMLClassDiagram()
UMLClassDiagram
public UMLClassDiagram(java.lang.String name,
java.lang.Object m)
UMLClassDiagram
public UMLClassDiagram(java.lang.Object m)
getNewDiagramName
protected static java.lang.String getNewDiagramName()
- Creates a new diagramname.
- Returns:
- String
setNamespace
public void setNamespace(ru.novosoft.uml.foundation.core.MNamespace m)
- Description copied from class:
UMLDiagram
- sets the namespace of the Diagram, and
adds the diagram as a listener of its namspace in the UML model.
(so that it can delete itself when the model element is deleted).
- Overrides:
setNamespace
in class UMLDiagram
initToolBar
protected void initToolBar(javax.swing.JToolBar toolBar)
Initialize the toolbar with buttons required for a use case diagram.
- Overrides:
initToolBar
in class UMLDiagram
- Parameters:
toolBar
- The toolbar to which to add the buttons.