本文整理汇总了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);
}
示例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;
}
示例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;
}
示例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);
}
示例5: getfFirstPage
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
public NewJavaProjectWizardPageOne getfFirstPage() {
return fFirstPage;
}
示例6: setfFirstPage
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
public void setfFirstPage(NewJavaProjectWizardPageOne fFirstPage) {
this.fFirstPage = fFirstPage;
}
示例7: NewEV3ProjectPageTwo
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne; //导入依赖的package包/类
public NewEV3ProjectPageTwo(NewJavaProjectWizardPageOne mainPage) {
super(mainPage);
}
示例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;
}
示例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