public final class JammyUI
extends org.eclipse.ui.plugin.AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
ICON_EXTENSION
Extension used for plugin icon.
|
private static org.eclipse.core.runtime.IPath |
ICONS_PATH
Path of the bundle relative folder which contains
SubmissionView icons. |
static java.lang.String |
IMG_SUBMISSION_FAIL
Constant value used for identifying
SubmissionView fail icon. |
static java.lang.String |
IMG_SUBMISSION_RUN
Constant value used for identifying
SubmissionView run icon. |
static java.lang.String |
IMG_SUBMISSION_SUCCESS
Constant value used for identifying
SubmissionView success icon. |
static java.lang.String |
IMG_SUBMISSION_SUITE
Constant value used for identifying
SubmissionView suite icon. |
static java.lang.String |
IMG_SUBMISSION_TEST
Constant value used for identifying
SubmissionView test icon. |
private static JammyUI |
plugin
Unique plugin instance.
|
static java.lang.String |
PLUGIN_ID
Plugin identifier.
|
Constructor and Description |
---|
JammyUI()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
private org.eclipse.jface.resource.ImageDescriptor |
createImageDescriptor(java.lang.String name)
Creates an
ImageDescriptor instance
for the given image name. |
static JammyUI |
getDefault()
Getter for the plugin instance.
|
static org.eclipse.swt.graphics.Image |
getImage(java.lang.String name)
Retrieves and returns image denoted by the given name.
|
protected void |
initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry registry) |
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, startup
public static final java.lang.String PLUGIN_ID
public static final java.lang.String IMG_SUBMISSION_SUITE
SubmissionView
suite icon.public static final java.lang.String IMG_SUBMISSION_TEST
SubmissionView
test icon.public static final java.lang.String IMG_SUBMISSION_RUN
SubmissionView
run icon.public static final java.lang.String IMG_SUBMISSION_FAIL
SubmissionView
fail icon.public static final java.lang.String IMG_SUBMISSION_SUCCESS
SubmissionView
success icon.private static final org.eclipse.core.runtime.IPath ICONS_PATH
SubmissionView
icons.private static final java.lang.String ICON_EXTENSION
private static JammyUI plugin
private org.eclipse.jface.resource.ImageDescriptor createImageDescriptor(java.lang.String name)
ImageDescriptor
instance
for the given image name.protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry registry)
initializeImageRegistry
in class org.eclipse.ui.plugin.AbstractUIPlugin
public static org.eclipse.swt.graphics.Image getImage(java.lang.String name)
name
- Name of the required image.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 JammyUI getDefault()