public abstract class AbstractStatusAreaProvider extends ErrorSupportProvider
A status area provider creates an area that displays detailed information
about StatusAdapter or IStatus.
The area provider can be set in WorkbenchStatusDialogManager as well as in
JFace Policy since its extends ErrorSupportProvider.
| Constructor and Description |
|---|
AbstractStatusAreaProvider() |
| Modifier and Type | Method and Description |
|---|---|
Control |
createSupportArea(Composite parent,
IStatus status)
Create an area for adding support components as a child of parent.
|
abstract Control |
createSupportArea(Composite parent,
StatusAdapter statusAdapter)
Create an area for detailed support area as a child of the given parent.
|
boolean |
validFor(StatusAdapter statusAdapter)
This method is called before
createSupportArea(Composite, StatusAdapter) to check if it will
display any significant implementation. |
validForpublic abstract Control createSupportArea(Composite parent, StatusAdapter statusAdapter)
parent - A Composite that will host support area.statusAdapter - The StatusAdapter to be supported.public final Control createSupportArea(Composite parent, IStatus status)
ErrorSupportProvidercreateSupportArea in class ErrorSupportProviderparent - The parent Compositestatus - The IStatus that is being displayed.public boolean validFor(StatusAdapter statusAdapter)
createSupportArea(Composite, StatusAdapter) to check if it will
display any significant implementation.
Important: This API is a part of work in progress and therefore is suitable only for support area providers (which are presented in the status dialog tray).
statusAdapter - - StatusAdapter for which status are will be
requested.StatusAdapter
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.