Class EMFStoreDirtyDecoratorCachedTree.CachedDirtyStateTreeNode
- java.lang.Object
-
- org.eclipse.emf.ecp.common.spi.cachetree.CachedTreeNode<java.lang.Integer>
-
- org.eclipse.emf.ecp.emfstore.internal.ui.decorator.EMFStoreDirtyDecoratorCachedTree.CachedDirtyStateTreeNode
-
- Enclosing class:
- EMFStoreDirtyDecoratorCachedTree
public class EMFStoreDirtyDecoratorCachedTree.CachedDirtyStateTreeNode extends CachedTreeNode<java.lang.Integer>
Cached tree node that stores the dirty state of a model element managed by EMFStore.
-
-
Constructor Summary
Constructors Constructor Description CachedDirtyStateTreeNode(java.lang.Integer value)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getDisplayValue()
Returns the value that this node should represent.void
update()
Recomputes the cached value of this node.-
Methods inherited from class org.eclipse.emf.ecp.common.spi.cachetree.CachedTreeNode
getCache, getChildValue, getOwnValue, getParent, putIntoCache, removeFromCache, setChildValue, setOwnValue, setParent, values
-
-
-
-
Method Detail
-
update
public void update()
Recomputes the cached value of this node.- Specified by:
update
in classCachedTreeNode<java.lang.Integer>
-
getDisplayValue
public java.lang.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 classCachedTreeNode<java.lang.Integer>
- Returns:
- the display value
-
-