public class OsateUiPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
Constructor and Description |
---|
OsateUiPlugin()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static org.eclipse.ui.IWorkbenchPage |
getActiveWorkbenchPage() |
static org.eclipse.swt.widgets.Shell |
getActiveWorkbenchShell() |
static org.eclipse.ui.IWorkbenchWindow |
getActiveWorkbenchWindow() |
static OsateUiPlugin |
getDefault()
Returns the shared instance.
|
static java.lang.String |
getFormattedMessage(java.lang.String aKey,
java.lang.String anArg) |
static java.lang.String |
getFormattedMessage(java.lang.String aKey,
java.lang.String[] anArgs) |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String path) |
static org.eclipse.core.runtime.IPath |
getInstallLocation() |
static java.net.URL |
getInstallURL() |
static java.lang.String |
getMessage(java.lang.String aKey) |
static java.lang.String |
getPluginId() |
java.util.ResourceBundle |
getResourceBundle()
Returns the plugin's resource bundle,
|
static java.lang.String |
getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle,
or 'key' if not found.
|
static java.lang.String |
getUniqueIdentifier() |
static org.eclipse.core.resources.IWorkspace |
getWorkspace() |
static boolean |
isDebug() |
static void |
log(org.eclipse.core.runtime.IStatus aStatus) |
static void |
log(java.lang.Throwable aThrowable) |
static void |
logErrorMessage(java.lang.String aMessage) |
static void |
logErrorStatus(java.lang.String aMessage,
org.eclipse.core.runtime.IStatus aStatus) |
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation
|
void |
stop(org.osgi.framework.BundleContext context)
This method is called when the plug-in is stopped
|
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, startup
public static final java.lang.String copyright
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 OsateUiPlugin getDefault()
public static java.lang.String getResourceString(java.lang.String key)
public java.util.ResourceBundle getResourceBundle()
public static org.eclipse.core.resources.IWorkspace getWorkspace()
public static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
public static org.eclipse.ui.IWorkbenchPage getActiveWorkbenchPage()
public static java.lang.String getPluginId()
public static org.eclipse.core.runtime.IPath getInstallLocation()
public static java.net.URL getInstallURL()
public static java.lang.String getUniqueIdentifier()
public static void log(org.eclipse.core.runtime.IStatus aStatus)
public static void log(java.lang.Throwable aThrowable)
public static void logErrorMessage(java.lang.String aMessage)
public static void logErrorStatus(java.lang.String aMessage, org.eclipse.core.runtime.IStatus aStatus)
public static boolean isDebug()
public static java.lang.String getMessage(java.lang.String aKey)
public static java.lang.String getFormattedMessage(java.lang.String aKey, java.lang.String anArg)
public static java.lang.String getFormattedMessage(java.lang.String aKey, java.lang.String[] anArgs)
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String path)