|
|||||||||||
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.views.ViewDefinition
A ViewDefinition consists of a Filter and all the information needed to use that filter like source diagram, context, start items.
A number of ViewDefinitions defines a ViewDiagram.
N 0..1 ViewDefinition ----------------------------- Filter viewDefinitions filter N ViewDefinition ----------------------> UMLDiagramItem startItems N 0..1 ViewDefinition ----------------------------- ViewDiagram ViewDefinitions diagram
Field Summary | |
private int |
context
No comment provided by developer, please add a comment to improve documentation. |
private ViewDiagram |
diagram
N 0..1 ViewDefinition ----------------------------- ViewDiagram ViewDefinitions diagram |
private boolean |
evaluating
No comment provided by developer, please add a comment to improve documentation. |
private Filter |
filter
N 0..1 ViewDefinition ----------------------------- Filter viewDefinitions filter |
private de.upb.tools.fca.FHashSet |
items
N N ViewDefinition ----------------------------- UMLDiagramItem revItems items |
private static org.apache.log4j.Logger |
log
log4j logging |
private java.lang.String |
name
No comment provided by developer, please add a comment to improve documentation. |
private de.upb.tools.fca.FHashSet |
startItems
N N ViewDefinition ----------------------------- UMLDiagramItem viewDefinitions startItems |
private boolean |
update
No comment provided by developer, please add a comment to improve documentation. |
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement |
dontUseAccessMethodsInThisClass |
Constructor Summary | |
ViewDefinition()
|
Method Summary | |
boolean |
addToItems(UMLDiagramItem value)
Access method for an one to n association. |
boolean |
addToItems(UMLDiagramItem value,
UMLDiagram diag)
This is needed for parsing XML-files |
boolean |
addToStartItems(UMLDiagramItem value)
Access method for an one to n association. |
protected java.util.Set |
evaluate()
No comment provided by developer, please add a comment to improve documentation. |
int |
getContext()
get the context for the view |
private java.util.Set |
getContextItems()
|
ViewDiagram |
getDiagram()
Get the diagram attribute of the ViewDefinition object |
Filter |
getFilter()
Get the filter attribute of the ViewDefinition object |
protected java.util.Set |
getItems()
Get the items attribute of the ViewDefinition object |
java.lang.String |
getName()
Get the name attribute of the ViewDefinition object |
boolean |
hasInItems(UMLDiagramItem value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInStartItems(UMLDiagramItem value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
isUpdate()
|
java.util.Iterator |
iteratorOfItems()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfStartItems()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromItems()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromStartItems()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromItems(UMLDiagramItem value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromStartItems(UMLDiagramItem value)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeYou()
No comment provided by developer, please add a comment to improve documentation. |
void |
setContext(int context)
define the context for the view |
boolean |
setDiagram(ViewDiagram value)
Sets the diagram attribute of the ViewDefinition object |
boolean |
setFilter(Filter value)
Sets the filter attribute of the ViewDefinition object |
boolean |
setName(java.lang.String name)
Sets the name attribute of the ViewDefinition object |
boolean |
setUpdate(boolean update)
Specifies whether the ViewDefinition should be automatically updated when the source diagram changes |
int |
sizeOfItems()
No comment provided by developer, please add a comment to improve documentation. |
int |
sizeOfStartItems()
No comment provided by developer, please add a comment to improve documentation. |
void |
update()
update the ViewDefinition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final transient org.apache.log4j.Logger log
private boolean update
private java.lang.String name
private int context
private de.upb.tools.fca.FHashSet startItems
N N ViewDefinition ----------------------------- UMLDiagramItem viewDefinitions startItems
private transient de.upb.tools.fca.FHashSet items
N N ViewDefinition ----------------------------- UMLDiagramItem revItems items
private ViewDiagram diagram
N 0..1 ViewDefinition ----------------------------- ViewDiagram ViewDefinitions diagram
private Filter filter
N 0..1 ViewDefinition ----------------------------- Filter viewDefinitions filter
private transient boolean evaluating
Constructor Detail |
public ViewDefinition()
Method Detail |
public boolean setUpdate(boolean update)
update
- do update or not
isUpdate()
public boolean setName(java.lang.String name)
name
- The new name value
public java.lang.String getName()
public boolean isUpdate()
setUpdate(boolean)
public void setContext(int context)
context
- the contextgetContext()
public int getContext()
getContext()
public boolean addToStartItems(UMLDiagramItem value)
value
- The object added.
public boolean hasInStartItems(UMLDiagramItem value)
value
- No description provided
public java.util.Iterator iteratorOfStartItems()
public int sizeOfStartItems()
public boolean removeFromStartItems(UMLDiagramItem value)
value
- No description provided
public void removeAllFromStartItems()
public boolean addToItems(UMLDiagramItem value)
value
- The object added.
public boolean addToItems(UMLDiagramItem value, UMLDiagram diag)
value
- The object added.diag
- The object added.
public boolean hasInItems(UMLDiagramItem value)
value
- No description provided
public java.util.Iterator iteratorOfItems()
public int sizeOfItems()
public boolean removeFromItems(UMLDiagramItem value)
value
- No description provided
public void removeAllFromItems()
protected java.util.Set getItems()
public boolean setDiagram(ViewDiagram value)
value
- The new diagram value
public ViewDiagram getDiagram()
public boolean setFilter(Filter value)
value
- The new filter value
public Filter getFilter()
private java.util.Set getContextItems()
protected java.util.Set evaluate()
public void update()
Recalculates the context if the source diagram changed
public void removeYou()
removeYou
in class BasicIncrement
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |