Class Activator
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.launchbar.core.internal.Activator
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class Activator
extends org.eclipse.core.runtime.Plugin
-
Field Summary
FieldsFields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Activator
static LaunchBarManager
static org.eclipse.launchbar.core.internal.target.LaunchTargetManager
static <T> T
getService
(Class<T> service) Return the OSGi service with the given service interface.static void
static void
log
(org.eclipse.core.runtime.IStatus status) void
start
(org.osgi.framework.BundleContext bundleContext) void
stop
(org.osgi.framework.BundleContext bundleContext) static void
static void
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
-
Field Details
-
PLUGIN_ID
- See Also:
-
-
Constructor Details
-
Activator
public Activator()
-
-
Method Details
-
start
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
start
in classorg.eclipse.core.runtime.Plugin
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
stop
in classorg.eclipse.core.runtime.Plugin
- Throws:
Exception
-
getDefault
-
getLaunchBarManager
-
getLaunchTargetManager
public static org.eclipse.launchbar.core.internal.target.LaunchTargetManager getLaunchTargetManager() -
getService
Return the OSGi service with the given service interface.- Parameters:
service
- service interface- Returns:
- the specified service or null if it's not registered
-
throwCoreException
- Throws:
org.eclipse.core.runtime.CoreException
-
log
public static void log(org.eclipse.core.runtime.IStatus status) -
log
-
trace
-