org.eclipse.ui.dialogs.WizardNewProjectCreationPage Java Examples
The following examples show how to use
org.eclipse.ui.dialogs.WizardNewProjectCreationPage.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NewJavaProjectWizardPage.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 6 votes |
/** * Creates a Java project wizard creation page. * <p> * The Java project wizard reads project name and location from the main page. * </p> * * @param root the workspace root * @param mainpage the main page of the wizard */ public NewJavaProjectWizardPage(IWorkspaceRoot root, WizardNewProjectCreationPage mainpage) { super(PAGE_NAME); setTitle(NewWizardMessages.NewJavaProjectWizardPage_title); setDescription(NewWizardMessages.NewJavaProjectWizardPage_description); fMainPage= mainpage; IStatusChangeListener listener= new IStatusChangeListener() { public void statusChanged(IStatus status) { updateStatus(status); } }; fBuildPathsBlock= new BuildPathsBlock(new BusyIndicatorRunnableContext(), listener, 0, false, null); fProjectModified= true; fOutputLocation= null; fClasspathEntries= null; }
Example #2
Source File: M2DocNewProjectWizard.java From M2Doc with Eclipse Public License 1.0 | 5 votes |
@Override public void addPages() { newProjectPage = new WizardNewProjectCreationPage("basicNewProjectPage"); addPage(newProjectPage); newTemplatePage = new M2DocNewTemplatePage(newProjectPage); addPage(newTemplatePage); variablePage = new M2DocMainVariablePage(); addPage(variablePage); generationPage = new M2DocGenerationPage(newTemplatePage, variablePage); addPage(generationPage); }
Example #3
Source File: BazelWizard.java From eclipse with Apache License 2.0 | 5 votes |
@Override public void addPages() { page1 = new WizardNewProjectCreationPage("Creating a new Bazel import project"); page2 = new WorkspaceWizardPage(); addPage(page1); addPage(page2); }
Example #4
Source File: NewStatechartProjectWizard.java From statecharts with Eclipse Public License 1.0 | 5 votes |
protected void initProjectCreationPage() { mainPage = new WizardNewProjectCreationPage("basicNewProjectPage"); mainPage.setTitle("Project"); mainPage.setDescription("Create a new project resource."); mainPage.setImageDescriptor(StatechartImages.LOGO.imageDescriptor()); addPage(mainPage); }
Example #5
Source File: NewSlrProjectWizard.java From slr-toolkit with Eclipse Public License 1.0 | 5 votes |
public NewSlrProjectWizard() { setWindowTitle("New SLR Project"); firstPage = new WizardNewProjectCreationPage("SLR Project Wizard"); firstPage.setTitle("Create a new SLR Project"); firstPage.setDescription("Please enter the project name."); secondPage = new WizardSetupBibtexPage("Setup bibtex"); thirdPage = new WizardSetupTaxonomyPage("Setup taxonomy"); fourthPage = new WizardSetupMetainformationPage("Setup metainformation"); }
Example #6
Source File: TemplateNewProjectWizard.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
protected WizardNewProjectCreationPage createMainPage(String pageName) { return new WizardNewProjectCreationPage(pageName); }
Example #7
Source File: NewReportProjectWizard.java From birt with Eclipse Public License 1.0 | 4 votes |
public void addPages( ) { super.addPages( ); mainPage = new WizardNewProjectCreationPage( "basicNewProjectPage" ) { //$NON-NLS-1$ public void createControl( Composite parent ) { super.createControl( parent ); UIUtil.bindHelp( getControl( ), IHelpContextIds.NEW_REPORT_PROJECT_ID ); // Group group = new Group( (Composite) super.getControl( ), // SWT.NONE ); // group.setText( Messages // .getString( "NewReportProjectWizard.projectSetting" ) ); // //$NON-NLS-1$ // GridLayout layout = new GridLayout( ); // layout.numColumns = 2; // group.setLayout( layout ); // group.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) // ); // // Button javaButton = createButton( group ); // javaButton.setText( Messages // .getString( "NewReportProjectWizard.javaProject" ) ); // javaButton.addSelectionListener( new SelectionAdapter( ) // { // // public void widgetSelected( SelectionEvent e ) // { // isJavaProject = !isJavaProject; // sourceText.setEnabled( isJavaProject ); // outputText.setEnabled( isJavaProject ); // } // } ); // // createLabel( group, Messages // .getString( "NewReportProjectWizard.src" ) ); //$NON-NLS-1$ // sourceText = createText( group ); // // IPreferenceStore store = PreferenceConstants // .getPreferenceStore( ); // sourceText.setText( store // .getString( PreferenceConstants.SRCBIN_SRCNAME ) ); // sourceText.setEnabled( isJavaProject ); // // createLabel( group, Messages // .getString( "NewReportProjectWizard.bin" ) ); //$NON-NLS-1$ // outputText = createText( group ); // outputText.setText( store // .getString( PreferenceConstants.SRCBIN_BINNAME ) ); // outputText.setEnabled( isJavaProject ); } /* * (non-Javadoc) * * @see org.eclipse.jface.wizard.WizardPage#isPageComplete() */ public boolean isPageComplete( ) { return validatePage( ) || super.isPageComplete( ); } }; mainPage.setTitle( Messages.getString( "NewReportProjectWizard.title" ) ); //$NON-NLS-1$ mainPage.setDescription( Messages.getString( "NewReportProjectWizard.description" ) ); //$NON-NLS-1$ this.addPage( mainPage ); }
Example #8
Source File: M2DocNewTemplatePage.java From M2Doc with Eclipse Public License 1.0 | 2 votes |
/** * Constructor. * * @param newProjectPage * the {@link WizardNewProjectCreationPage} */ public M2DocNewTemplatePage(WizardNewProjectCreationPage newProjectPage) { super("Select M2Doc template name."); this.newProjectPage = newProjectPage; this.defaultTempateName = null; }