Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

org.argouml.uml.diagram.state

Class StateDiagramConnector


public class StateDiagramConnector

A facade to UML state diagrams that is used to create and modify state diagrams.
See also:
org.argouml.uml.diagram.DiagramInterface


 Association Summary
public StateDiagramConnector  stateDiagramConnector
 
arrow_up
 

 Method Summary
public void   addStateVertex( StateVertex stateVertex , int x , int y , int width , int height , boolean enlargeContainerToFit )
Adds a statevertex figure to the current diagram. 
public void   createStateDiagram(String name , Classifier classifier , StateMachine stateMachine )
Creates a new UMLStateDiagram, and adds it to the current project. 
public void   createStateDiagram(String name , Classifier classifier , ActivityGraph activityGraph )
Creates a new UMLActivityDiagram and adds it to the current project  
protected String   getDiagramNameSuffix()
Returns the suffix used for this type of diagram  
public static StateDiagramConnector   getInstance()
 
arrow_up
 

 

 Association Detail

stateDiagramConnector

public StateDiagramConnector stateDiagramConnector

 
arrow_up
 

 Method Detail

addStateVertex

public void addStateVertex( StateVertex stateVertex , int x , int y , int width , int height , boolean enlargeContainerToFit )

Adds a statevertex figure to the current diagram. You need to provide a model element and the desired position. In case the passed stateVertex is inside a composite state vertex, it can be arranged that the container state is enlarged so that the new states fits into it.
Parameters:
stateVertex - The model element that gets a new presentation
x - x position
y - y position
width -
height -
enlargeContainerToFit - If set to true, then the containing composite state (if existant) will be enlarged so that the new state presentation will fit into it. This is not necessary if you know the exact coordinates of the parent. If you do not know them, this could help you preventing ugly, overlapping states
 
arrow_up
 
 

createStateDiagram

public void createStateDiagram(String name , Classifier classifier , StateMachine stateMachine )

Creates a new UMLStateDiagram, and adds it to the current project.
Parameters:
name - The name you want the new diagram to have
classifier - The classifier into which the the statemachine is to be put
stateMachine - The statemachine for which the diagram is to be created
 
arrow_up
 
 

createStateDiagram

public void createStateDiagram(String name , Classifier classifier , ActivityGraph activityGraph )

Creates a new UMLActivityDiagram and adds it to the current project
Parameters:
name - The name you want the new diagram to have
classifier - The classifier into which the the activityGraph is to be put
activityGraph - The activitygraph for which the diagram is to be created
 
arrow_up
 
 

getDiagramNameSuffix

protected String getDiagramNameSuffix()

Returns the suffix used for this type of diagram
Returns:
the suffix used for this type of diagrams
 
arrow_up
 
 

getInstance

public static StateDiagramConnector getInstance()

 
arrow_up
 

Created  2003 - 3 - 4

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2001 Gentleware AG, Vogt-Kölln-Str.30, 22527 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.