public class M2EUIPluginActivator
extends org.eclipse.ui.plugin.AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
private MavenConsoleImpl |
console |
private static M2EUIPluginActivator |
instance |
private MavenUpdateConfigurationChangeListener |
mavenUpdateConfigurationChangeListener |
static java.lang.String |
PLUGIN_ID |
private org.eclipse.ui.preferences.ScopedPreferenceStore |
preferenceStore
Storage for preferences.
|
static java.lang.String |
PROP_SHOW_EXPERIMENTAL_FEATURES |
Constructor and Description |
---|
M2EUIPluginActivator() |
Modifier and Type | Method and Description |
---|---|
static M2EUIPluginActivator |
getDefault() |
static org.eclipse.swt.graphics.Image |
getImage(java.lang.String path)
Returns an Image for the file at the given relative path.
|
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String path) |
IMavenDiscoveryUI |
getImportWizardPageFactory() |
MavenConsoleImpl |
getMavenConsole() |
IMavenDiscovery |
getMavenDiscovery() |
org.eclipse.jface.preference.IPreferenceStore |
getPreferenceStore() |
SearchEngine |
getSearchEngine(org.eclipse.core.resources.IProject project) |
boolean |
hasMavenConsoleImpl() |
static boolean |
showExperimentalFeatures() |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
void |
ungetMavenDiscovery(IMavenDiscovery discovery) |
createImageRegistry, getDialogSettings, getImageRegistry, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
public static final java.lang.String PLUGIN_ID
private static M2EUIPluginActivator instance
private org.eclipse.ui.preferences.ScopedPreferenceStore preferenceStore
private MavenConsoleImpl console
private MavenUpdateConfigurationChangeListener mavenUpdateConfigurationChangeListener
public static final java.lang.String PROP_SHOW_EXPERIMENTAL_FEATURES
public org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
getPreferenceStore
in class org.eclipse.ui.plugin.AbstractUIPlugin
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public static M2EUIPluginActivator getDefault()
public static org.eclipse.swt.graphics.Image getImage(java.lang.String path)
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String path)
public MavenConsoleImpl getMavenConsole()
public boolean hasMavenConsoleImpl()
public SearchEngine getSearchEngine(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public IMavenDiscovery getMavenDiscovery()
public void ungetMavenDiscovery(IMavenDiscovery discovery)
discovery
- public IMavenDiscoveryUI getImportWizardPageFactory()
public static boolean showExperimentalFeatures()