Eclipse Platform
Release 3.7

org.eclipse.jface.dialogs
Class ErrorSupportProvider

java.lang.Object
  extended by org.eclipse.jface.dialogs.ErrorSupportProvider
Direct Known Subclasses:
AbstractStatusAreaProvider

public abstract class ErrorSupportProvider
extends Object

A ErrorSupportProvider defines the area to be shown in an error dialog for extra support information.

Since:
3.3

Constructor Summary
ErrorSupportProvider()
           
 
Method Summary
abstract  Control createSupportArea(Composite parent, IStatus status)
          Create an area for adding support components as a child of parent.
 boolean validFor(IStatus status)
          This method is called before createSupportArea(Composite, IStatus) to check if the ErrorSupportProvider will display any significant informations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorSupportProvider

public ErrorSupportProvider()
Method Detail

createSupportArea

public abstract Control createSupportArea(Composite parent,
                                          IStatus status)
Create an area for adding support components as a child of parent.

Parameters:
parent - The parent Composite
status - The IStatus that is being displayed.
Returns:
Control

validFor

public boolean validFor(IStatus status)
This method is called before createSupportArea(Composite, IStatus) to check if the ErrorSupportProvider will display any significant informations. If not, then it will not be presented at all.

Parameters:
status - - IStatus for which status are will be requested.
Returns:
true if provider is able to process particular IStatus
Since:
3.7

Eclipse Platform
Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.