public interface IModelResourceHandler
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.resource.Resource |
createResourceWithApp(MApplication theApp)
Creates a resource with an app Model, used for saving copies of the main app model.
|
org.eclipse.emf.ecore.resource.Resource |
loadMostRecentModel()
Loads an returns the most recent model that was persisted
|
void |
save()
Saves the model
|
org.eclipse.emf.ecore.resource.Resource loadMostRecentModel()
org.eclipse.emf.ecore.resource.Resource createResourceWithApp(MApplication theApp)
theApp
- the application model to add to the resourcevoid save() throws IOException
IOException
- if storing fails
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.