Method Summary |
|
void | addBundleListener(BundleListener bundleListener) |
public static Object | createExtension(IConfigurationElement element, String classAttribute) Creates an extension. |
protected ImageRegistry | createImageRegistry() Returns the image registry for this plugin.
Where are the images? The images (typically gifs) are found in the same
plugins directory.
See Also: ImageRegistry See Also: Note: The workbench uses the standard JFace ImageRegistry to track its See Also: images. |
public ActionSetRegistry | getActionSetRegistry() Returns the action set registry for the workbench. |
public String | getAppName() Returns the application name. |
public BundleContext | getBundleContext() Returns the bundle context associated with the workbench plug-in. |
int | getBundleCount() |
public static Bundle | getBundleForExecutableExtension(IConfigurationElement element, String extensionName) Returns the bundle that contains the class referenced by an executable
extension. |
public Bundle[] | getBundles() Return an array of all bundles contained in this workbench. |
public IPath | getDataLocation() FOR INTERNAL WORKBENCH USE ONLY. |
public DecoratorManager | getDecoratorManager() |
public static WorkbenchPlugin | getDefault() Return the default instance of the receiver. |
public IEditorRegistry | getEditorRegistry() |
public IElementFactory | getElementFactory(String targetID) Answer the element factory for an id, or null |
public IWizardRegistry | getExportWizardRegistry() Return the export wizard registry. |
public IWizardRegistry | getImportWizardRegistry() Return the import wizard registry. |
public IIntroRegistry | getIntroRegistry() Returns the introduction registry. |
public IWizardRegistry | getNewWizardRegistry() Return the new wizard registry. |
public IWorkbenchOperationSupport | getOperationSupport() Returns the operation support. |
public IPerspectiveRegistry | getPerspectiveRegistry() Return the perspective registry.
IPerspectiveRegistry. |
public PreferenceManager | getPreferenceManager() Get the preference manager. |
public AbstractPresentationFactory | getPresentationFactory(String targetID) Returns the presentation factory with the given id, or null if not found.
Parameters: targetID - The id of the presentation factory to use. |
public String | getProductName() Returns the name of the product. |
public ISharedImages | getSharedImages() Returns the shared images for the workbench. |
OutputStream | getSplashStream() |
public static IStatus | getStatus(Throwable t) |
public IThemeRegistry | getThemeRegistry() Returns the theme registry for the workbench. |
public IViewRegistry | getViewRegistry() Answer the view registry. |
public ImageDescriptor[] | getWindowImages() Returns the image descriptors for the window image to use for this product. |
public IWorkbench | getWorkbench() Answer the workbench. |
public IWorkingSetManager | getWorkingSetManager() |
public WorkingSetRegistry | getWorkingSetRegistry() |
public static boolean | hasExecutableExtension(IConfigurationElement element, String extensionName) Answers whether the provided element either has an attribute with the
given name or a child element with the given name with an attribute
called class. |
protected void | initializeDefaultPreferences(IPreferenceStore store) Set default preference values. |
public static boolean | isBundleLoadedForExecutableExtension(IConfigurationElement element, String extensionName) Checks to see if the provided element has the syntax for an executable
extension with a given name that resides in a bundle that is already
active. |
public boolean | isStarting(Bundle bundle) |
public static void | log(String message) Logs the given message to the platform log. |
public static void | log(Throwable t) Log the throwable. |
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 Workbench only and
must not be called outside the Workbench.
Parameters: message - A high level UI message describing when the problem happened.May be null . Parameters: status - The status describing the problem. |
public static void | log(IStatus status) Log the status to the default log. |
public static IStatus | newError(String message, Throwable t) Create a new error from the message and the
throwable. |
void | removeBundleListener(BundleListener bundleListener) |
void | reset() Unload all members. |
public void | start(BundleContext context) |
public void | stop(BundleContext context) |