public class ModelDescriptorRegistryInitializer
extends org.eclipse.core.runtime.jobs.Job
job
that enables the ModelDescriptorRegistry.INSTANCE
to be initialized with
IModelDescriptor)s according to the {@link IFile model files} that exist in the workspace.
The {@link ModelDescriptorRegistryInitializer} job typically needs to be executed only once after workbench startup. It is therefore automatically invoked when the {@link Activator.Implementation#start(org.osgi.framework.BundleContext) activator} of this plug-in is started. All subsequent synchronization of the {@link ModelDescriptorRegistry#INSTANCE} wrt resource changes in the workspace are handled by the {@link ModelDescriptorSynchronizer#INSTANCE}.
ModelDescriptorSynchronizer
Constructor and Description |
---|
ModelDescriptorRegistryInitializer() |
Modifier and Type | Method and Description |
---|---|
boolean |
belongsTo(java.lang.Object family) |
protected org.eclipse.core.runtime.IStatus |
run(org.eclipse.core.runtime.IProgressMonitor monitor) |
addJobChangeListener, cancel, canceling, create, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule
protected org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor)
run
in class org.eclipse.core.runtime.jobs.Job
public boolean belongsTo(java.lang.Object family)
belongsTo
in class org.eclipse.core.runtime.jobs.Job