List of usage examples for org.eclipse.jface.wizard IWizardPage setTitle
void setTitle(String title);
From source file:com.ebmwebsourcing.petals.services.su.wizards.AbstractServiceUnitWizard.java
License:Open Source License
@Override public void addPage(IWizardPage page) { super.addPage(page); page.setWizard(this); String title = this.petalsMode == PetalsMode.provides ? "Petals Service Provider" : "Petals Service Consumer"; title += " (" + getComponentVersionDescription().getComponentAlias() + ")"; page.setTitle(title); if (page.getDescription() == null) { if (this.petalsMode == PetalsMode.consumes) page.setDescription(getComponentVersionDescription().getConsumeDescription()); else if (this.petalsMode == PetalsMode.provides) page.setDescription(getComponentVersionDescription().getProvideDescription()); }//from w w w .j a va 2 s . co m }
From source file:com.mentor.nucleus.internal.test.NewCBTestWizard1.java
License:Open Source License
public void init(IWorkbench workbench, IStructuredSelection selection) { super.init(workbench, selection); IWizardPage testPage1 = new TestPage(); testPage1.setTitle("Code Builder TestPage 1"); testPage1.setDescription("Code Builder Test Description 1"); this.addPage(testPage1); IWizardPage testPage2 = new TestPage(); testPage2.setTitle("Code Builder TestPage 2"); testPage2.setDescription("Code Builder Test Description 2"); this.addPage(testPage2); }
From source file:com.mentor.nucleus.internal.test.NewCBTestWizard2.java
License:Open Source License
public void addPages() { IWizardPage testPage1 = new TestPage(); testPage1.setTitle("Code Builder 2 TestPage 1"); testPage1.setDescription("Code Builder 2 Test Description 1"); this.addPage(testPage1); IWizardPage testPage2 = new TestPage(); testPage2.setTitle("Code Builder 2 TestPage 2"); testPage2.setDescription("Code Builder 2 Test Description 2"); this.addPage(testPage2); }
From source file:com.mentor.nucleus.internal.test.NewMCTestWizard1.java
License:Open Source License
public void init(IWorkbench workbench, IStructuredSelection selection) { super.init(workbench, selection); IWizardPage testPage1 = new TestPage(); testPage1.setTitle("TestPage 1"); testPage1.setDescription("Test Description 1"); this.addPage(testPage1); IWizardPage testPage2 = new TestPage(); testPage2.setTitle("TestPage 2"); testPage2.setDescription("Test Description 2"); this.addPage(testPage2); String[] mcis = null;/*from w w w.j a v a 2 s . c o m*/ if (getDelegatingWizard() != null) { mcis = getDelegatingWizard().getChoices(); if (mcis.length > 1) { addPage(new WizardCodeBuilderChooserPage("newCodeBuilderChooser")); // $NON-NLS-1$ } else if (mcis.length == 1) { setDelegate(mcis[0]); } } }
From source file:com.predic8.plugin.membrane.wizards.AdvancedProxyConfigurationPage.java
License:Apache License
@Override public IWizardPage getNextPage() { IWizardPage page = getWizard().getPage(TargetConfigurationPage.PAGE_NAME); //page is used in simple and advanced configuration, therefore title must be adjusted page.setTitle("Advanced Proxy"); return page;//from www.j a v a 2s .c o m }
From source file:com.predic8.plugin.membrane.wizards.AdvancedRuleConfigurationPage.java
License:Apache License
@Override public IWizardPage getNextPage() { IWizardPage page = getWizard().getPage(TargetConfigurationPage.PAGE_NAME); //page is used in simple and advanced configuration, therefore title must be adjusted page.setTitle("Advanced Rule"); return page;/*from w w w . java2 s . c om*/ }
From source file:com.predic8.plugin.membrane.wizards.ListenPortConfigurationPage.java
License:Apache License
@Override public IWizardPage getNextPage() { IWizardPage page = getWizard().getPage(TargetConfigurationPage.PAGE_NAME); //page is used in simple and advanced configuration, therefore title must be adjusted page.setTitle("Simple Rule"); return page;/*from ww w . ja va2 s.c o m*/ }
From source file:org.bonitasoft.studio.actors.ui.wizard.FilterWizard.java
License:Open Source License
@Override public IWizardPage getNextPage(IWizardPage page) { IWizardPage p = super.getNextPage(page); if (p instanceof SelectNameAndDescWizardPage) { ConnectorDefinition def = selectionPage.getSelectedConnectorDefinition(); String connectorDefinitionLabel = messageProvider.getConnectorDefinitionLabel(def); if (connectorDefinitionLabel == null && def != null) { connectorDefinitionLabel = def.getId(); }//from ww w .j av a 2 s . com p.setTitle(Messages.bind(Messages.filterWizardTitle, connectorDefinitionLabel, connectorWorkingCopy.getDefinitionVersion())); p.setDescription(Messages.filterWizardMessage); } return p; }
From source file:org.eclipse.emf.ecore.xcore.ui.EmptyXcoreProjectWizard.java
License:Open Source License
@Override public void addPages() { // TODO Auto-generated method stub super.addPages(); IWizardPage[] pages = getPages();/*w w w . j av a 2 s . c o m*/ IWizardPage page = pages[pages.length - 1]; page.setTitle(Platform.getResourceBundle(XcoreActivator.getInstance().getBundle()) .getString("_UI_NewXcoreProject_title")); page.setDescription(Platform.getResourceBundle(XcoreActivator.getInstance().getBundle()) .getString("_UI_NewXcoreProject_description")); }
From source file:org.eclipse.ltk.ui.refactoring.RefactoringWizard.java
License:Open Source License
private void initializeDefaultPageTitles() { if (fDefaultPageTitle == null) return;/* www . java 2 s . co m*/ IWizardPage[] pages = getPages(); for (int i = 0; i < pages.length; i++) { IWizardPage page = pages[i]; if (page.getTitle() == null) page.setTitle(fDefaultPageTitle); } }