public class CommonsUi
extends org.eclipse.ui.plugin.AbstractUIPlugin
| Modifier and Type | Field and Description |
|---|---|
static boolean |
IS_ECLIPSE_RUNNING |
static boolean |
IS_RAP_RUNNING |
static String |
PLUGIN_ID |
| Constructor and Description |
|---|
CommonsUi()
The constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
activateCallback(String id) |
static void |
deactivateCallback(String id) |
static CommonsUi |
getDefault()
Returns the shared instance
|
EditorWidgetFactory |
getDialogsWidgetFactory() |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(String path)
Returns an image descriptor for the image file at the given plug-in
relative path.
|
protected void |
initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry registry) |
static void |
log(org.eclipse.core.runtime.IStatus status) |
static void |
log(Throwable e) |
static void |
logErrorMessage(String message) |
static void |
logErrorStatus(String message,
org.eclipse.core.runtime.IStatus status) |
static void |
runWithDisplay(org.eclipse.swt.widgets.Display display,
Runnable runnable) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startuppublic static final String PLUGIN_ID
public static final boolean IS_ECLIPSE_RUNNING
public static final boolean IS_RAP_RUNNING
public void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.ui.plugin.AbstractUIPluginExceptionpublic void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.ui.plugin.AbstractUIPluginExceptionpublic static CommonsUi getDefault()
protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry registry)
initializeImageRegistry in class org.eclipse.ui.plugin.AbstractUIPluginpublic static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String path)
path - the pathpublic EditorWidgetFactory getDialogsWidgetFactory()
public static void log(org.eclipse.core.runtime.IStatus status)
public static void logErrorMessage(String message)
public static void logErrorStatus(String message, org.eclipse.core.runtime.IStatus status)
public static void log(Throwable e)
public static void activateCallback(String id)
public static void deactivateCallback(String id)
public static void runWithDisplay(org.eclipse.swt.widgets.Display display,
Runnable runnable)
Copyright © 2022 Fraunhofer IWU. All rights reserved.