public final class EMFStoreDirtyDecoratorCachedTree extends AbstractCachedTree<Integer>
Modifier and Type | Class and Description |
---|---|
class |
EMFStoreDirtyDecoratorCachedTree.CachedDirtyStateTreeNode
Cached tree node that stores the dirty state of a model element managed by EMFStore.
|
Modifier and Type | Method and Description |
---|---|
Set<org.eclipse.emf.ecore.EObject> |
addOperation(org.eclipse.emf.ecore.EObject eObject)
Call to indicate that an
EObject was added. |
CachedTreeNode<Integer> |
createdCachedTreeNode(Integer t)
Creates a cached tree node.
|
Integer |
getDefaultValue()
Returns the default value for a cached node.
The root value will be initialized with this value, too |
static EMFStoreDirtyDecoratorCachedTree |
getInstance(ECPProject project)
Static
EMFStoreDirtyDecoratorCachedTree singleton. |
int |
getOwnValue(org.eclipse.emf.ecore.EObject eObject)
Gets the own cached value of the given object.
|
Set<org.eclipse.emf.ecore.EObject> |
removeOperation(org.eclipse.emf.ecore.EObject eObject)
Call to indicate that an
EObject was removed. |
static void |
removeProject(ECPProject project)
Removes an ECPProject from the Cache.
|
Set<org.eclipse.emf.ecore.EObject> |
setOperationCount(org.eclipse.emf.ecore.EObject eObject,
int count)
Sets the operation count for the given object.
|
clear, getCachedValue, getNodes, getRootValue, remove, update, updateNodeObject, updateParentNode
public static void removeProject(ECPProject project)
project
- the projectpublic static EMFStoreDirtyDecoratorCachedTree getInstance(ECPProject project)
EMFStoreDirtyDecoratorCachedTree
singleton.project
- the ECPProject
to initialize this CashedTree onEMFStoreDirtyDecoratorCachedTree
public Integer getDefaultValue()
getDefaultValue
in class AbstractCachedTree<Integer>
public CachedTreeNode<Integer> createdCachedTreeNode(Integer t)
createdCachedTreeNode
in class AbstractCachedTree<Integer>
t
- the value stored by the cached tree nodepublic Set<org.eclipse.emf.ecore.EObject> addOperation(org.eclipse.emf.ecore.EObject eObject)
EObject
was added.eObject
- the new EObject
Set
of EObject
affected by this changepublic Set<org.eclipse.emf.ecore.EObject> removeOperation(org.eclipse.emf.ecore.EObject eObject)
EObject
was removed.eObject
- the removed EObject
Set
of EObject
affected by this changepublic Set<org.eclipse.emf.ecore.EObject> setOperationCount(org.eclipse.emf.ecore.EObject eObject, int count)
eObject
- the eobjectcount
- the new countpublic int getOwnValue(org.eclipse.emf.ecore.EObject eObject)
eObject
- the e objectCopyright © 2019. All rights reserved.