org.eclipse.emf.ecp.emfstore.internal.ui.decorator
Class EMFStoreDirtyDecoratorCachedTree.CachedDirtyStateTreeNode
java.lang.Object
org.eclipse.emf.ecp.common.cachetree.CachedTreeNode<Integer>
org.eclipse.emf.ecp.emfstore.internal.ui.decorator.EMFStoreDirtyDecoratorCachedTree.CachedDirtyStateTreeNode
- Enclosing class:
- EMFStoreDirtyDecoratorCachedTree
public class EMFStoreDirtyDecoratorCachedTree.CachedDirtyStateTreeNode
- extends CachedTreeNode<Integer>
Cached tree node that stores the dirty state of a model element managed by EMFStore.
Method Summary |
Integer |
getDisplayValue()
Returns the value that this node should represent. |
void |
update()
Recomputes the cached value of this node. |
EMFStoreDirtyDecoratorCachedTree.CachedDirtyStateTreeNode
public EMFStoreDirtyDecoratorCachedTree.CachedDirtyStateTreeNode(Integer value)
- Constructor.
- Parameters:
value
- the initial value for this entry
update
public void update()
- Recomputes the cached value of this node.
getDisplayValue
public Integer getDisplayValue()
- Description copied from class:
CachedTreeNode
- Returns the value that this node should represent.
This value is also passed to parents in case of changes to the tree.
- Specified by:
getDisplayValue
in class CachedTreeNode<Integer>
- Returns:
- the display value
Copyright © 2014. All Rights Reserved.