| org.eclipse.ui.internal.ide.IDEWorkbenchPlugin
IDEWorkbenchPlugin | public class IDEWorkbenchPlugin extends AbstractUIPlugin (Code) | | This internal class represents the top of the IDE workbench.
This class is responsible for tracking various registries
font, preference, graphics, dialog store.
This class is explicitly referenced by the
IDE workbench plug-in's "plugin.xml"
since: 3.0 |
Method Summary | |
public static Object | createExtension(IConfigurationElement element, String classAttribute) Creates an extension. | public static IDEWorkbenchPlugin | getDefault() | public AboutInfo[] | getFeatureInfos() Returns the about information of all known features,
omitting any features which are missing this information. | public static ImageDescriptor | getIDEImageDescriptor(String relativePath) Get the workbench image with the given path relative to
ICON_PATH. | public MarkerImageProviderRegistry | getMarkerImageProviderRegistry() Returns the marker image provider registry for the workbench. | public static IWorkspace | getPluginWorkspace() Return the workspace used by the workbench
This method is internal to the workbench and must not be called
by any plugins. | public AboutInfo | getPrimaryInfo() Returns the about information of the primary feature. | public ProjectImageRegistry | getProjectImageRegistry() Return the manager that maps project nature ids to images. | public ResourceManager | getResourceManager() Return the resourceManager used by this plug-in. | public static void | log(String message) Logs the given message to the platform log. | public static void | log(String message, Throwable t) Logs the given message and throwable to the platform log. | public static void | log(Class clazz, String methodName, Throwable t) Logs the given throwable to the platform log, indicating the class and
method from where it is being logged (this is not necessarily where it
occurred). | public static void | log(String message, IStatus status) Logs the given message and status to the platform log.
This convenience method is for internal use by the IDE Workbench only and
must not be called outside the IDE Workbench.
Parameters: message - A high level UI message describing when the problem happened.May be null . Parameters: status - The status describing the problem. | protected void | refreshPluginActions() | public void | stop(BundleContext context) |
DEBUG | public static boolean DEBUG(Code) | | |
DEFAULT_TEXT_EDITOR_ID | final public static String DEFAULT_TEXT_EDITOR_ID(Code) | | The ID of the default text editor.
This must correspond to EditorsUI.DEFAULT_TEXT_EDITOR_ID.
|
IDE_WORKBENCH | final public static String IDE_WORKBENCH(Code) | | The IDE workbench plugin ID.
|
PL_CAPABILITIES | final public static String PL_CAPABILITIES(Code) | | |
PL_MARKER_HELP | final public static String PL_MARKER_HELP(Code) | | |
PL_MARKER_IMAGE_PROVIDER | final public static String PL_MARKER_IMAGE_PROVIDER(Code) | | |
PL_MARKER_RESOLUTION | final public static String PL_MARKER_RESOLUTION(Code) | | |
PL_PROJECT_NATURE_IMAGES | final public static String PL_PROJECT_NATURE_IMAGES(Code) | | |
IDEWorkbenchPlugin | public IDEWorkbenchPlugin()(Code) | | Create an instance of the receiver.
|
createExtension | public static Object createExtension(IConfigurationElement element, String classAttribute) throws CoreException(Code) | | Creates an extension. If the extension plugin has not
been loaded a busy cursor will be activated during the duration of
the load.
Parameters: element - the config element defining the extension Parameters: classAttribute - the name of the attribute carrying the class Object the extension object throws: CoreException - |
getFeatureInfos | public AboutInfo[] getFeatureInfos()(Code) | | Returns the about information of all known features,
omitting any features which are missing this information.
a possibly empty list of about infos |
getIDEImageDescriptor | public static ImageDescriptor getIDEImageDescriptor(String relativePath)(Code) | | Get the workbench image with the given path relative to
ICON_PATH.
Parameters: relativePath - ImageDescriptor |
getMarkerImageProviderRegistry | public MarkerImageProviderRegistry getMarkerImageProviderRegistry()(Code) | | Returns the marker image provider registry for the workbench.
the marker image provider registry |
getPluginWorkspace | public static IWorkspace getPluginWorkspace()(Code) | | Return the workspace used by the workbench
This method is internal to the workbench and must not be called
by any plugins.
|
getPrimaryInfo | public AboutInfo getPrimaryInfo()(Code) | | Returns the about information of the primary feature.
info about the primary feature, or null if there is no primary feature or if this information is unavailable |
getProjectImageRegistry | public ProjectImageRegistry getProjectImageRegistry()(Code) | | Return the manager that maps project nature ids to images.
|
getResourceManager | public ResourceManager getResourceManager()(Code) | | Return the resourceManager used by this plug-in.
|
log | public static void log(String message)(Code) | | Logs the given message to the platform log.
If you have an exception in hand, call log(String, Throwable) instead.
If you have a status object in hand call log(String, IStatus) instead.
This convenience method is for internal use by the IDE Workbench only and
must not be called outside the IDE Workbench.
Parameters: message - A high level UI message describing when the problem happened. |
log | public static void log(String message, Throwable t)(Code) | | Logs the given message and throwable to the platform log.
If you have a status object in hand call log(String, IStatus) instead.
This convenience method is for internal use by the IDE Workbench only and
must not be called outside the IDE Workbench.
Parameters: message - A high level UI message describing when the problem happened. Parameters: t - The throwable from where the problem actually occurred. |
log | public static void log(Class clazz, String methodName, Throwable t)(Code) | | Logs the given throwable to the platform log, indicating the class and
method from where it is being logged (this is not necessarily where it
occurred).
This convenience method is for internal use by the IDE Workbench only and
must not be called outside the IDE Workbench.
Parameters: clazz - The calling class. Parameters: methodName - The calling method name. Parameters: t - The throwable from where the problem actually occurred. |
log | public static void log(String message, IStatus status)(Code) | | Logs the given message and status to the platform log.
This convenience method is for internal use by the IDE Workbench only and
must not be called outside the IDE Workbench.
Parameters: message - A high level UI message describing when the problem happened.May be null . Parameters: status - The status describing the problem. Must not be null. |
refreshPluginActions | protected void refreshPluginActions()(Code) | | |
|
|