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, _name, _toolBar, NAME_KEY, SCALE_KEY |
Method Summary |
private java.lang.Object[] |
getAssociationActions()
Return an array of association actions in the
pattern of which to build a popup toolbutton |
protected static java.lang.String |
getNewDiagramName()
Creates a new diagramname. |
private java.lang.Object[] |
getPackageActions()
|
protected java.lang.Object[] |
getUmlActions()
Get the actions from which to create a toolbar or equivilent
graphic trigger |
void |
setNamespace(java.lang.Object handle)
sets the namespace of the Diagram, and
adds the diagram as a listener of its namspace in the UML model. |
Methods inherited from class org.argouml.uml.diagram.ui.UMLDiagram |
deselectAllTools, deselectOtherTools, getActions, getClassAndModelID, getJToolBar, getNamespace, getOwner, initialize, initToolBar, listRoleItemSet, propertySet, recovered, removeAsTarget, removed, roleAdded, roleRemoved, setAsTarget, setName |
Methods inherited from class org.argouml.ui.ArgoDiagram |
addChangeRegistryAsListener, damage, getContainingFig, getEdges, getItemUID, getNodes, getNodes, getVetoMessage, removeChangeRegistryAsListener, setItemUID, 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, postLoad, 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 |
_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
_actionModel
protected static javax.swing.Action _actionModel
_actionSubsystem
protected static javax.swing.Action _actionSubsystem
_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)
setNamespace
public void setNamespace(java.lang.Object handle)
- 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
getUmlActions
protected java.lang.Object[] getUmlActions()
- Get the actions from which to create a toolbar or equivilent
graphic trigger
- Specified by:
getUmlActions
in class UMLDiagram
getPackageActions
private java.lang.Object[] getPackageActions()
getAssociationActions
private java.lang.Object[] getAssociationActions()
- Return an array of association actions in the
pattern of which to build a popup toolbutton
getNewDiagramName
protected static java.lang.String getNewDiagramName()
- Creates a new diagramname.
- Returns:
- String