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

Class ClassDiagramFacade

org.argouml.uml.DiagramFacade
    inheritorg.argouml.uml.diagram.static_structure.ConcreteDiagramFacade
        inheritorg.argouml.uml.diagram.static_structure.ClassDiagramFacade

public class ClassDiagramFacade


A facade to UML class diagrams that is used to add and modify class diagrams.


 Constructor Summary
public   ClassDiagramFacade(UmlProject umlProject, float scalingFactor, boolean performBasicLayout, ProgressDialog progressDialog, boolean addAllDependentEdgesAtImportEnd)
 
arrow_up
 

 Method Summary
public void   addClass(UmlClass theClass, int x, int y, boolean showPackage)
Adds a presentation for a class to the current diagram. 
public void   addClass(UmlClass theClass, int x, int y)
 
public void   addClass(UmlClass newClass)
Adds a representation for the class to the current diagram. 
public void   addInterface(Interface theInterface, int x, int y)
Adds a presentation for a interface to the current diagram See addClass for for information about the parameters  
public void   addInterface(Interface newInterface)
Add a interface to the current diagram. 
public void   addPackage(UmlPackage newPackage)
Add a package to the current diagram. 
protected Command   getCommandCreateDiagram(DiId newDiagramDiId, SmId namespaceSmId, String diagramName)
 
arrow_up
 

Tagged Values
static false
 

 Constructor Detail

ClassDiagramFacade

public ClassDiagramFacade ClassDiagramFacade(UmlProject umlProject, float scalingFactor, boolean performBasicLayout, ProgressDialog progressDialog, boolean addAllDependentEdgesAtImportEnd)

Parameters:
umlProject -
scalingFactor -
performBasicLayout -
progressDialog -
addAllDependentEdgesAtImportEnd -
Returns:
arrow_up
 Method Detail

addClass

public void addClass(UmlClass theClass, int x, int y, boolean showPackage)


Adds a presentation for a class to the current diagram. You may specify x and y coordinates, but you cannot specify width and height - they are automatically calculated from the number and lenght of the contained members. This method also allows you to specify wether the presentation should display the classes package.  
Parameters:
theClass - The class that will get a presentation in the diagram
x - The x-position for the class representation
y - The x-position for the class representation
showPackage - defines wether the class representation should display its package name
arrow_up


addClass

public void addClass(UmlClass theClass, int x, int y)

Parameters:
theClass -
x -
y -
arrow_up


addClass

public void addClass(UmlClass newClass)


Adds a representation for the class to the current diagram. No coordinates are supplied, you need to call XXX on the diagram to perform autolayouting  
Parameters:
newClass - The class for which we want a new presentation
arrow_up


addInterface

public void addInterface(Interface theInterface, int x, int y)


Adds a presentation for a interface to the current diagram See addClass for for information about the parameters  
Parameters:
theInterface -
x -
y -
arrow_up


addInterface

public void addInterface(Interface newInterface)


Add a interface to the current diagram.  
Parameters:
newInterface - The interface to add.
arrow_up


addPackage

public void addPackage(UmlPackage newPackage)


Add a package to the current diagram. If the package already has a representation in the current diagram, it is not(!) added.  
Parameters:
newPackage - The package to add.
arrow_up


getCommandCreateDiagram

protected Command getCommandCreateDiagram(DiId newDiagramDiId, SmId namespaceSmId, String diagramName)

Parameters:
newDiagramDiId -
namespaceSmId -
diagramName -
Returns:
arrow_up
Created  2004 - 10 - 21

    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 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

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