|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.statushandlers.AbstractStatusHandler
org.eclipse.ui.statushandlers.WorkbenchErrorHandler
This is a default workbench error handler.
WorkbenchAdvisor.getWorkbenchErrorHandler()
Constructor Summary | |
WorkbenchErrorHandler()
|
Method Summary | |
protected void |
configureStatusDialog(WorkbenchStatusDialogManager statusDialog)
This methods should be overridden to configure WorkbenchStatusDialogManager behavior. |
void |
handle(StatusAdapter statusAdapter,
int style)
Handles StatusAdapter objects based on the set style. |
Methods inherited from class org.eclipse.ui.statushandlers.AbstractStatusHandler |
getId, getParam, getParams, setId, setParams |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WorkbenchErrorHandler()
Method Detail |
public void handle(StatusAdapter statusAdapter, int style)
AbstractStatusHandler
StatusAdapter
objects based on the set style.
handle
in class AbstractStatusHandler
statusAdapter
- the status adapter. May not be null
.style
- style constant. Acceptable values are defined in
StatusManager
and can be combined with logical OR.StatusManager.BLOCK
,
StatusManager.NONE
,
StatusManager.SHOW
,
StatusManager.LOG
protected void configureStatusDialog(WorkbenchStatusDialogManager statusDialog)
WorkbenchStatusDialogManager
behavior. It is advised to use only
following methods of WorkbenchStatusDialogManager
:
WorkbenchStatusDialogManager.enableDefaultSupportArea(boolean)
WorkbenchStatusDialogManager.setDetailsAreaProvider(AbstractStatusAreaProvider)
WorkbenchStatusDialogManager.setSupportAreaProvider(AbstractStatusAreaProvider)
statusDialog
- a status dialog to be configured.
|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.