@Override protected void createFields() { pAuthors = addTextField(Messages.getString("wizard.newproject.pages.project.authors")); pVersion = addTextField(Messages.getString("wizard.newproject.pages.project.version")); pRelease = addTextField(Messages.getString("wizard.newproject.pages.project.release")); // TODO use preferences to select the default one pLanguage = addComboBox( Messages.getString("wizard.newproject.pages.project.language"), IConfigConstants.LANGUAGES); pLanguage.select(1); // TODO use preferences to select the default one pTheme = addComboBox( Messages.getString("wizard.newproject.pages.project.theme"), IConfigConstants.HTML_THEMES); pTheme.select(1); pSeparateSourceBuild = addCheckBox(Messages.getString("wizard.newproject.pages.project.separatedsources")); pSeparateSourceBuild.setSelection(true); pExtensionTodo = addCheckBox(Messages.getString("wizard.newproject.pages.project.ext.todo")); pExtensionTodo.setSelection(true); }
/** * Sets up the wizard page * * @param aPageName Page name */ protected ProjectPropertiesPage(final String aPageName) { super(aPageName); setTitle(Messages.getString("wizard.newproject.pages.project.title")); setDescription(Messages.getString("wizard.newproject.pages.project.description")); }