当前位置: 首页>>代码示例>>Java>>正文


Java NewJavaProjectWizardPageOne类代码示例

本文整理汇总了Java中org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne的典型用法代码示例。如果您正苦于以下问题:Java NewJavaProjectWizardPageOne类的具体用法?Java NewJavaProjectWizardPageOne怎么用?Java NewJavaProjectWizardPageOne使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


NewJavaProjectWizardPageOne类属于org.eclipse.jdt.ui.wizards包,在下文中一共展示了NewJavaProjectWizardPageOne类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: addPages

import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
@Override
public void addPages() {
 

  {
    fFirstPage = new NewJavaProjectWizardPageOne();
    addPage(fFirstPage);
  }
  {
    fSecondPage = new NewJavaProjectWizardPageTwo(fFirstPage);
    addPage(fSecondPage);
  }
 // fFirstPage.init(getSelection(), getActivePart());
  addPage(newProjectNameAndLocationWizardPage);
  addPage(choseOpsTempletWizardPage);
  
}
 
开发者ID:HuaweiSNC,项目名称:OpsDev,代码行数:18,代码来源:DesignerJavaProjectWizard.java

示例2: JavaProjectWizard

import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
public JavaProjectWizard(NewJavaProjectWizardPageOne pageOne, NewJavaProjectWizardPageTwo pageTwo) {
	setDefaultPageImageDescriptor(JavaPluginImages.DESC_WIZBAN_NEWJPRJ);
	setDialogSettings(JavaPlugin.getDefault().getDialogSettings());
	setWindowTitle(NewWizardMessages.JavaProjectWizard_title);

	fFirstPage= pageOne;
	fSecondPage= pageTwo;
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:9,代码来源:JavaProjectWizard.java

示例3: createPageTwo

import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
@Override
protected NewJavaProjectWizardPageTwo createPageTwo(NewJavaProjectWizardPageOne mainPage) {
    NewJavaProjectWizardPageTwo page = super.createPageTwo(mainPage);
    page.setImageDescriptor(RoboVMPlugin.getDefault().getImageRegistry()
            .getDescriptor(RoboVMPlugin.IMAGE_NEW_IOS_PROJECT_BANNER));
    return page;
}
 
开发者ID:robovm,项目名称:robovm-eclipse,代码行数:8,代码来源:NewCocoaTouchProjectWizard.java

示例4: addPages

import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
public void addPages() {
	super.addPages();

	mainPage = new NewJavaProjectWizardPageOne() {
		public void createControl(Composite parent) {
			initializeDialogUnits(parent);

			Composite composite = new Composite(parent, SWT.NULL);
			composite.setFont(parent.getFont());
			composite.setLayout(new GridLayout(1, false));
			composite.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));

			// create UI elements
			Control nameControl = createNameControl(composite);
			nameControl.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));

			Control jreControl = createJRESelectionControl(composite);
			jreControl.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));

			Control workingSetControl = createWorkingSetControl(composite);
			workingSetControl.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
			workingSetControl.setVisible(false);

			Control infoControl = createInfoControl(composite);
			infoControl.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
			infoControl.setVisible(false);

			setControl(composite);
		}

		public IClasspathEntry[] getSourceClasspathEntries() {
			return  GW4ENature.getSourceClasspathEntries(getProjectName());
		}

		public IPath getOutputLocation() {
			return GW4ENature.getOutputLocation(getProjectName());
		}
	};

	addPage(mainPage);
	javaPage = new NewJavaProjectWizardPageTwo(mainPage);
	addPage(javaPage);
	List<TemplateProvider>  templates = TemplateProvider.getTemplates();
	fExtraPage = new GW4ETemplatePage(this,templates,false);
	addPage(fExtraPage);
	fMavenPage = new MavenTemplatePage(this);
	addPage(fMavenPage);
}
 
开发者ID:gw4e,项目名称:gw4e.project,代码行数:49,代码来源:GW4ECreationWizard.java

示例5: getfFirstPage

import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
public NewJavaProjectWizardPageOne getfFirstPage() {
	return fFirstPage;
}
 
开发者ID:HuaweiSNC,项目名称:OpsDev,代码行数:4,代码来源:DesignerJavaProjectWizard.java

示例6: setfFirstPage

import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
public void setfFirstPage(NewJavaProjectWizardPageOne fFirstPage) {
	this.fFirstPage = fFirstPage;
}
 
开发者ID:HuaweiSNC,项目名称:OpsDev,代码行数:4,代码来源:DesignerJavaProjectWizard.java

示例7: NewEV3ProjectPageTwo

import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
public NewEV3ProjectPageTwo(NewJavaProjectWizardPageOne mainPage) {
	super(mainPage);
}
 
开发者ID:JanKoehnlein,项目名称:XRobot,代码行数:4,代码来源:NewEV3ProjectPageTwo.java

示例8: createPageTwo

import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
protected NewJavaProjectWizardPageTwo createPageTwo(NewJavaProjectWizardPageOne mainPage) {
    NewJavaProjectWizardPageTwo page = new NewJavaProjectWizardPageTwo(mainPage);
    page.setImageDescriptor(RoboVMPlugin.getDefault().getImageRegistry()
            .getDescriptor(RoboVMPlugin.IMAGE_NEW_CONSOLE_PROJECT_BANNER));
    return page;
}
 
开发者ID:robovm,项目名称:robovm-eclipse,代码行数:7,代码来源:NewProjectWizard.java

示例9: setConfiguredWizardPages

import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
/**
 * Sets the configure wizard pages to be used by the wizard.
 *
 * @param pageOne the {@link NewJavaProjectWizardPageOne} page to use or <code>null</code> to use the default page.
 * @param pageTwo the {@link NewJavaProjectWizardPageTwo} page to use or <code>null</code> to use the default page.
 *
 * @since 3.4
 */
public void setConfiguredWizardPages(NewJavaProjectWizardPageOne pageOne, NewJavaProjectWizardPageTwo pageTwo) {
	fPageOne= pageOne;
	fPageTwo= pageTwo;
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:13,代码来源:OpenNewJavaProjectWizardAction.java


注:本文中的org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。