|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface ModelViewManager.Filter
Specifies the contract of graph element filters for views handled
by ModelViewManager instances. Filters
are always applied to elements of the model graph of a
ModelViewManager to determine whether or not corresponding
representatives should be inserted into or removed from an associated view
graph.

| Method Summary | |
|---|---|
boolean |
acceptInsertion(Edge model)
Returns true, iff a representative of the specified model
edge should be inserted into an associated view graph; false
otherwise. |
boolean |
acceptInsertion(Node model)
Returns true, iff a representative of the specified model
node should be inserted into an associated view graph; false
otherwise. |
boolean |
acceptRemoval(Edge model)
Returns true, iff a representative of the specified model
edge should be removed from an associated view graph; false
otherwise. |
boolean |
acceptRemoval(Node model)
Returns true, iff a representative of the specified model
node should be removed from an associated view graph; false
otherwise. |
boolean |
acceptRetention(Edge model)
Returns true, iff a representative of the specified model
edge should be retained in an associated view graph; false
otherwise. |
boolean |
acceptRetention(Node model)
Returns true, iff a representative of the specified model
node should be retained in an associated view graph; false
otherwise. |
| Method Detail |
|---|
boolean acceptInsertion(Node model)
true, iff a representative of the specified model
node should be inserted into an associated view graph; false
otherwise.
model - a node in the model graph of a ModelViewManager.
true, iff a representative of the specified model
node should be inserted into an associated view graph; false
otherwise.boolean acceptInsertion(Edge model)
true, iff a representative of the specified model
edge should be inserted into an associated view graph; false
otherwise.
model - an edge in the model graph of a ModelViewManager.
true, iff a representative of the specified model
edge should be inserted into an associated view graph; false
otherwise.boolean acceptRemoval(Node model)
true, iff a representative of the specified model
node should be removed from an associated view graph; false
otherwise.
model - a node in the model graph of a ModelViewManager.
true, iff a representative of the specified model
node should be removed from an associated view graph; false
otherwise.boolean acceptRemoval(Edge model)
true, iff a representative of the specified model
edge should be removed from an associated view graph; false
otherwise.
model - an edge in the model graph of a ModelViewManager.
true, iff a representative of the specified model
edge should be removed from an associated view graph; false
otherwise.boolean acceptRetention(Node model)
true, iff a representative of the specified model
node should be retained in an associated view graph; false
otherwise.
This method is queried for model nodes that have an existing view
representative when synchronizing a model graph to one or more of its
view graphs or when synchronizing a view graph to its model graph.
model - a node in the model graph of a ModelViewManager.
true, iff a representative of the specified model
node should be retained in an associated view graph; false
otherwise.boolean acceptRetention(Edge model)
true, iff a representative of the specified model
edge should be retained in an associated view graph; false
otherwise.
This method is queried for model edges that have an existing view
representative when synchronizing a model graph to one or more of its
view graphs or when synchronizing a view graph to its model graph.
model - an edge in the model graph of a ModelViewManager.
true, iff a representative of the specified model
edge should be retained in an associated view graph; false
otherwise.
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||