|
|||||||||||
| 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.ASGDiagram
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 | |
static java.lang.String |
ELEMENTS_PROPERTY_KEY
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
PROJECT_PROPERTY
property change event name for property attribute |
| Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement |
dontUseAccessMethodsInThisClass |
| Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FDiagram |
ELEMENTS_PROPERTY |
| 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 | |
|
ASGDiagram()
Constructor for class ASGDiagram |
protected |
ASGDiagram(boolean coobraPersistent)
Constructor for class ASGDiagram |
| Method Summary | |
boolean |
addToElements(FElement element)
add an ASGEelement to the elements attribute |
void |
addToElements(java.util.Map.Entry entry)
Access method for an one to n association. |
boolean |
addToUsages(DiagramUsage value)
Accessor for association usages (for package diagrams) |
void |
delete()
Deletes the diagram from the project. |
ASGProject |
getCurrentProject()
|
protected java.lang.String |
getElementKey()
Deprecated. the virtual items attribute will be removed - use elements instead |
FElement |
getParentElement()
Query the logical parent of this element (e.g. package of a class, diagram of an object). |
ASGProject |
getProject()
Get the project attribute of the UMLDiagram object |
ASGUtility |
getUtility()
Get the utility attribute of the ASGDiagram object |
boolean |
hasInElements(FElement element)
|
boolean |
hasInUsages(DiagramUsage value)
Accessor for association usages (for package diagrams) |
java.util.Iterator |
iteratorOfElements()
|
java.util.Iterator |
iteratorOfUsages()
Accessor for association usages (for package diagrams) |
void |
removeAllFromElements()
clear elements attribute |
void |
removeAllFromUsages()
Accessor for association usages (for package diagrams) |
boolean |
removeFromElements(FElement element)
remove an ASGElement from the elements attribute |
boolean |
removeFromUsages(DiagramUsage value)
Accessor for association usages (for package diagrams) |
void |
removeYou()
remove all references to other objects |
ASGElement |
searchID(java.lang.String id)
Searches the ASG tree for a given id |
boolean |
setCurrentProject(ASGProject value)
|
void |
setProject(ASGProject project)
Sets the project attribute of the UMLDiagram object |
boolean |
setUtility(ASGUtility value)
Sets the utility attribute of the ASGDiagram object |
int |
sizeOfElements()
|
int |
sizeOfUsages()
Accessor for association usages (for package diagrams) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Methods inherited from interface de.uni_paderborn.fujaba.basic.UniqueIdentifier |
getID |
| Methods inherited from interface de.uni_paderborn.fujaba.fsa.unparse.LogicUnparseInterface |
getFSAInterface, getUnparseModuleName |
| Methods inherited from interface de.upb.tools.pcs.PropertyChangeInterface |
getPropertyChangeSupport |
| Methods inherited from interface de.upb.tools.pcs.PropertyChangeClient |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface de.tu_bs.coobra.ObjectChangeAware |
acknowledgeChange, getCoObRAId, getRepository, setCoObRAId, setRepository |
| Methods inherited from interface de.uni_kassel.prop.InspectionAware |
isInspectableField, proposeFieldValues |
| Field Detail |
public static final java.lang.String PROJECT_PROPERTY
public static final java.lang.String ELEMENTS_PROPERTY_KEY
| Constructor Detail |
public ASGDiagram()
protected ASGDiagram(boolean coobraPersistent)
coobraPersistent - No description provided| Method Detail |
public ASGElement searchID(java.lang.String id)
searchID in class ASGElementid - The id to search for.
public int sizeOfElements()
sizeOfElements in interface FDiagrampublic boolean hasInElements(FElement element)
hasInElements in interface FDiagramelement - ASGElement of interest
public java.util.Iterator iteratorOfElements()
iteratorOfElements in interface FDiagrampublic boolean addToElements(FElement element)
addToElements in interface FDiagramelement - ASGElement to be added
public void addToElements(java.util.Map.Entry entry)
FDiagram
addToElements in interface FDiagramentry - The object added.public boolean removeFromElements(FElement element)
removeFromElements in interface FDiagramelement - what to remove
public void removeAllFromElements()
removeAllFromElements in interface FDiagrampublic ASGProject getProject()
public void setProject(ASGProject project)
project - The new project valuepublic boolean setCurrentProject(ASGProject value)
value - The new currentProject value
#currentProjectpublic ASGProject getCurrentProject()
#currentProjectpublic void removeYou()
removeYou in interface FElementremoveYou in class ASGElementpublic FElement getParentElement()
getParentElement in interface FElementgetParentElement in class ASGElementprotected java.lang.String getElementKey()
public boolean setUtility(ASGUtility value)
value - The new utility value
public boolean hasInUsages(DiagramUsage value)
value -
public java.util.Iterator iteratorOfUsages()
public int sizeOfUsages()
public boolean addToUsages(DiagramUsage value)
value - The object added.
public boolean removeFromUsages(DiagramUsage value)
value -
public void removeAllFromUsages()
public ASGUtility getUtility()
public void delete()
DeleteDiagramAction
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||