public class EMFStoreDirtyDecorator extends Object implements org.eclipse.jface.viewers.ILightweightLabelDecorator, org.eclipse.emf.emfstore.client.observer.ESCommitObserver, ECPProjectPreDeleteObserver
Constructor and Description |
---|
EMFStoreDirtyDecorator()
Instantiates a new EMFStoreDirtyDecorator.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(org.eclipse.jface.viewers.ILabelProviderListener listener) |
void |
commitCompleted(org.eclipse.emf.emfstore.client.ESLocalProject localProject,
org.eclipse.emf.emfstore.server.model.versionspec.ESPrimaryVersionSpec newRevision,
org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
decorate(Object element,
org.eclipse.jface.viewers.IDecoration decoration) |
void |
dispose() |
boolean |
inspectChanges(org.eclipse.emf.emfstore.client.ESLocalProject localProject,
org.eclipse.emf.emfstore.server.model.ESChangePackage changePackage,
org.eclipse.core.runtime.IProgressMonitor monitor) |
boolean |
isLabelProperty(Object element,
String property) |
void |
projectDelete(ECPProject project)
Method that gets notified before a project is deleted.
|
void |
removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener) |
public static final String dirtyPath
public EMFStoreDirtyDecorator()
public void decorate(Object element, org.eclipse.jface.viewers.IDecoration decoration)
decorate
in interface org.eclipse.jface.viewers.ILightweightLabelDecorator
public void addListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
addListener
in interface org.eclipse.jface.viewers.IBaseLabelProvider
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IBaseLabelProvider
public boolean isLabelProperty(Object element, String property)
isLabelProperty
in interface org.eclipse.jface.viewers.IBaseLabelProvider
public void removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
removeListener
in interface org.eclipse.jface.viewers.IBaseLabelProvider
public boolean inspectChanges(org.eclipse.emf.emfstore.client.ESLocalProject localProject, org.eclipse.emf.emfstore.server.model.ESChangePackage changePackage, org.eclipse.core.runtime.IProgressMonitor monitor)
inspectChanges
in interface org.eclipse.emf.emfstore.client.observer.ESCommitObserver
public void commitCompleted(org.eclipse.emf.emfstore.client.ESLocalProject localProject, org.eclipse.emf.emfstore.server.model.versionspec.ESPrimaryVersionSpec newRevision, org.eclipse.core.runtime.IProgressMonitor monitor)
commitCompleted
in interface org.eclipse.emf.emfstore.client.observer.ESCommitObserver
public void projectDelete(ECPProject project)
projectDelete
in interface ECPProjectPreDeleteObserver
project
- the ECPProject
to deleteCopyright © 2019. All rights reserved.