diff options
Diffstat (limited to 'org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/MavenEditorPlugin.java')
-rw-r--r-- | org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/MavenEditorPlugin.java | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/MavenEditorPlugin.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/MavenEditorPlugin.java index 2a1454e8..53612937 100644 --- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/MavenEditorPlugin.java +++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/MavenEditorPlugin.java @@ -11,35 +11,37 @@ package org.eclipse.m2e.editor; -import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; +import org.eclipse.ui.plugin.AbstractUIPlugin; + + /** * @author Eugene Kuleshov */ public class MavenEditorPlugin extends AbstractUIPlugin { public static final String PLUGIN_ID = "org.eclipse.m2e.editor"; //$NON-NLS-1$ - + private static MavenEditorPlugin instance; public MavenEditorPlugin() { } - + @Override public void start(BundleContext context) throws Exception { super.start(context); instance = this; } - + @Override public void stop(BundleContext context) throws Exception { super.stop(context); instance = null; } - + public static MavenEditorPlugin getDefault() { return instance; } - + } |