|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uni_paderborn.fujaba.basic.BasicIncrement
de.uni_paderborn.fujaba.asg.ASGElement
de.uni_paderborn.fujaba.asg.ASGProject
A project stores a lot of different diagrams.
0..1 n
ASGProject --------------------------------- ASGDiagram
project diags
0..1 hasCurrentDiagram 0..1
ASGProject --------------------------------- ASGDiagram
currentProject currentDiagram
| Nested Class Summary |
| Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement |
ASGElement.SortByNameComparator |
| Field Summary | |
private ASGDiagram |
currentDiagram
0..1 hasCurrentDiagram 0..1 ASGDiagram --------------------------------- UMLProject currentDiagram umlProject |
private java.util.Set |
diags
internal used collection to store all diagrams of this project. |
static java.lang.String |
DIAGS_PROPERTY
the key to indicate changes in the diags role of the project. |
| Fields inherited from class de.uni_paderborn.fujaba.asg.ASGElement |
|
| Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement |
dontUseAccessMethodsInThisClass |
| Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FElement |
ANNOTATIONS_PROPERTY, DIAGRAMS_PROPERTY, ELEMENT_REFERENCES_PROPERTY, GENERATED_PROPERTY, NAME_PROPERTY, TEXT_PROPERTY |
| Constructor Summary | |
ASGProject()
|
|
| Method Summary | |
boolean |
addToDiags(FDiagram diagram)
Adds a diagram to the project. |
ASGDiagram |
getCurrentDiagram()
|
FElement |
getParentElement()
Query the logical parent of this element (e.g. package of a class, diagram of an object). |
boolean |
hasInDiags(ASGDiagram diagram)
returns true if the given diagram is found in the set of diagrams of this project. |
java.util.Iterator |
iteratorOfDiags()
returns an iterator over all diags of this project. |
void |
removeAllFromDiags()
removes all diagrams of the project. |
void |
removeFromDiags(ASGDiagram diagram)
remove the given diagram from the project. |
void |
removeYou()
method to help the garbage collector. |
ASGElement |
searchID(java.lang.String id)
returns the ASGElement specified by the given search key. |
boolean |
setCurrentDiagram(ASGDiagram value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FElement |
isGenerated |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Methods inherited from interface de.uni_paderborn.fujaba.basic.UniqueIdentifier |
getID |
| Field Detail |
public static final java.lang.String DIAGS_PROPERTY
private java.util.Set diags
0..1 n
ASGProject --------------------------------- ASGDiagram
project diags
private transient ASGDiagram currentDiagram
0..1 hasCurrentDiagram 0..1
ASGDiagram --------------------------------- UMLProject
currentDiagram umlProject
| Constructor Detail |
public ASGProject()
| Method Detail |
public ASGElement searchID(java.lang.String id)
searchID in class ASGElementid - the search key
public boolean hasInDiags(ASGDiagram diagram)
diagram - the given diagram
public java.util.Iterator iteratorOfDiags()
public boolean addToDiags(FDiagram diagram)
diagram - the diagram
public void removeFromDiags(ASGDiagram diagram)
diagram - the diagrampublic void removeAllFromDiags()
public boolean setCurrentDiagram(ASGDiagram value)
value - The new currentDiagram value
public ASGDiagram getCurrentDiagram()
public void removeYou()
removeYou in interface de.tu_bs.coobra.ObjectChangeAwareremoveYou in class ASGElementpublic FElement getParentElement()
getParentElement in interface FElementgetParentElement in class ASGElement
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||