|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.emfstore.internal.ui.decorator.EMFStoreDirtyObserver
public class EMFStoreDirtyObserver
Project change observer that marks elements as dirty.
| Constructor Summary | |
|---|---|
EMFStoreDirtyObserver(org.eclipse.emf.emfstore.internal.client.model.ProjectSpace projectSpace,
InternalProject project)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
clearObserverCache()
Clears the cache of deleted elements and resets the operation count to 0. |
Set<org.eclipse.emf.ecore.EObject> |
getLastAffected()
The Collection of EObject that were affected during last operation. |
boolean |
isDirty()
Returns weather the observed projectSpac is dirty. |
void |
operationExecuted(org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation operation)
|
void |
operationUndone(org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation operation)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EMFStoreDirtyObserver(org.eclipse.emf.emfstore.internal.client.model.ProjectSpace projectSpace,
InternalProject project)
projectSpace - the ProjectSpace of the decoratorproject - the ecpproject of the decorator| Method Detail |
|---|
public void operationExecuted(org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation operation)
operationExecuted in interface org.eclipse.emf.emfstore.internal.client.observers.OperationObserverpublic void operationUndone(org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation operation)
operationUndone in interface org.eclipse.emf.emfstore.internal.client.observers.OperationObserverpublic Set<org.eclipse.emf.ecore.EObject> getLastAffected()
EObject that were affected during last operation.
Set of EObject affected or null if nonepublic void clearObserverCache()
public boolean isDirty()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||