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.sequence

Class SequenceDiagramConnector


public class SequenceDiagramConnector

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


 Association Summary
public SequenceDiagramConnector  sequenceDiagramConnector
 
arrow_up
 

 Method Summary
public void   addActivationForObject( Object parentObject , int y , int height )
Adds an activation to the passed (UML-) object. 
public void   addLink( Link link , int ordinal , Object clientObject , Object supplierObject )
Adds a representation for a Link which exists between a clientObject and a supplierObject. 
public void   addObject( Object object , int x , int y )
Adds a representation for a (UML-) object to the current sequence diagram  
public void   createSequenceDiagram(String name , Namespace ns )
Creates a sequence diagram for a specific namespace into the project, giving it the name, and making it the current diagram in this connector  
public void   createSequenceDiagram( Namespace ns )
Adds a sequence diagram for a specific namespace into the project, giving it the name  
protected String   getDiagramNameSuffix()
returns the default suffix for sequence diagrams  
public static SequenceDiagramConnector   getInstance()
 
public boolean   selectSequenceDiagram(String name )
Selects a sequence diagram by name, so that it is the current diagram, and all subsequent add-operations are performed on this diagram. 
arrow_up
 

 

 Association Detail

sequenceDiagramConnector

public SequenceDiagramConnector sequenceDiagramConnector

 
arrow_up
 

 Method Detail

addActivationForObject

public void addActivationForObject( Object parentObject , int y , int height )

Adds an activation to the passed (UML-) object. Unfortunately, the parameters are unused at the moment, because the activation length are being automatically calculated
Parameters:
parentObject - The (UML-)Object which should get an activation
y - unused
height - unused
 
arrow_up
 
 

addLink

public void addLink( Link link , int ordinal , Object clientObject , Object supplierObject )

Adds a representation for a Link which exists between a clientObject and a supplierObject. The ordinal is a value that tells at which logical position (counting from the starting, upper end of the diagram) the link should be placed. If you first create a link which ordinal (position) 5, and then a link with ordinal 4, then the latter one is inserted before the other one. You cannot determine the exact graphical placement, though, this is automatically calculated by Poseidon
Parameters:
link - The link for which we want a presentation
ordinal - The logical position
clientObject - The client object
supplierObject - The supplier object
 
arrow_up
 
 

addObject

public void addObject( Object object , int x , int y )

Adds a representation for a (UML-) object to the current sequence diagram
Parameters:
object - The object for which a represenation should be created into the diagram
x - The x position
y - The y position
 
arrow_up
 
 

createSequenceDiagram

public void createSequenceDiagram(String name , Namespace ns )

Creates a sequence diagram for a specific namespace into the project, giving it the name, and making it the current diagram in this connector
Parameters:
name - The name for the diagram
ns - The namespace for which the diagram is created (for example this could be a classifier)
 
arrow_up
 
 

createSequenceDiagram

public void createSequenceDiagram( Namespace ns )

Adds a sequence diagram for a specific namespace into the project, giving it the name
Parameters:
ns - The namespace for which the diagram is created (for example this could be a classifier)
 
arrow_up
 
 

getDiagramNameSuffix

protected String getDiagramNameSuffix()

returns the default suffix for sequence diagrams
Returns:
 
arrow_up
 
 

getInstance

public static SequenceDiagramConnector getInstance()

 
arrow_up
 
 

selectSequenceDiagram

public boolean selectSequenceDiagram(String name )

Selects a sequence diagram by name, so that it is the current diagram, and all subsequent add-operations are performed on this diagram. If the diagram does not exists, this method return false, and the formerly selected diagrams remains the current diagram
Parameters:
name - The name of the diagram to be selected
Returns:
true, if the diagram could be found, or false if not
 
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.