public class EMFBasedPersister extends java.lang.Object implements PersistedStateProvider
Constructor and Description |
---|
EMFBasedPersister() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSaveParticipant() |
org.eclipse.emf.ecore.resource.Resource |
createResource() |
protected java.io.File |
getBuilderStateLocation() |
org.eclipse.emf.common.util.URI |
getBuilderStateURI() |
org.eclipse.emf.ecore.resource.Resource.Factory |
getFactory() |
java.lang.Iterable<IResourceDescription> |
load() |
java.lang.Iterable<IResourceDescription> |
loadFromResource(org.eclipse.emf.ecore.resource.Resource resource) |
void |
save(java.lang.Iterable<IResourceDescription> descriptions) |
void |
saveToResource(org.eclipse.emf.ecore.resource.Resource res,
java.lang.Iterable<IResourceDescription> descriptions) |
protected void |
scheduleRecoveryBuild() |
void |
setFactory(org.eclipse.emf.ecore.resource.Resource.Factory factory) |
public java.lang.Iterable<IResourceDescription> load()
load
in interface PersistedStateProvider
protected void addSaveParticipant() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public java.lang.Iterable<IResourceDescription> loadFromResource(org.eclipse.emf.ecore.resource.Resource resource)
public void save(java.lang.Iterable<IResourceDescription> descriptions)
public org.eclipse.emf.ecore.resource.Resource createResource()
public void saveToResource(org.eclipse.emf.ecore.resource.Resource res, java.lang.Iterable<IResourceDescription> descriptions)
public org.eclipse.emf.common.util.URI getBuilderStateURI()
protected java.io.File getBuilderStateLocation()
public void setFactory(org.eclipse.emf.ecore.resource.Resource.Factory factory)
public org.eclipse.emf.ecore.resource.Resource.Factory getFactory()
protected void scheduleRecoveryBuild()