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 ConcreteDiagramFacade

org.argouml.uml.DiagramFacade
    inheritorg.argouml.uml.diagram.static_structure.ConcreteDiagramFacade
All known Subclassifier:
ActivityDiagramFacade , ClassDiagramFacade , SequenceDiagramFacade , StateDiagramFacade , UsecaseDiagramFacade


public abstract class ConcreteDiagramFacade


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


 Attribute Summary
private boolean  _addAllDependentEdgesAtImportEnd
 
private Set  _allCreatedDiagrams
 
private DiId  _currentDiagramDiId
 
private Map  _diagramDiId_to_graphnodeToRectangle
 
protected Map  _diagramNameToDiId
 
private boolean  _performBasicLayout
 
private Random  _random
 
private float  _scalingFactor
 
private Map  _smIdToDiId
 
private int  percent
 
arrow_up
 

 Association Summary
private ProgressDialog  _progressDialog
 
arrow_up
 

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

 Method Summary
private void   addAllDependentEdges()
 
public void   addGeneric(RefObject modelElement, int x, int y, boolean showPackage)
 
public void   addGeneric(RefObject modelElement, int x, int y, int width, int height, boolean showPackage)
 
public void   addModelElement(RefObject element)
 
public void   atImportEnd()
 
public void   cleanup()
 
public final void   createDiagram(RefObject owner, String diagramName)
Creates a new diagram for a namespace, adds it to the project, and makes it the current diagram. 
public void   createDiagram(RefObject owner, DiId newDiagramDiId, String diagramName)
 
private DiagramElementImpl   findInnermostGraphnode(List allEligableDragTargets)
 
protected Command   getCommandCreateDiagram(DiId newDiagramDiId, SmId ownerSmId, String diagramName)
 
public Collection   getModifiedDiagrams()
 
private void   makeBasicLayout()
 
public void   resetModifiedDiagrams()
 
public boolean   selectDiagram(String diagramName)
Selects a class diagram by diagramName and makes it the current diagram, and returns true if the diagram could be selected, or false if no such diagram could be found  
private void   updateGeneric(RefObject element)
Dipulizes an element, and if it's a Class or Interface, also diPulizes its features  
arrow_up
 

Tagged Values
static false
 

 Attribute Detail

_addAllDependentEdgesAtImportEnd

private boolean _addAllDependentEdgesAtImportEnd

arrow_up


_allCreatedDiagrams

private Set _allCreatedDiagrams

arrow_up


_currentDiagramDiId

private DiId _currentDiagramDiId

arrow_up


_diagramDiId_to_graphnodeToRectangle

private Map _diagramDiId_to_graphnodeToRectangle

arrow_up


_diagramNameToDiId

protected Map _diagramNameToDiId

arrow_up


_performBasicLayout

private boolean _performBasicLayout

arrow_up


_random

private Random _random

arrow_up


_scalingFactor

private float _scalingFactor

arrow_up


_smIdToDiId

private Map _smIdToDiId

arrow_up


percent

private int percent

arrow_up
 Association Detail

_progressDialog

private ProgressDialog _progressDialog

arrow_up
 Constructor Detail

ConcreteDiagramFacade

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

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

addAllDependentEdges

private void addAllDependentEdges()

arrow_up


addGeneric

public void addGeneric(RefObject modelElement, int x, int y, boolean showPackage)

Parameters:
modelElement -
x -
y -
showPackage -
arrow_up


addGeneric

public void addGeneric(RefObject modelElement, int x, int y, int width, int height, boolean showPackage)

Parameters:
modelElement -
x -
y -
width -
height -
showPackage -
arrow_up


addModelElement

public void addModelElement(RefObject element)

Parameters:
element -
arrow_up


atImportEnd

public void atImportEnd()

arrow_up


cleanup

public void cleanup()

arrow_up


createDiagram

public final void createDiagram(RefObject owner, String diagramName)


Creates a new diagram for a namespace, adds it to the project, and makes it the current diagram.  
Parameters:
owner - The package to attach the diagram to.
diagramName - The diagramName of the diagram
arrow_up


createDiagram

public void createDiagram(RefObject owner, DiId newDiagramDiId, String diagramName)

Parameters:
owner -
newDiagramDiId -
diagramName -
arrow_up


findInnermostGraphnode

private DiagramElementImpl findInnermostGraphnode(List allEligableDragTargets)

Parameters:
allEligableDragTargets -
Returns:
arrow_up


getCommandCreateDiagram

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

Parameters:
newDiagramDiId -
ownerSmId -
diagramName -
Returns:
arrow_up


getModifiedDiagrams

public Collection getModifiedDiagrams()

Returns:
arrow_up


makeBasicLayout

private void makeBasicLayout()

arrow_up


resetModifiedDiagrams

public void resetModifiedDiagrams()

arrow_up


selectDiagram

public boolean selectDiagram(String diagramName)


Selects a class diagram by diagramName and makes it the current diagram, and returns true if the diagram could be selected, or false if no such diagram could be found  
Parameters:
diagramName - The diagramName of the diagram we want to select
Returns:
true, if the diagram could be selected, false if not
arrow_up


updateGeneric

private void updateGeneric(RefObject element)


Dipulizes an element, and if it's a Class or Interface, also diPulizes its features  
Parameters:
element -
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.