Eclipse Platform
Release 3.5

org.eclipse.jface.databinding.dialog
Class TitleAreaDialogSupport

java.lang.Object
  extended by org.eclipse.jface.databinding.dialog.TitleAreaDialogSupport

public class TitleAreaDialogSupport
extends Object

Connects the validation result from the given data binding context to the given TitleAreaDialog, updating the dialog's error message accordingly.

Since:
1.3
Restriction:
This class is not intended to be subclassed by clients.

Method Summary
static TitleAreaDialogSupport create(TitleAreaDialog dialog, DataBindingContext dbc)
          Connect the validation result from the given data binding context to the given TitleAreaDialog.
 void dispose()
          Disposes of this title area dialog support object, removing any listeners it may have attached.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static TitleAreaDialogSupport create(TitleAreaDialog dialog,
                                            DataBindingContext dbc)
Connect the validation result from the given data binding context to the given TitleAreaDialog. The page's error message will not be set at time of creation, ensuring that the dialog does not show an error right away. Upon any validation result change, the dialog's error message will be updated according to the current validation result.

Parameters:
dialog -
dbc -
Returns:
an instance of TitleAreaDialogSupport

dispose

public void dispose()
Disposes of this title area dialog support object, removing any listeners it may have attached.


Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

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