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

Class DiagramInterface


public abstract class DiagramInterface

Instances of this class interface the current diagram.


 Association Summary
protected ArgoDiagram  currentDiagram
 
arrow_up
 

 Constructor Summary
protected   DiagramInterface()
Creates a new DiagramInterface 
arrow_up
 

 Method Summary
public void   addFigText(String s , int x , int y )
 
protected final void   addGeneric( ModelElement newElement , Fig newFig , boolean markAsModified )
 
public void   addGeneric( ModelElement newElement , Fig newFig , boolean markAsModified , int newX , int newY )
 
protected final void   addGeneric( ModelElement newElement , Fig newFig , boolean markAsModified , int newX , int newY , int newWidth , int newHeight )
Also marks the current diagram as modified. 
protected void   addGenericDiagram( ArgoDiagram d )
Adds a diagram to the current project. 
protected void   addGenericDiagram(String newName , ArgoDiagram d )
Adds a diagram to the current project, and renames the passed diagram to @newName. 
public void   cleanup()
Called to remove unneeded references - otherwise a memory leak! 
protected String   getDiagramName(Package p )
Create a diagram name for a package  
protected String   getDiagramNameSuffix()
 
public Collection   getModifiedDiagrams()
 
protected final Fig   getPresentationFor( ModelElement mme )
 
public boolean   isInDiagram( UmlPackage p )
Check if a given package has a representation in the current diagram. 
public void   markDiagramAsModified(Object diagram )
Get the list of modified diagrams. 
public void   resetModifiedDiagrams()
Reset the list of modified diagrams. 
protected boolean   selectGenericDiagram(String name )
 
public void   setScalingFactor(float f )
 
arrow_up
 

 

 Association Detail

currentDiagram

protected ArgoDiagram currentDiagram

 
arrow_up
 

 Constructor Detail

DiagramInterface

protected DiagramInterface DiagramInterface()

Creates a new DiagramInterface 
arrow_up
 

 Method Detail

addFigText

public void addFigText(String s , int x , int y )

 
arrow_up
 
 

addGeneric

protected final void addGeneric( ModelElement newElement , Fig newFig , boolean markAsModified )

 
arrow_up
 
 

addGeneric

public void addGeneric( ModelElement newElement , Fig newFig , boolean markAsModified , int newX , int newY )

 
arrow_up
 
 

addGeneric

protected final void addGeneric( ModelElement newElement , Fig newFig , boolean markAsModified , int newX , int newY , int newWidth , int newHeight )

Also marks the current diagram as modified. 
arrow_up
 
 

addGenericDiagram

protected void addGenericDiagram( ArgoDiagram d )

Adds a diagram to the current project.
Parameters:
d -
 
arrow_up
 
 

addGenericDiagram

protected void addGenericDiagram(String newName , ArgoDiagram d )

Adds a diagram to the current project, and renames the passed diagram to @newName. The renaming is for convenience only, you may also use @addGenericDiagram
Parameters:
newName -
d -
 
arrow_up
 
 

cleanup

public void cleanup()

Called to remove unneeded references - otherwise a memory leak! 
arrow_up
 
 

getDiagramName

protected String getDiagramName(Package p )

Create a diagram name for a package
Parameters:
p - The package.
Returns:
The name for the diagram.
 
arrow_up
 
 

getDiagramNameSuffix

protected String getDiagramNameSuffix()

 
arrow_up
 
 

getModifiedDiagrams

public Collection getModifiedDiagrams()

 
arrow_up
 
 

getPresentationFor

protected final Fig getPresentationFor( ModelElement mme )

 
arrow_up
 
 

isInDiagram

public boolean isInDiagram( UmlPackage p )

Check if a given package has a representation in the current diagram.
Parameters:
p - The package to lookup in the current diagram.
Returns:
true if this package has a figure in the current diagram, false otherwise.
 
arrow_up
 
 

markDiagramAsModified

public void markDiagramAsModified(Object diagram )

Get the list of modified diagrams. This list should rather not be modified.
Returns:
The list of modified UMLDiagrams.
 
arrow_up
 
 

resetModifiedDiagrams

public void resetModifiedDiagrams()

Reset the list of modified diagrams. 
arrow_up
 
 

selectGenericDiagram

protected boolean selectGenericDiagram(String name )

 
arrow_up
 
 

setScalingFactor

public void setScalingFactor(float f )

 
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.