public class Activator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PLUGIN_ID |
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
Bundle |
getBundle(java.lang.String symbolicName)
Return the resolved bundle with the specified symbolic name.
|
java.lang.String |
getBundleId(java.lang.Object object)
Returns the bundle id of the bundle that contains the provided object, or
null if the bundle could not be determined. |
Location |
getConfigurationLocation() |
DebugOptions |
getDebugOptions() |
static Activator |
getDefault() |
Bundle[] |
getFragments(Bundle host) |
FrameworkLog |
getFrameworkLog() |
Location |
getInstallLocation() |
Location |
getInstanceLocation() |
java.util.ResourceBundle |
getLocalization(Bundle bundle,
java.lang.String locale)
Returns the resource bundle responsible for location of the given bundle
in the given locale.
|
static URLConverter |
getURLConverter(java.net.URL url) |
void |
start(BundleContext context) |
void |
stop(BundleContext context) |
public static final java.lang.String PLUGIN_ID
public static Activator getDefault()
public void start(BundleContext context)
throws java.lang.Exception
java.lang.Exceptionpublic Location getConfigurationLocation()
public DebugOptions getDebugOptions()
public FrameworkLog getFrameworkLog()
public Location getInstanceLocation()
public Bundle getBundle(java.lang.String symbolicName)
PackageAdmin#getBundles(String, String)public Bundle[] getFragments(Bundle host)
public Location getInstallLocation()
public java.lang.String getBundleId(java.lang.Object object)
null if the bundle could not be determined.public java.util.ResourceBundle getLocalization(Bundle bundle,
java.lang.String locale)
throws java.util.MissingResourceException
java.util.MissingResourceException - If the corresponding resource could not be foundpublic void stop(BundleContext context)
throws java.lang.Exception
java.lang.Exceptionpublic static URLConverter getURLConverter(java.net.URL url)