|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.common.spi.cachetree.AbstractCachedTree<Integer>
org.eclipse.emf.ecp.emfstore.internal.ui.decorator.EMFStoreDirtyDecoratorCachedTree
public final class EMFStoreDirtyDecoratorCachedTree
Cached tree implementation for dirty decorators of model elements managed by EMFStore.
| Nested Class Summary | |
|---|---|
class |
EMFStoreDirtyDecoratorCachedTree.CachedDirtyStateTreeNode
Cached tree node that stores the dirty state of a model element managed by EMFStore. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.emf.ecp.common.spi.cachetree.AbstractCachedTree |
|---|
clear, getCachedValue, getRootValue, remove, update |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void removeProject(ECPProject project)
project - the projectpublic static EMFStoreDirtyDecoratorCachedTree getInstance(ECPProject project)
EMFStoreDirtyDecoratorCachedTree singleton.
project - the ECPProject to initialize this CashedTree on
EMFStoreDirtyDecoratorCachedTreepublic Integer getDefaultValue()
getDefaultValue in class AbstractCachedTree<Integer>public CachedTreeNode<Integer> createdCachedTreeNode(Integer t)
t - the value stored by the cached tree node
public 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 change
public Set<org.eclipse.emf.ecore.EObject> setOperationCount(org.eclipse.emf.ecore.EObject eObject,
int count)
eObject - the eobjectcount - the new count
public int getOwnValue(org.eclipse.emf.ecore.EObject eObject)
eObject - the e object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||