|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.argouml.uml.reveng.DiagramInterface
public class DiagramInterface
Instances of this class interface the current Class diagram.
This class is used by the import mechanism to create packages, interfaces and classes within the diagrams. It is also used to find the correct diagram to work in.
| Constructor Summary | |
|---|---|
DiagramInterface(org.tigris.gef.base.Editor editor)
Creates a new DiagramInterface. |
|
| Method Summary | |
|---|---|
void |
addClass(java.lang.Object newClass,
boolean minimise)
Add a class to the current diagram. |
void |
addClassDiagram(java.lang.Object ns,
java.lang.String name)
Add a new class diagram for a package to the project. |
void |
addInterface(java.lang.Object newInterface,
boolean minimise)
Add a interface to the current diagram. |
void |
addPackage(java.lang.Object newPackage)
Add a package to the current diagram. |
void |
createRootClassDiagram()
Creates class diagram under the root. |
java.util.List<org.argouml.uml.diagram.ArgoDiagram> |
getModifiedDiagramList()
Get the list of modified diagrams. |
java.util.Vector<org.argouml.uml.diagram.ArgoDiagram> |
getModifiedDiagrams()
Deprecated. for 0.25.4 by tfmorris. Use getModifiedDiagramList(). |
boolean |
isDiagramInProject(java.lang.String name)
Check if this diagram already exists in the project. |
boolean |
isInDiagram(java.lang.Object p)
Check if a given package has a representation in the current diagram. |
void |
selectClassDiagram(java.lang.Object p,
java.lang.String name)
Select a class diagram as the current diagram, creating it if necessary. |
void |
setCurrentDiagram(org.argouml.uml.diagram.ArgoDiagram diagram)
selects a diagram without affecting the gui. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiagramInterface(org.tigris.gef.base.Editor editor)
editor - The editor to operate on.| Method Detail |
|---|
@Deprecated public java.util.Vector<org.argouml.uml.diagram.ArgoDiagram> getModifiedDiagrams()
getModifiedDiagramList().
public java.util.List<org.argouml.uml.diagram.ArgoDiagram> getModifiedDiagramList()
public void addPackage(java.lang.Object newPackage)
newPackage - The package to add.public boolean isInDiagram(java.lang.Object p)
p - The package to lookup in the current diagram.
public boolean isDiagramInProject(java.lang.String name)
name - package name (converted to class name)
public void selectClassDiagram(java.lang.Object p,
java.lang.String name)
p - The package.name - The fully qualified name of this package.
public void addClassDiagram(java.lang.Object ns,
java.lang.String name)
ns - The namespace to contain the diagram. If null, the root model
will be used.name - The fully qualified name of the package, which is used to
generate the diagram name from.
public void addClass(java.lang.Object newClass,
boolean minimise)
newClass - The new class to add to the editor.minimise - minimise the class fig by hiding compartiments
(of attributes and operations)
public void addInterface(java.lang.Object newInterface,
boolean minimise)
newInterface - The interface to add.minimise - minimise the class fig by hiding compartiments
(of attributes and operations)public void createRootClassDiagram()
public void setCurrentDiagram(org.argouml.uml.diagram.ArgoDiagram diagram)
diagram - the diagram
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Cookbook |