diff options
Diffstat (limited to 'org.eclipse.vex.ui/src/org/eclipse/vex/ui/internal/config/ConfigLoaderJob.java')
-rw-r--r-- | org.eclipse.vex.ui/src/org/eclipse/vex/ui/internal/config/ConfigLoaderJob.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.vex.ui/src/org/eclipse/vex/ui/internal/config/ConfigLoaderJob.java b/org.eclipse.vex.ui/src/org/eclipse/vex/ui/internal/config/ConfigLoaderJob.java index a979bab9..8bef8e45 100644 --- a/org.eclipse.vex.ui/src/org/eclipse/vex/ui/internal/config/ConfigLoaderJob.java +++ b/org.eclipse.vex.ui/src/org/eclipse/vex/ui/internal/config/ConfigLoaderJob.java @@ -4,7 +4,7 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * John Krasnay - initial API and implementation * Ed Burnette - 7/23/2006 - Changes needed to build on 3.2. @@ -103,14 +103,17 @@ public class ConfigLoaderJob extends Job implements ConfigurationLoader { return result; } + @Override public synchronized List<ConfigSource> getLoadedConfigSources() { return loadedConfigSources; } + @Override public boolean isLoading() { return getState() == Job.RUNNING || getState() == Job.WAITING; } + @Override public void load(final Runnable whenDone) { addJobChangeListener(new JobChangeAdapter() { @Override |