Class 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 Detail

      • CachedDirtyStateTreeNode

        public CachedDirtyStateTreeNode​(java.lang.Integer value)
        Constructor.
        Parameters:
        value - the initial value for this entry
    • Method Detail

      • update

        public void update()
        Recomputes the cached value of this node.
        Specified by:
        update in class CachedTreeNode<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 class CachedTreeNode<java.lang.Integer>
        Returns:
        the display value