public interface IModelLoadService
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. |
void loadModel(IModelDescriptor modelDescriptor, boolean async, org.eclipse.core.runtime.IProgressMonitor monitor)
model descriptor
(i.e all the persisted
resources owned by the model)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.void loadModels(java.util.Collection<IModelDescriptor> modelDescriptors, boolean async, org.eclipse.core.runtime.IProgressMonitor monitor)
model
Descriptor
s provided in argument.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.