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


Java WizardNewProjectCreationPage.setDescription方法代碼示例

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


在下文中一共展示了WizardNewProjectCreationPage.setDescription方法的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);
}
 
開發者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: 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);
	}
}
 
開發者ID:dschaefer,項目名稱:andmore2,代碼行數:26,代碼來源:NewAppWizard.java

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

示例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;
}
 
開發者ID:nasa,項目名稱:OpenSPIFe,代碼行數:23,代碼來源:EnsembleBasicNewProjectResourceWizard.java

示例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);
}
 
開發者ID:SOM-Research,項目名稱:collaboro,代碼行數:18,代碼來源:NewRemoteCollaboroProjectWizard.java

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

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

示例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);
}
 
開發者ID:winture,項目名稱:wt-studio,代碼行數:19,代碼來源:BusinessPorjectWizard.java

示例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);
}
 
開發者ID:winture,項目名稱:wt-studio,代碼行數:21,代碼來源:HeaPorjectWizard.java


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