public final class Activator
extends org.eclipse.core.runtime.Plugin
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_ID
The constant holding the id of this plugin.
|
Constructor and Description |
---|
Activator()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static ECPObserverBus |
getECPObserverBus()
Helper method to get the
ECPObserverBus . |
static ECPProjectManager |
getECPProjectManager()
Helper method to get the
ECPProjectManager . |
static ECPProviderRegistry |
getECPProviderRegistry()
Helper method to get the
ECPProviderRegistry . |
static ECPRepositoryManager |
getECPRepositoryManager()
Helper method to get the
ECPRepositoryManager . |
static Activator |
getInstance()
Returns the instance of this Activator.
|
static void |
log(int status,
String message)
Logs a message with a specific status.
|
static void |
log(String message)
Logs and Info message.
|
static String |
log(Throwable t)
Logs a
Throwable . |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
public static final String PLUGIN_ID
public void start(org.osgi.framework.BundleContext bundleContext) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.core.runtime.Plugin
Exception
public void stop(org.osgi.framework.BundleContext bundleContext) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.core.runtime.Plugin
Exception
public static Activator getInstance()
public static void log(String message)
message
- the message to logpublic static void log(int status, String message)
status
- the IStatus
valuemessage
- the message to logpublic static ECPProjectManager getECPProjectManager()
ECPProjectManager
.ECPProjectManager
public static ECPRepositoryManager getECPRepositoryManager()
ECPRepositoryManager
.ECPRepositoryManager
public static ECPProviderRegistry getECPProviderRegistry()
ECPProviderRegistry
.ECPProviderRegistry
public static ECPObserverBus getECPObserverBus()
ECPObserverBus
.ECPObserverBus
Copyright © 2017. All rights reserved.