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

Class UseCaseDiagramConnector


public class UseCaseDiagramConnector

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


 Association Summary
public UseCaseDiagramConnector  useCaseDiagramConnector
 
arrow_up
 

 Method Summary
public void   addActor( Actor actor , int x , int y )
 
public void   addUseCase( UseCase newUseCase , int newX , int newY )
 
public void   createUseCaseDiagram( Namespace namespace , String name )
Creates a new UMLUseCaseDiagram, gives it the desired name, adds it to the current project, and makes it the current diagram  
protected String   getDiagramNameSuffix()
 
public static UseCaseDiagramConnector   getInstance()
 
public void   selectOrCreateUseCaseDiagram( UmlPackage pack , String name )
Adds an actor representation for the given actor object to the current diagram  
public boolean   selectUseCaseDiagram(String name )
Selects the usecasediagram specified by name and makes it the current diagram in this connector instance  
arrow_up
 

 

 Association Detail

useCaseDiagramConnector

public UseCaseDiagramConnector useCaseDiagramConnector

 
arrow_up
 

 Method Detail

addActor

public void addActor( Actor actor , int x , int y )

 
arrow_up
 
 

addUseCase

public void addUseCase( UseCase newUseCase , int newX , int newY )

 
arrow_up
 
 

createUseCaseDiagram

public void createUseCaseDiagram( Namespace namespace , String name )

Creates a new UMLUseCaseDiagram, gives it the desired name, adds it to the current project, and makes it the current diagram
Parameters:
namespace - The namespace for which the usecase diagram should be created
name - The name for the
 
arrow_up
 
 

getDiagramNameSuffix

protected String getDiagramNameSuffix()

Returns:
the default suffix for use case diagrams
 
arrow_up
 
 

getInstance

public static UseCaseDiagramConnector getInstance()

 
arrow_up
 
 

selectOrCreateUseCaseDiagram

public void selectOrCreateUseCaseDiagram( UmlPackage pack , String name )

Adds an actor representation for the given actor object to the current diagram
Parameters:
actor -
x -
y -
 
arrow_up
 
 

selectUseCaseDiagram

public boolean selectUseCaseDiagram(String name )

Selects the usecasediagram specified by name and makes it the current diagram in this connector instance
Parameters:
name -
Returns:
true, if the usecasediagram could be found and selected, false otherwise
 
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.