| org.eclipse.ui.tests.navigator.NavigatorTestsPlugin
NavigatorTestsPlugin | public class NavigatorTestsPlugin extends AbstractUIPlugin (Code) | | Not exposed as API.
since: 3.2 |
Method Summary | |
public static IStatus | createErrorStatus(int aCode, String aMessage, Throwable exception) | public static IStatus | createStatus(int severity, int aCode, String aMessage, Throwable exception) | public static NavigatorTestsPlugin | getDefault() Returns the shared instance. | public static void | log(String message) Log the given status to the ISV log.
When to use this:
This should be used when a PluginException or a ExtensionException occur but for which an
error dialog cannot be safely shown.
If you can show an ErrorDialog then do so, and do not call this method.
If you have a plugin exception or core exception in hand call log(String, IStatus)
This convenience method is for internal use by the Workbench only and must not be called
outside the workbench.
This method is supported in the event the log allows plugin related information to be logged
(1FTTJKV). | public static void | log(String message, IStatus status) Logs errors. | public static void | log(int severity, int aCode, String aMessage, Throwable exception) | public static void | log(IStatus aStatus) | public static void | logError(int aCode, String aMessage, Throwable anException) |
NavigatorTestsPlugin | public NavigatorTestsPlugin()(Code) | | Creates a new instance of the receiver
|
createErrorStatus | public static IStatus createErrorStatus(int aCode, String aMessage, Throwable exception)(Code) | | |
createStatus | public static IStatus createStatus(int severity, int aCode, String aMessage, Throwable exception)(Code) | | |
log | public static void log(String message)(Code) | | Log the given status to the ISV log.
When to use this:
This should be used when a PluginException or a ExtensionException occur but for which an
error dialog cannot be safely shown.
If you can show an ErrorDialog then do so, and do not call this method.
If you have a plugin exception or core exception in hand call log(String, IStatus)
This convenience method is for internal use by the Workbench only and must not be called
outside the workbench.
This method is supported in the event the log allows plugin related information to be logged
(1FTTJKV). This would be done by this method.
This method is internal to the workbench and must not be called by any plugins, or examples.
Parameters: message - A high level UI message describing when the problem happened. |
log | public static void log(String message, IStatus status)(Code) | | Logs errors.
|
log | public static void log(IStatus aStatus)(Code) | | |
|
|