本文整理了Java中org.eclipse.ui.dialogs.WizardNewProjectCreationPage.setTitle()
方法的一些代码示例,展示了WizardNewProjectCreationPage.setTitle()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WizardNewProjectCreationPage.setTitle()
方法的具体详情如下:
包路径:org.eclipse.ui.dialogs.WizardNewProjectCreationPage
类名称:WizardNewProjectCreationPage
方法名:setTitle
暂无
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.ide
@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(ResourceMessages.NewProject_title);
mainPage.setDescription(ResourceMessages.NewProject_description);
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(ResourceMessages.NewProject_referenceTitle);
referencePage
.setDescription(ResourceMessages.NewProject_referenceDescription);
this.addPage(referencePage);
}
}
代码示例来源:origin: org.eclipse/org.eclipse.emf.importer
page.setTitle(ImporterPlugin.INSTANCE.getString("_UI_EMFProjectWizard_name"));
page.setDescription(ImporterPlugin.INSTANCE.getString("_UI_CreateEMFProject_label"));
addPage(page);
代码示例来源:origin: org.eclipse/org.eclipse.emf.codegen.ecore.ui
@Override
public void addPages()
{
WizardNewProjectCreationPage newProjectCreationPage = new WizardNewProjectCreationPage("NewProjectCreationPage")
{
@Override
protected boolean validatePage()
{
if (super.validatePage())
{
IPath locationPath = getLocationPath();
genModelProjectLocation = Platform.getLocation().equals(locationPath) ? null : locationPath;
IPath projectPath = getProjectHandle().getFullPath();
genModelContainerPath = projectPath.append("src");
return true;
}
else
{
return false;
}
}
};
newProjectCreationPage.setInitialProjectName(initialProjectName);
newProjectCreationPage.setTitle(GenModelEditPlugin.INSTANCE.getString("_UI_EmptyProject_title"));
newProjectCreationPage.setDescription(GenModelEditPlugin.INSTANCE.getString("_UI_EmptyProject_description"));
addPage(newProjectCreationPage);
}
代码示例来源:origin: org.openl/org.openl.eclipse.ui.wizard
@Override
public void addPages() {
try {
super.addPages();
mainPage = new WizardNewProjectCreationPage("basicNewProjectPage");
mainPage.setTitle(customizer.getString(KEY_NEWPROJECT_TITLE));
mainPage.setDescription(customizer.getString(KEY_NEWPROJECT_DESCRIPTION));
String initialProjectName = customizer.getString(KEY_INITIAL_PROJECT_NAME, null);
if (initialProjectName != null) {
mainPage.setInitialProjectName(initialProjectName);
}
addPage(mainPage);
} catch (Throwable t) {
UtilBase.handleException(t);
}
}
内容来源于网络,如有侵权,请联系作者删除!