當前位置: 首頁>>代碼示例>>Java>>正文


Java WizardNewProjectCreationPage.setInitialProjectName方法代碼示例

本文整理匯總了Java中org.eclipse.ui.dialogs.WizardNewProjectCreationPage.setInitialProjectName方法的典型用法代碼示例。如果您正苦於以下問題:Java WizardNewProjectCreationPage.setInitialProjectName方法的具體用法?Java WizardNewProjectCreationPage.setInitialProjectName怎麽用?Java WizardNewProjectCreationPage.setInitialProjectName使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在org.eclipse.ui.dialogs.WizardNewProjectCreationPage的用法示例。


在下文中一共展示了WizardNewProjectCreationPage.setInitialProjectName方法的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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);
}
 
開發者ID:DarwinSPL,項目名稱:DarwinSPL,代碼行數:25,代碼來源:DwprofileNewProjectWizard.java

示例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);
}
 
開發者ID:DarwinSPL,項目名稱:DarwinSPL,代碼行數:25,代碼來源:HyexpressionNewProjectWizard.java

示例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);
}
 
開發者ID:DarwinSPL,項目名稱:DarwinSPL,代碼行數:25,代碼來源:HyvalidityformulaNewProjectWizard.java

示例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);
}
 
開發者ID:DarwinSPL,項目名稱:DarwinSPL,代碼行數:25,代碼來源:HydatavalueNewProjectWizard.java

示例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);
}
 
開發者ID:DarwinSPL,項目名稱:DarwinSPL,代碼行數:25,代碼來源:HymappingNewProjectWizard.java

示例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);
}
 
開發者ID:DarwinSPL,項目名稱:DarwinSPL,代碼行數:25,代碼來源:HyconstraintsNewProjectWizard.java

示例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);
}
 
開發者ID:DarwinSPL,項目名稱:DarwinSPL,代碼行數:25,代碼來源:HymanifestNewProjectWizard.java

示例8: AbstractCreateNewGemocLanguageProject

import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
public AbstractCreateNewGemocLanguageProject() {
	super();
	this.setWindowTitle("Create Domain Model");
	_askProjectNamePage = new WizardNewProjectCreationPage("NewGemocLanguageProjectName");
	_askProjectNamePage.setTitle("Project");
	_askProjectNamePage.setDescription("Create a new Gemoc Language Project");
	_askProjectNamePage.setInitialProjectName("org.company.my_language.xdsml");
	addPage(_askProjectNamePage);

	_askLanguageNamePage = new AskLanguageNameWizardPage("NewGemocLanguageName");
	_askLanguageNamePage.setTitle("Language");
	_askLanguageNamePage.setDescription("Specify the language name");
	addPage(_askLanguageNamePage);	
}
 
開發者ID:eclipse,項目名稱:gemoc-studio-modeldebugging,代碼行數:15,代碼來源:AbstractCreateNewGemocLanguageProject.java

示例9: addPages

import org.eclipse.ui.dialogs.WizardNewProjectCreationPage; //導入方法依賴的package包/類
@Override
public void addPages() {

	newProjectPage = new WizardNewProjectCreationPage("Project"); //$NON-NLS-1$
	newProjectPage.setInitialProjectName("New Project"); //$NON-NLS-1$
	newProjectPage.setTitle("Create a Time4Sys Modeling project"); //$NON-NLS-1$
	newProjectPage.setDescription("Enter a project name"); //$NON-NLS-1$
	addPage(newProjectPage);

	modelPage = new ModelWizardInitPage("New model");
	modelPage.setTitle("Time4Sys project creation");
	modelPage.setDescription("Create a new Time4Sys Project");
	addPage(modelPage);
}
 
開發者ID:polarsys,項目名稱:time4sys,代碼行數:15,代碼來源:Time4SysProjectWizard.java


注:本文中的org.eclipse.ui.dialogs.WizardNewProjectCreationPage.setInitialProjectName方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。