Example usage for org.eclipse.jface.wizard IWizard getPreviousPage

List of usage examples for org.eclipse.jface.wizard IWizard getPreviousPage

Introduction

In this page you can find the example usage for org.eclipse.jface.wizard IWizard getPreviousPage.

Prototype

IWizardPage getPreviousPage(IWizardPage page);

Source Link

Document

Returns the predecessor of the given page.

Usage

From source file:org.bonitasoft.studio.connector.model.definition.wizard.AbstractConnectorConfigurationWizardPage.java

License:Open Source License

@Override
public IWizardPage getPreviousPage() {
    IWizard wizard = getWizard();
    if (wizard != null) {
        return wizard.getPreviousPage(this);
    }/*from   www.j  av a  2  s .com*/
    return super.getPreviousPage();
}

From source file:org.bonitasoft.studio.connectors.ui.wizard.page.AbstractConnectorOutputWizardPage.java

License:Open Source License

@Override
public IWizardPage getPreviousPage() {
    if (previousPageBackup != null) {
        return previousPageBackup;
    }//w w  w  . jav a  2 s . com

    IWizard wizard = getWizard();
    if (wizard != null) {
        return wizard.getPreviousPage(this);
    }
    return super.getPreviousPage();
}