|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jac.ide.ModelElement
org.objectweb.jac.ide.Diagram
Constructor Summary | |
Diagram()
|
|
Diagram(String name)
|
Method Summary | |
void |
addFigure(Figure figure)
|
boolean |
contains(ModelElement element)
Tells if the diagram contains a figure that represents the given model element. |
Package |
getContainer()
Get the value of container. |
Set |
getFigures()
|
List |
getMissingRelations(Class cl)
Gets relations of a class with other classes on the diagram which are not on the diagram. |
void |
importClass(Class cl,
Point corner)
Create a new figure for an existing class |
void |
removeElement(ModelElement element)
Removes the figure of an element. |
void |
removeFigure(Figure figure)
|
void |
removeInheritanceLink(Class cl,
Class superClass)
Removes an inheritance link between two classes |
void |
setContainer(Package v)
Set the value of container. |
Methods inherited from class org.objectweb.jac.ide.ModelElement |
addConfigItem, addEndingLink, addLink, getConfigItems, getDescription, getEndingLinks, getFullName, getGenerationFullName, getGenerationName, getLinks, getName, getType, remove, removeEndingLink, removeLink, setDescription, setEndingLinks, setLinks, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Diagram()
public Diagram(String name)
Method Detail |
public Package getContainer()
public void setContainer(Package v)
v
- Value to assign to container.public Set getFigures()
public void addFigure(Figure figure)
public void removeFigure(Figure figure)
public void removeElement(ModelElement element)
element
- the element whose figure shall be removedpublic void removeInheritanceLink(Class cl, Class superClass)
cl
- the subclasssuperClass
- the superclasspublic boolean contains(ModelElement element)
public void importClass(Class cl, Point corner)
public List getMissingRelations(Class cl)
cl
- the class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |