Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.databinding.wizard
Class WizardPageSupport


java.lang.Object
  extended by org.eclipse.jface.databinding.dialog.DialogPageSupport
      extended by 
org.eclipse.jface.databinding.wizard.WizardPageSupport

public class WizardPageSupport
extends org.eclipse.jface.databinding.dialog.DialogPageSupport

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.

The completion state of the wizard page will only be set to true if all of the following conditions are met:

  • The validation result from the data binding context has none of the severities IStatus.ERROR or IStatus.CANCEL.
  • None of the validation status observables of the data binding context is stale.

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

Field Summary
 
Fields inherited from class org.eclipse.jface.databinding.dialog.DialogPageSupport
currentStatus, currentStatusStale
 
Method Summary
static  WizardPageSupport create ( WizardPage wizardPage, DataBindingContext dbc)
          Connect the validation result from the given data binding context to the given wizard page.
protected  void handleStatusChanged ()
           
 
Methods inherited from class org.eclipse.jface.databinding.dialog.DialogPageSupport
create, dispose, getDialogPage, handleStatusException, handleUIChanged, 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

handleStatusChanged

protected void handleStatusChanged()
Overrides:
handleStatusChanged in class org.eclipse.jface.databinding.dialog.DialogPageSupport

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire