public final class IncrementalHintItemMapping extends ContextItemMapping<IModelItem,Object,IIncrementalHintsFactory>
HierarchicLayoutData.
Only one of the provided ways to define a mapping can be used at the same time, therefore only one of the properties of this class should be set on an instance.
| Constructor and Description |
|---|
IncrementalHintItemMapping() |
| Modifier and Type | Method and Description |
|---|---|
ItemCollection<INode> |
getIncrementalLayeringNodes()
Gets an item collection of nodes that are mapped to
incremental layering hints. |
ItemCollection<IModelItem> |
getIncrementalSequencingItems()
Gets an item collection of nodes that are mapped to
incremental sequencing hints. |
IMapper<IModelItem,Object> |
provideMapper(LayoutGraphAdapter adapter,
ILayoutAlgorithm layout,
IIncrementalHintsFactory hintsFactory)
Provides a mapper mapping the items to values.
|
void |
setIncrementalLayeringNodes(ItemCollection<INode> value)
Sets an item collection of nodes that are mapped to
incremental layering hints. |
void |
setIncrementalSequencingItems(ItemCollection<IModelItem> value)
Sets an item collection of nodes that are mapped to
incremental sequencing hints. |
getContextDelegate, setContextDelegategetConstant, getDelegate, getMapper, provideMapper, setConstant, setDelegate, setMapperpublic final ItemCollection<INode> getIncrementalLayeringNodes()
incremental layering hints.setIncrementalLayeringNodes(ItemCollection)public final ItemCollection<IModelItem> getIncrementalSequencingItems()
incremental sequencing hints.setIncrementalSequencingItems(ItemCollection)public IMapper<IModelItem,Object> provideMapper(LayoutGraphAdapter adapter, ILayoutAlgorithm layout, IIncrementalHintsFactory hintsFactory)
ContextItemMappingprovideMapper in class ContextItemMapping<IModelItem,Object,IIncrementalHintsFactory>adapter - The graph adapter the mapper shall be provided for.layout - The layout using the mapper.hintsFactory - The context object passed to the ContextDelegate.public final void setIncrementalLayeringNodes(ItemCollection<INode> value)
incremental layering hints.value - The IncrementalLayeringNodes to set.getIncrementalLayeringNodes()public final void setIncrementalSequencingItems(ItemCollection<IModelItem> value)
incremental sequencing hints.value - The IncrementalSequencingItems to set.getIncrementalSequencingItems()