Package org.eclipse.ui.internal
Class WorkbenchErrorHandlerProxy
java.lang.Object
org.eclipse.ui.statushandlers.AbstractStatusHandler
org.eclipse.ui.internal.WorkbenchErrorHandlerProxy
A proxy handler which passes all statuses to handler assigned to current
application workbench advisor.
EXPERIMENTAL This class or interface has been added as part
of a work in progress. This API may change at any given time. Please do not
use this API without consulting with the Platform/UI team.
- Since:
- 3.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(StatusAdapter statusAdapter, int style) HandlesStatusAdapter
objects based on the set style.boolean
supportsNotification
(int type) This methods indicates if particular notification type is supported and ifStatusManager.fireNotification(int, StatusAdapter[])
will be called after the event occurs.
-
Constructor Details
-
WorkbenchErrorHandlerProxy
public WorkbenchErrorHandlerProxy()
-
-
Method Details
-
handle
Description copied from class:AbstractStatusHandler
HandlesStatusAdapter
objects based on the set style.- Specified by:
handle
in classAbstractStatusHandler
- Parameters:
statusAdapter
- the status adapter. May not benull
.style
- style constant. Acceptable values are defined inStatusManager
and can be combined with logical OR.- See Also:
-
supportsNotification
public boolean supportsNotification(int type) Description copied from class:AbstractStatusHandler
This methods indicates if particular notification type is supported and ifStatusManager.fireNotification(int, StatusAdapter[])
will be called after the event occurs. Only known notification types should be accepted, whereas unknown types should be always rejected.- Overrides:
supportsNotification
in classAbstractStatusHandler
- Parameters:
type
- - a notification type that should be checked.- Returns:
- true if particular event notification is supported, false otherwise
-