Example usage for org.eclipse.jface.dialogs IDialogPage setTitle

List of usage examples for org.eclipse.jface.dialogs IDialogPage setTitle

Introduction

In this page you can find the example usage for org.eclipse.jface.dialogs IDialogPage setTitle.

Prototype

void setTitle(String title);

Source Link

Document

Set this dialog page's title.

Usage

From source file:no.javatime.inplace.ui.command.handlers.NewPluginProjectHandler.java

License:Open Source License

@Override
public void pageChanged(PageChangedEvent event) {
    IDialogPage idp = (IDialogPage) event.getSelectedPage();
    if (null != wizard) {
        wizard.getShell().setText("New Bundle Project");
    }/*from w  w  w  .  j  a va  2s  . com*/
    if (idp.getTitle().equals("Plug-in Project")) {
        idp.setTitle("Bundle Project");
    } else if (idp.getTitle().equals("Content")) {
        idp.setTitle("Bundle Content");
    } else if (idp.getTitle().equals("Templates")) {
        idp.setTitle("Bundle Templates");
    }
    return;
}