|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.eclipse.ui.console.ConsolePlugin
The console plug-in class.
Field Summary |
Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
ConsolePlugin()
|
Method Summary | |
static void |
errorDialog(Shell shell,
String title,
String message,
Throwable t)
Utility method with conventions |
IConsoleManager |
getConsoleManager()
Returns the console manager. |
static ConsolePlugin |
getDefault()
Returns the singleton instance of the console plugin. |
static Display |
getStandardDisplay()
Returns the standard display to be used. |
static String |
getUniqueIdentifier()
Convenience method which returns the unique identifier of this plugin. |
static void |
log(IStatus status)
Logs the specified status with this plug-in's log. |
static void |
log(Throwable t)
Logs the specified throwable with this plug-in's log. |
static IStatus |
newErrorStatus(String message,
Throwable exception)
Returns a new error status for this plugin with the given message |
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, start, startup, stop |
Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ConsolePlugin()
Method Detail |
public static ConsolePlugin getDefault()
public static String getUniqueIdentifier()
public static void log(IStatus status)
status
- status to logpublic static void log(Throwable t)
t
- throwable to logpublic static IStatus newErrorStatus(String message, Throwable exception)
message
- the message to be included in the statusexception
- the exception to be included in the status or null
if none
public IConsoleManager getConsoleManager()
public static Display getStandardDisplay()
public static void errorDialog(Shell shell, String title, String message, Throwable t)
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.