Eclipse Platform
Release 3.3

org.eclipse.jface.databinding.wizard
Class WizardPageSupport

java.lang.Object
  extended byorg.eclipse.jface.databinding.wizard.WizardPageSupport

public class WizardPageSupport
extends Object

Connects the validation result from the given data binding context to the given wizard page, updating the wizard page's completion state and its error message accordingly. This class is not intended to be extended by clients.

Since:
1.1

Method Summary
static WizardPageSupport create(WizardPage wizardPage, DataBindingContext dbc)
          Connect the validation result from the given data binding context to the given wizard page.
 void dispose()
          Disposes of this wizard page support object, removing any listeners it may have attached.
protected  void handleStatusChanged()
           
protected  void handleUIChanged()
           
protected  void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static WizardPageSupport create(WizardPage wizardPage,
                                       DataBindingContext dbc)
Connect the validation result from the given data binding context to the given wizard page. Upon creation, the wizard page support will use the context's validation result to determine whether the page is complete. The page's error message will not be set at this time ensuring that the wizard page does not show an error right away. Upon any validation result change, WizardPage.setPageComplete(boolean) will be called reflecting the new validation result, and the wizard page's error message will be updated according to the current validation result.

Parameters:
wizardPage -
dbc -
Returns:
an instance of WizardPageSupport

init

protected void init()

handleUIChanged

protected void handleUIChanged()

handleStatusChanged

protected void handleStatusChanged()

dispose

public void dispose()
Disposes of this wizard page support object, removing any listeners it may have attached.


Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.