本文整理匯總了Java中org.eclipse.ui.dialogs.WizardNewProjectCreationPage.setTitle方法的典型用法代碼示例。如果您正苦於以下問題:Java WizardNewProjectCreationPage.setTitle方法的具體用法?Java WizardNewProjectCreationPage.setTitle怎麽用?Java WizardNewProjectCreationPage.setTitle使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.eclipse.ui.dialogs.WizardNewProjectCreationPage
的用法示例。
在下文中一共展示了WizardNewProjectCreationPage.setTitle方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: init
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
/**
* <p>
* Creates the sole wizard page contributed by this base implementation; the
* standard Eclipse WizardNewProjectCreationPage.
* </p>
*
* @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String)
*/
public void init(IWorkbench workbench, IStructuredSelection selection) {
// Set default image for all wizard pages
IPath path = new Path(de.darwinspl.preferences.resource.dwprofile.ui.DwprofileUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON);
Bundle bundle = de.darwinspl.preferences.resource.dwprofile.ui.DwprofileUIPlugin.getDefault().getBundle();
URL url = FileLocator.find(bundle, path, null);
ImageDescriptor descriptor = ImageDescriptor.createFromURL(url);
setDefaultPageImageDescriptor(descriptor);
wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName);
wizardNewProjectCreationPage.setTitle(pageTitle);
wizardNewProjectCreationPage.setDescription(pageDescription);
wizardNewProjectCreationPage.setInitialProjectName(pageProjectName);
this.addPage(wizardNewProjectCreationPage);
setWindowTitle(de.darwinspl.preferences.resource.dwprofile.ui.DwprofileUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE);
}
示例2: init
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
/**
* <p>
* Creates the sole wizard page contributed by this base implementation; the
* standard Eclipse WizardNewProjectCreationPage.
* </p>
*
* @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String)
*/
public void init(IWorkbench workbench, IStructuredSelection selection) {
// Set default image for all wizard pages
IPath path = new Path(eu.hyvar.feature.expression.resource.hyexpression.ui.HyexpressionUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON);
Bundle bundle = eu.hyvar.feature.expression.resource.hyexpression.ui.HyexpressionUIPlugin.getDefault().getBundle();
URL url = FileLocator.find(bundle, path, null);
ImageDescriptor descriptor = ImageDescriptor.createFromURL(url);
setDefaultPageImageDescriptor(descriptor);
wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName);
wizardNewProjectCreationPage.setTitle(pageTitle);
wizardNewProjectCreationPage.setDescription(pageDescription);
wizardNewProjectCreationPage.setInitialProjectName(pageProjectName);
this.addPage(wizardNewProjectCreationPage);
setWindowTitle(eu.hyvar.feature.expression.resource.hyexpression.ui.HyexpressionUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE);
}
示例3: init
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
/**
* <p>
* Creates the sole wizard page contributed by this base implementation; the
* standard Eclipse WizardNewProjectCreationPage.
* </p>
*
* @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String)
*/
public void init(IWorkbench workbench, IStructuredSelection selection) {
// Set default image for all wizard pages
IPath path = new Path(eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui.HyvalidityformulaUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON);
Bundle bundle = eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui.HyvalidityformulaUIPlugin.getDefault().getBundle();
URL url = FileLocator.find(bundle, path, null);
ImageDescriptor descriptor = ImageDescriptor.createFromURL(url);
setDefaultPageImageDescriptor(descriptor);
wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName);
wizardNewProjectCreationPage.setTitle(pageTitle);
wizardNewProjectCreationPage.setDescription(pageDescription);
wizardNewProjectCreationPage.setInitialProjectName(pageProjectName);
this.addPage(wizardNewProjectCreationPage);
setWindowTitle(eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui.HyvalidityformulaUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE);
}
示例4: init
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
/**
* <p>
* Creates the sole wizard page contributed by this base implementation; the
* standard Eclipse WizardNewProjectCreationPage.
* </p>
*
* @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String)
*/
public void init(IWorkbench workbench, IStructuredSelection selection) {
// Set default image for all wizard pages
IPath path = new Path(eu.hyvar.dataValues.resource.hydatavalue.ui.HydatavalueUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON);
Bundle bundle = eu.hyvar.dataValues.resource.hydatavalue.ui.HydatavalueUIPlugin.getDefault().getBundle();
URL url = FileLocator.find(bundle, path, null);
ImageDescriptor descriptor = ImageDescriptor.createFromURL(url);
setDefaultPageImageDescriptor(descriptor);
wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName);
wizardNewProjectCreationPage.setTitle(pageTitle);
wizardNewProjectCreationPage.setDescription(pageDescription);
wizardNewProjectCreationPage.setInitialProjectName(pageProjectName);
this.addPage(wizardNewProjectCreationPage);
setWindowTitle(eu.hyvar.dataValues.resource.hydatavalue.ui.HydatavalueUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE);
}
示例5: init
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
/**
* <p>
* Creates the sole wizard page contributed by this base implementation; the
* standard Eclipse WizardNewProjectCreationPage.
* </p>
*
* @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String)
*/
public void init(IWorkbench workbench, IStructuredSelection selection) {
// Set default image for all wizard pages
IPath path = new Path(eu.hyvar.feature.mapping.resource.hymapping.ui.HymappingUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON);
Bundle bundle = eu.hyvar.feature.mapping.resource.hymapping.ui.HymappingUIPlugin.getDefault().getBundle();
URL url = FileLocator.find(bundle, path, null);
ImageDescriptor descriptor = ImageDescriptor.createFromURL(url);
setDefaultPageImageDescriptor(descriptor);
wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName);
wizardNewProjectCreationPage.setTitle(pageTitle);
wizardNewProjectCreationPage.setDescription(pageDescription);
wizardNewProjectCreationPage.setInitialProjectName(pageProjectName);
this.addPage(wizardNewProjectCreationPage);
setWindowTitle(eu.hyvar.feature.mapping.resource.hymapping.ui.HymappingUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE);
}
示例6: init
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
/**
* <p>
* Creates the sole wizard page contributed by this base implementation; the
* standard Eclipse WizardNewProjectCreationPage.
* </p>
*
* @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String)
*/
public void init(IWorkbench workbench, IStructuredSelection selection) {
// Set default image for all wizard pages
IPath path = new Path(eu.hyvar.feature.constraint.resource.hyconstraints.ui.HyconstraintsUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON);
Bundle bundle = eu.hyvar.feature.constraint.resource.hyconstraints.ui.HyconstraintsUIPlugin.getDefault().getBundle();
URL url = FileLocator.find(bundle, path, null);
ImageDescriptor descriptor = ImageDescriptor.createFromURL(url);
setDefaultPageImageDescriptor(descriptor);
wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName);
wizardNewProjectCreationPage.setTitle(pageTitle);
wizardNewProjectCreationPage.setDescription(pageDescription);
wizardNewProjectCreationPage.setInitialProjectName(pageProjectName);
this.addPage(wizardNewProjectCreationPage);
setWindowTitle(eu.hyvar.feature.constraint.resource.hyconstraints.ui.HyconstraintsUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE);
}
示例7: init
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
/**
* <p>
* Creates the sole wizard page contributed by this base implementation; the
* standard Eclipse WizardNewProjectCreationPage.
* </p>
*
* @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String)
*/
public void init(IWorkbench workbench, IStructuredSelection selection) {
// Set default image for all wizard pages
IPath path = new Path(eu.hyvar.mspl.manifest.resource.hymanifest.ui.HymanifestUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON);
Bundle bundle = eu.hyvar.mspl.manifest.resource.hymanifest.ui.HymanifestUIPlugin.getDefault().getBundle();
URL url = FileLocator.find(bundle, path, null);
ImageDescriptor descriptor = ImageDescriptor.createFromURL(url);
setDefaultPageImageDescriptor(descriptor);
wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName);
wizardNewProjectCreationPage.setTitle(pageTitle);
wizardNewProjectCreationPage.setDescription(pageDescription);
wizardNewProjectCreationPage.setInitialProjectName(pageProjectName);
this.addPage(wizardNewProjectCreationPage);
setWindowTitle(eu.hyvar.mspl.manifest.resource.hymanifest.ui.HymanifestUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE);
}
示例8: addPages
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
@Override
public void addPages() {
super.addPages();
mainPage = new WizardNewProjectCreationPage("basicNewProjectPage") { //$NON-NLS-1$
@Override
public void createControl(Composite parent) {
super.createControl(parent);
createWorkingSetGroup((Composite) getControl(), getSelection(),
new String[] { "org.eclipse.ui.resourceWorkingSetPage" }); //$NON-NLS-1$
Dialog.applyDialogFont(getControl());
}
};
mainPage.setTitle("Android Application");
mainPage.setDescription("Create Android Application Project");
this.addPage(mainPage);
// only add page if there are already projects in the workspace
if (ResourcesPlugin.getWorkspace().getRoot().getProjects().length > 0) {
referencePage = new WizardNewProjectReferencePage("basicReferenceProjectPage");//$NON-NLS-1$
referencePage.setTitle("Project References");
referencePage.setDescription("Project References");
this.addPage(referencePage);
}
}
示例9: addPages
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
@Override
public void addPages() {
super.addPages();
mainPage = new WizardNewProjectCreationPage("basicNewProjectPage") { //$NON-NLS-1$
@Override
public void createControl(Composite parent) {
super.createControl(parent);
createWorkingSetGroup(
(Composite) getControl(),
selection,
new String[] { "org.eclipse.ui.resourceWorkingSetPage" }); //$NON-NLS-1$
Dialog.applyDialogFont(getControl());
}
};
mainPage.setTitle(ResourceMessages.NewProject_title);
mainPage.setDescription(ResourceMessages.NewProject_description);
this.addPage(mainPage);
}
示例10: getWizardNewProjectCreationPage
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
private WizardNewProjectCreationPage getWizardNewProjectCreationPage() {
WizardNewProjectCreationPage mainPage
= new WizardNewProjectCreationPage("wizardnewProjectCreationPage") {
@Override
public void createControl(Composite parent) {
super.createControl(parent);
createWorkingSetGroup(
(Composite) getControl(),
getSelection(),
new String[] { "org.eclipse.ui.resourceWorkingSetPage" });
Dialog.applyDialogFont(getControl());
}
};
String title = getNewProjectTitle();
String description = getDescription();
mainPage.setTitle(title);
mainPage.setDescription(description);
return mainPage;
}
示例11: addPages
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
@Override
public void addPages() {
newProjectPage = new WizardNewProjectCreationPage("Creating Collaboro Project");
newProjectPage.setTitle("Creating Collaboro Project");
newProjectPage.setDescription("A new Collaboro project to develop a DSL collaboratively project will be created");
addPage(newProjectPage);
newUsersPage = new HistoryNewUsers("Adding users");
newUsersPage.setTitle("Community Users");
newUsersPage.setDescription("Add new users to the community");
addPage(newUsersPage);
newCDOConfigurationPage = new CDOConfiguration("CDO Configuration");
newCDOConfigurationPage.setTitle("CDO configuration");
newCDOConfigurationPage.setDescription("Prepare CDO connection");
addPage(newCDOConfigurationPage);
}
示例12: addPages
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
@Override
public void addPages() {
super.addPages();
projectCreationPage = new WizardNewProjectCreationPage("Consolidation Project Wizard");
projectCreationPage.setTitle("Consolidation Project");
projectCreationPage.setDescription("Create a new project for consolidating project "
+ "copies into a variable product line.");
projectConfiguration = ProjectFactory.eINSTANCE.createSPLevoProject();
packageScopeDefinitionWizardPage = new PackageScopeDefinitionWizardPage(projectConfiguration);
packageMapWizardPage = new PackageMapWizardPage(projectConfiguration);
addPage(projectCreationPage);
addPage(new ProjectsSelectionWizardPage(projectConfiguration));
addPage(packageScopeDefinitionWizardPage);
addPage(packageMapWizardPage);
}
示例13: addPages
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
@Override
public void addPages() {
super.addPages();
_pageOne = new WizardNewProjectCreationPage(Constants.PAGE_ONE_NAME);
_pageOne.setTitle(Constants.PAGE_ONE_TITLE);
_pageOne.setDescription(Constants.PAGE_ONE_DESC);
addPage(_pageOne);
_pageTwo = new ConnectToServerPage(Constants.PAGE_TWO_NAME);
_pageTwo.setTitle(Constants.PAGE_TWO_TITLE);
_pageTwo.setDescription(Constants.PAGE_TWO_DESC);
addPage(_pageTwo);
_pageThree = new SelectScriptingPage(Constants.PAGE_THREE_NAME);
_pageThree.setTitle(Constants.PAGE_THREE_TITLE);
_pageThree.setDescription(Constants.PAGE_THREE_DESC);
addPage(_pageThree);
_pageFour = new TestObjectsPage(Constants.PAGE_FOUR_NAME);
_pageFour.setTitle(Constants.PAGE_FOUR_TITLE);
_pageFour.setDescription(Constants.PAGE_FOUR_DESC);
addPage(_pageFour);
}
示例14: addPages
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
/**
* 添加向導
*/
public void addPages() {
this.setWindowTitle("New Hea Business Project");
wizardPage = new WizardNewProjectCreationPage(
"NewExampleComSiteProject");
wizardPage.setTitle("Create a HEA Business Project");
wizardPage.setDescription("基於 HEA Business V2.3 創建 HEA 業務項目");
// wizardPage.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID,
// "icons/banner_ChangeVision1.png"));
this.addPage(wizardPage);
businessConnectionPage = new BusinessConnectionPage();
this.addPage(businessConnectionPage);
uumPreferencesPage = new UumPreferencesPage("hirisun.com","hirisunpass","0","360000");
this.addPage(uumPreferencesPage);
}
示例15: addPages
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
/**
* 添加頁麵
*/
public void addPages() {
this.setWindowTitle("New Hea FrameWork Project");
wizardPage = new WizardNewProjectCreationPage(
"NewExampleComSiteProject");
wizardPage.setTitle("Create a HEA FrameWork Project");
wizardPage.setDescription("基於 HEA FrameWork V2.3 創建 HEA 框架項目");
// wizardPage.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID,
// "icons/banner_ChangeVision1.png"));
this.addPage(wizardPage);
heaAttributePage = new HeaAttributePage();
this.addPage(heaAttributePage);
uumConnectionPage = new HeaConnectionPage();
this.addPage(uumConnectionPage);
uumPreferencesPage = new UumPreferencesPage("hirisun.com","hirisunpass","0","360000");
this.addPage(uumPreferencesPage);
}