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
Descriptors provided in argument. |
public void loadModel(IModelDescriptor modelDescriptor, boolean async, org.eclipse.core.runtime.IProgressMonitor monitor)
IModelLoadServicemodel descriptor (i.e all the persisted
resources owned by the model)loadModel in interface IModelLoadServicemodelDescriptor - 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)
IModelLoadServicemodel
Descriptors provided in argument.loadModels in interface IModelLoadServicemodelDescriptors - model Descriptors 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)