|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Diagram | +--org.argouml.ui.ArgoDiagram | +--org.argouml.uml.diagram.ui.UMLDiagram | +--org.argouml.uml.diagram.state.ui.UMLStateDiagram
The correct name for this class is "UMLStatechartDiagram". See issue 2306.
Field Summary | |
---|---|
protected static javax.swing.Action |
_actionBranchPseudoState
|
protected static javax.swing.Action |
_actionCompositeState
|
protected static javax.swing.Action |
_actionDeepHistoryPseudoState
|
protected static javax.swing.Action |
_actionFinalPseudoState
|
protected static javax.swing.Action |
_actionForkPseudoState
|
protected static javax.swing.Action |
_actionJoinPseudoState
|
protected static javax.swing.Action |
_actionShallowHistoryPseudoState
|
protected static javax.swing.Action |
_actionStartPseudoState
|
protected static javax.swing.Action |
_actionState
|
protected static javax.swing.Action |
_actionTransition
|
protected static int |
_StateDiagramSerial
|
private static Logger |
cat
logger |
(package private) java.lang.Object |
theStateMachine
this diagram needs to be deleted when its statemachine is deleted. |
Fields inherited from class org.argouml.uml.diagram.ui.UMLDiagram |
---|
_actionBroom, _actionCircle, _actionInk, _actionLine, _actionPoly, _actionRectangle, _actionRRectangle, _actionSelect, _actionSpline, _actionText, _diagramName, _namespace |
Fields inherited from class org.argouml.ui.ArgoDiagram |
---|
TheInstance |
Constructor Summary | |
---|---|
UMLStateDiagram()
this constructor is used to build a dummy statechart diagram so that a project will load properly. |
|
UMLStateDiagram(java.lang.Object namespace,
java.lang.Object sm)
|
Method Summary | |
---|---|
protected static java.lang.String |
getNewDiagramName()
|
java.lang.Object |
getOwner()
The owner of a statechart diagram is the statechart diagram it's showing. |
java.lang.Object |
getStateMachine()
|
protected java.lang.Object[] |
getUmlActions()
Get the actions from which to create a toolbar or equivilent graphic triggers. |
void |
initialize(java.lang.Object o)
Called by the PGML parser to initialize the statechart diagram. |
void |
removed(MElementEvent e)
This diagram listens to NSUML events from its Statemachine; When the Statemachine is removed, we also want to delete this diagram too. |
void |
setStateMachine(java.lang.Object sm)
|
void |
setup(java.lang.Object namespace,
java.lang.Object sm)
Method to perform a number of important initializations of a StateDiagram. |
Methods inherited from class org.argouml.uml.diagram.ui.UMLDiagram |
---|
deselectAllTools, deselectOtherTools, getActions, getClassAndModelID, getJToolBar, getNamespace, initToolBar, listRoleItemSet, propertySet, recovered, removeAsTarget, roleAdded, roleRemoved, setAsTarget, setName, setNamespace |
Methods inherited from class org.argouml.ui.ArgoDiagram |
---|
addChangeRegistryAsListener, damage, getContainingFig, getEdges, getItemUID, getNodes, getNodes, getVetoMessage, removeChangeRegistryAsListener, setItemUID, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static Logger cat
java.lang.Object theStateMachine
protected static javax.swing.Action _actionState
protected static javax.swing.Action _actionCompositeState
protected static javax.swing.Action _actionStartPseudoState
protected static javax.swing.Action _actionFinalPseudoState
protected static javax.swing.Action _actionBranchPseudoState
protected static javax.swing.Action _actionForkPseudoState
protected static javax.swing.Action _actionJoinPseudoState
protected static javax.swing.Action _actionShallowHistoryPseudoState
protected static javax.swing.Action _actionDeepHistoryPseudoState
protected static javax.swing.Action _actionTransition
protected static int _StateDiagramSerial
Constructor Detail |
public UMLStateDiagram()
public UMLStateDiagram(java.lang.Object namespace, java.lang.Object sm)
Method Detail |
public java.lang.Object getOwner()
getOwner
in class UMLDiagram
public void initialize(java.lang.Object o)
initialize
in class UMLDiagram
org.tigris.gef.base.Diagram#initialize(Object)
public void setup(java.lang.Object namespace, java.lang.Object sm)
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...
namespace
- MClass from the model in NSUML...connects the class to
the Statechart diagram.sm
- MStateMachine from the model in NSUML...public java.lang.Object getStateMachine()
public void setStateMachine(java.lang.Object sm)
sm
- protected java.lang.Object[] getUmlActions()
getUmlActions
in class UMLDiagram
protected static java.lang.String getNewDiagramName()
public void removed(MElementEvent e)
removed
in class UMLDiagram
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040306) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |