public class ModelLoadService extends java.lang.Object implements IModelLoadService
Constructor and Description |
---|
ModelLoadService() |
Modifier and Type | Method and Description |
---|---|
void |
loadModel(IModelDescriptor modelDescriptor,
boolean async,
org.eclipse.core.runtime.IProgressMonitor monitor)
Loads all resources owned by the provided
model descriptor (i.e all the persisted
resources owned by the model) |
void |
loadModels(java.util.Collection<IModelDescriptor> modelDescriptors,
boolean async,
org.eclipse.core.runtime.IProgressMonitor monitor)
Loads in memory all persisted resources owned by the model described by the
model
Descriptor s provided in argument. |
public void loadModel(IModelDescriptor modelDescriptor, boolean async, org.eclipse.core.runtime.IProgressMonitor monitor)
IModelLoadService
model descriptor
(i.e all the persisted
resources owned by the model)loadModel
in interface IModelLoadService
modelDescriptor
- The model Descriptor
describing the model to load.async
- true
if this operation is required to be run asynchronously, or false
if
synchronous execution is desired.monitor
- A progress monitor
, or null
if progress reporting is not
desired.org.eclipse.sphinx.emf.model.IModelLoadService.loadModel(IModelDescriptor, boolean, IProgressMonitor)
public void loadModels(java.util.Collection<IModelDescriptor> modelDescriptors, boolean async, org.eclipse.core.runtime.IProgressMonitor monitor)
IModelLoadService
model
Descriptor
s provided in argument.loadModels
in interface IModelLoadService
modelDescriptors
- model Descriptor
s describing the models to load.async
- true
if this operation is required to be run asynchronously, or false
if
synchronous execution is desired.monitor
- A progress monitor
, or null
if progress reporting is not
desired.org.eclipse.sphinx.emf.model.IModelLoadService.loadModels(Collection, boolean,
IProgressMonitor)