Example usage for org.eclipse.jface.preference IPreferencePage isValid

List of usage examples for org.eclipse.jface.preference IPreferencePage isValid

Introduction

In this page you can find the example usage for org.eclipse.jface.preference IPreferencePage isValid.

Prototype

public boolean isValid();

Source Link

Document

Returns whether this dialog page is in a valid state.

Usage

From source file:net.sourceforge.eclipsetrader.core.ui.WizardPageAdapter.java

License:Open Source License

public WizardPageAdapter(IPreferencePage preferencePage) {
    super(""); //$NON-NLS-1$
    setTitle(preferencePage.getTitle());
    setDescription(preferencePage.getDescription());
    preferencePage.setContainer(preferencePageContainer);
    setPageComplete(preferencePage.isValid());
    this.preferencePage = preferencePage;
}