本文整理汇总了Java中org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo类的典型用法代码示例。如果您正苦于以下问题:Java NewJavaProjectWizardPageTwo类的具体用法?Java NewJavaProjectWizardPageTwo怎么用?Java NewJavaProjectWizardPageTwo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
NewJavaProjectWizardPageTwo类属于org.eclipse.jdt.ui.wizards包,在下文中一共展示了NewJavaProjectWizardPageTwo类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addPages
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的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: NewPluginWizard
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的package包/类
public NewPluginWizard()
{
fFirstPage = new NewJPFPluginWizardPageOne();
fSecondPage = new NewJavaProjectWizardPageTwo(fFirstPage);
Format format = Format.getPrettyFormat();
format.setIndent("\t");
format.setOmitEncoding(true);
format.setOmitDeclaration(true);
format.setLineSeparator("\n");
format.setEncoding("UTF-8");
xmlOut = new XMLOutputter(format);
}
示例3: JavaProjectWizard
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的package包/类
public JavaProjectWizard(NewJavaProjectWizardPageOne pageOne, NewJavaProjectWizardPageTwo pageTwo) {
setDefaultPageImageDescriptor(JavaPluginImages.DESC_WIZBAN_NEWJPRJ);
setDialogSettings(JavaPlugin.getDefault().getDialogSettings());
setWindowTitle(NewWizardMessages.JavaProjectWizard_title);
fFirstPage= pageOne;
fSecondPage= pageTwo;
}
示例4: NewPCProject
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的package包/类
public NewPCProject() {
super();
pageOne = new NewPCProjectPageOne();
pageTwo = new NewJavaProjectWizardPageTwo(pageOne);
pageOne.setTitle("New LeJOS EV3 PC Project");
pageOne.setDescription("Create a new LeJOS Project for remote controlling the EV3");
setWindowTitle("New LeJOS EV3 PC Project");
}
示例5: createPageTwo
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的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;
}
示例6: addPages
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的package包/类
@Override
public void addPages() {
pageOne = new NewSplunkSDKProjectWizardPageOne(options);
pageOne.setTitle("Create a Splunk SDK for Java project");
pageOne.setDescription("Enter a project name.");
addPage(pageOne);
pageTwo = new NewJavaProjectWizardPageTwo(pageOne);
pageTwo.setTitle("Project settings");
pageTwo.setDescription("Define the project build settings.");
addPage(pageTwo);
}
示例7: NewRegistryWizard
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的package包/类
public NewRegistryWizard()
{
fFirstPage = new NewJPFRegistryWizardPageOne();
fSecondPage = new NewJavaProjectWizardPageTwo(fFirstPage);
}
示例8: addPages
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的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);
}
示例9: getfSecondPage
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的package包/类
public NewJavaProjectWizardPageTwo getfSecondPage() {
return fSecondPage;
}
示例10: setfSecondPage
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的package包/类
public void setfSecondPage(NewJavaProjectWizardPageTwo fSecondPage) {
this.fSecondPage = fSecondPage;
}
示例11: createPageTwo
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的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;
}
示例12: setConfiguredWizardPages
import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo; //导入依赖的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