/** * <p> * Creates the sole wizard page contributed by this base implementation; the * standard Eclipse WizardNewProjectCreationPage. * </p> * * @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String) */ public void init(IWorkbench workbench, IStructuredSelection selection) { // Set default image for all wizard pages IPath path = new Path(de.darwinspl.preferences.resource.dwprofile.ui.DwprofileUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON); Bundle bundle = de.darwinspl.preferences.resource.dwprofile.ui.DwprofileUIPlugin.getDefault().getBundle(); URL url = FileLocator.find(bundle, path, null); ImageDescriptor descriptor = ImageDescriptor.createFromURL(url); setDefaultPageImageDescriptor(descriptor); wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName); wizardNewProjectCreationPage.setTitle(pageTitle); wizardNewProjectCreationPage.setDescription(pageDescription); wizardNewProjectCreationPage.setInitialProjectName(pageProjectName); this.addPage(wizardNewProjectCreationPage); setWindowTitle(de.darwinspl.preferences.resource.dwprofile.ui.DwprofileUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE); }
/** * <p> * Creates the sole wizard page contributed by this base implementation; the * standard Eclipse WizardNewProjectCreationPage. * </p> * * @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String) */ public void init(IWorkbench workbench, IStructuredSelection selection) { // Set default image for all wizard pages IPath path = new Path(eu.hyvar.feature.expression.resource.hyexpression.ui.HyexpressionUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON); Bundle bundle = eu.hyvar.feature.expression.resource.hyexpression.ui.HyexpressionUIPlugin.getDefault().getBundle(); URL url = FileLocator.find(bundle, path, null); ImageDescriptor descriptor = ImageDescriptor.createFromURL(url); setDefaultPageImageDescriptor(descriptor); wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName); wizardNewProjectCreationPage.setTitle(pageTitle); wizardNewProjectCreationPage.setDescription(pageDescription); wizardNewProjectCreationPage.setInitialProjectName(pageProjectName); this.addPage(wizardNewProjectCreationPage); setWindowTitle(eu.hyvar.feature.expression.resource.hyexpression.ui.HyexpressionUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE); }
/** * <p> * Creates the sole wizard page contributed by this base implementation; the * standard Eclipse WizardNewProjectCreationPage. * </p> * * @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String) */ public void init(IWorkbench workbench, IStructuredSelection selection) { // Set default image for all wizard pages IPath path = new Path(eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui.HyvalidityformulaUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON); Bundle bundle = eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui.HyvalidityformulaUIPlugin.getDefault().getBundle(); URL url = FileLocator.find(bundle, path, null); ImageDescriptor descriptor = ImageDescriptor.createFromURL(url); setDefaultPageImageDescriptor(descriptor); wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName); wizardNewProjectCreationPage.setTitle(pageTitle); wizardNewProjectCreationPage.setDescription(pageDescription); wizardNewProjectCreationPage.setInitialProjectName(pageProjectName); this.addPage(wizardNewProjectCreationPage); setWindowTitle(eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui.HyvalidityformulaUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE); }
/** * <p> * Creates the sole wizard page contributed by this base implementation; the * standard Eclipse WizardNewProjectCreationPage. * </p> * * @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String) */ public void init(IWorkbench workbench, IStructuredSelection selection) { // Set default image for all wizard pages IPath path = new Path(eu.hyvar.dataValues.resource.hydatavalue.ui.HydatavalueUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON); Bundle bundle = eu.hyvar.dataValues.resource.hydatavalue.ui.HydatavalueUIPlugin.getDefault().getBundle(); URL url = FileLocator.find(bundle, path, null); ImageDescriptor descriptor = ImageDescriptor.createFromURL(url); setDefaultPageImageDescriptor(descriptor); wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName); wizardNewProjectCreationPage.setTitle(pageTitle); wizardNewProjectCreationPage.setDescription(pageDescription); wizardNewProjectCreationPage.setInitialProjectName(pageProjectName); this.addPage(wizardNewProjectCreationPage); setWindowTitle(eu.hyvar.dataValues.resource.hydatavalue.ui.HydatavalueUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE); }
/** * <p> * Creates the sole wizard page contributed by this base implementation; the * standard Eclipse WizardNewProjectCreationPage. * </p> * * @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String) */ public void init(IWorkbench workbench, IStructuredSelection selection) { // Set default image for all wizard pages IPath path = new Path(eu.hyvar.feature.mapping.resource.hymapping.ui.HymappingUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON); Bundle bundle = eu.hyvar.feature.mapping.resource.hymapping.ui.HymappingUIPlugin.getDefault().getBundle(); URL url = FileLocator.find(bundle, path, null); ImageDescriptor descriptor = ImageDescriptor.createFromURL(url); setDefaultPageImageDescriptor(descriptor); wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName); wizardNewProjectCreationPage.setTitle(pageTitle); wizardNewProjectCreationPage.setDescription(pageDescription); wizardNewProjectCreationPage.setInitialProjectName(pageProjectName); this.addPage(wizardNewProjectCreationPage); setWindowTitle(eu.hyvar.feature.mapping.resource.hymapping.ui.HymappingUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE); }
/** * <p> * Creates the sole wizard page contributed by this base implementation; the * standard Eclipse WizardNewProjectCreationPage. * </p> * * @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String) */ public void init(IWorkbench workbench, IStructuredSelection selection) { // Set default image for all wizard pages IPath path = new Path(eu.hyvar.feature.constraint.resource.hyconstraints.ui.HyconstraintsUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON); Bundle bundle = eu.hyvar.feature.constraint.resource.hyconstraints.ui.HyconstraintsUIPlugin.getDefault().getBundle(); URL url = FileLocator.find(bundle, path, null); ImageDescriptor descriptor = ImageDescriptor.createFromURL(url); setDefaultPageImageDescriptor(descriptor); wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName); wizardNewProjectCreationPage.setTitle(pageTitle); wizardNewProjectCreationPage.setDescription(pageDescription); wizardNewProjectCreationPage.setInitialProjectName(pageProjectName); this.addPage(wizardNewProjectCreationPage); setWindowTitle(eu.hyvar.feature.constraint.resource.hyconstraints.ui.HyconstraintsUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE); }
/** * <p> * Creates the sole wizard page contributed by this base implementation; the * standard Eclipse WizardNewProjectCreationPage. * </p> * * @see WizardNewProjectCreationPage#WizardNewProjectCreationPage(String) */ public void init(IWorkbench workbench, IStructuredSelection selection) { // Set default image for all wizard pages IPath path = new Path(eu.hyvar.mspl.manifest.resource.hymanifest.ui.HymanifestUIResourceBundle.NEW_PROJECT_WIZARD_PAGE_ICON); Bundle bundle = eu.hyvar.mspl.manifest.resource.hymanifest.ui.HymanifestUIPlugin.getDefault().getBundle(); URL url = FileLocator.find(bundle, path, null); ImageDescriptor descriptor = ImageDescriptor.createFromURL(url); setDefaultPageImageDescriptor(descriptor); wizardNewProjectCreationPage = new WizardNewProjectCreationPage(pageName); wizardNewProjectCreationPage.setTitle(pageTitle); wizardNewProjectCreationPage.setDescription(pageDescription); wizardNewProjectCreationPage.setInitialProjectName(pageProjectName); this.addPage(wizardNewProjectCreationPage); setWindowTitle(eu.hyvar.mspl.manifest.resource.hymanifest.ui.HymanifestUIResourceBundle.NEW_PROJECT_WIZARD_WINDOW_TITLE); }
@Override public void addPages() { super.addPages(); mainPage = new WizardNewProjectCreationPage("basicNewProjectPage") { //$NON-NLS-1$ @Override public void createControl(Composite parent) { super.createControl(parent); createWorkingSetGroup((Composite) getControl(), getSelection(), new String[] { "org.eclipse.ui.resourceWorkingSetPage" }); //$NON-NLS-1$ Dialog.applyDialogFont(getControl()); } }; mainPage.setTitle("Android Application"); mainPage.setDescription("Create Android Application Project"); this.addPage(mainPage); // only add page if there are already projects in the workspace if (ResourcesPlugin.getWorkspace().getRoot().getProjects().length > 0) { referencePage = new WizardNewProjectReferencePage("basicReferenceProjectPage");//$NON-NLS-1$ referencePage.setTitle("Project References"); referencePage.setDescription("Project References"); this.addPage(referencePage); } }
/** * @see org.eclipse.jface.wizard.Wizard#addPages() */ @Override public void addPages() { this.projectCreationPage = new WizardNewProjectCreationPage("basicNewProjectPage") { //$NON-NLS-1$ @Override public void createControl(Composite parent) { super.createControl(parent); createWorkingSetGroup((Composite) getControl(), getSelection(), new String[] { "org.eclipse.ui.resourceWorkingSetPage" }); //$NON-NLS-1$ Dialog.applyDialogFont(getControl()); } }; this.projectCreationPage.setTitle(Messages.NewArduinoSCTProjectWizard_title); this.projectCreationPage.setDescription(Messages.NewArduinoSCTProjectWizard_description); this.arduinoSCTWizardPage = new ArduinoSCTWizardPage(); this.arduinoSCTWizardPage.setTitle(Messages.NewArduinoSCTProjectWizard_title); addPage(this.projectCreationPage); addPage(this.arduinoSCTWizardPage); }
@Override public void addPages() { super.addPages(); mainPage = new WizardNewProjectCreationPage("basicNewProjectPage") { //$NON-NLS-1$ @Override public void createControl(Composite parent) { super.createControl(parent); createWorkingSetGroup( (Composite) getControl(), selection, new String[] { "org.eclipse.ui.resourceWorkingSetPage" }); //$NON-NLS-1$ Dialog.applyDialogFont(getControl()); } }; mainPage.setTitle(ResourceMessages.NewProject_title); mainPage.setDescription(ResourceMessages.NewProject_description); this.addPage(mainPage); }
private WizardNewProjectCreationPage getWizardNewProjectCreationPage() { WizardNewProjectCreationPage mainPage = new WizardNewProjectCreationPage("wizardnewProjectCreationPage") { @Override public void createControl(Composite parent) { super.createControl(parent); createWorkingSetGroup( (Composite) getControl(), getSelection(), new String[] { "org.eclipse.ui.resourceWorkingSetPage" }); Dialog.applyDialogFont(getControl()); } }; String title = getNewProjectTitle(); String description = getDescription(); mainPage.setTitle(title); mainPage.setDescription(description); return mainPage; }
/** * 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; }
@Override public void addPages() { newProjectPage = new WizardNewProjectCreationPage("Creating Collaboro Project"); newProjectPage.setTitle("Creating Collaboro Project"); newProjectPage.setDescription("A new Collaboro project to develop a DSL collaboratively project will be created"); addPage(newProjectPage); newUsersPage = new HistoryNewUsers("Adding users"); newUsersPage.setTitle("Community Users"); newUsersPage.setDescription("Add new users to the community"); addPage(newUsersPage); newCDOConfigurationPage = new CDOConfiguration("CDO Configuration"); newCDOConfigurationPage.setTitle("CDO configuration"); newCDOConfigurationPage.setDescription("Prepare CDO connection"); addPage(newCDOConfigurationPage); }
@Override public void addPages() { super.addPages(); projectCreationPage = new WizardNewProjectCreationPage("Consolidation Project Wizard"); projectCreationPage.setTitle("Consolidation Project"); projectCreationPage.setDescription("Create a new project for consolidating project " + "copies into a variable product line."); projectConfiguration = ProjectFactory.eINSTANCE.createSPLevoProject(); packageScopeDefinitionWizardPage = new PackageScopeDefinitionWizardPage(projectConfiguration); packageMapWizardPage = new PackageMapWizardPage(projectConfiguration); addPage(projectCreationPage); addPage(new ProjectsSelectionWizardPage(projectConfiguration)); addPage(packageScopeDefinitionWizardPage); addPage(packageMapWizardPage); }
@Override public void addPages() { super.addPages(); _pageOne = new WizardNewProjectCreationPage(Constants.PAGE_ONE_NAME); _pageOne.setTitle(Constants.PAGE_ONE_TITLE); _pageOne.setDescription(Constants.PAGE_ONE_DESC); addPage(_pageOne); _pageTwo = new ConnectToServerPage(Constants.PAGE_TWO_NAME); _pageTwo.setTitle(Constants.PAGE_TWO_TITLE); _pageTwo.setDescription(Constants.PAGE_TWO_DESC); addPage(_pageTwo); _pageThree = new SelectScriptingPage(Constants.PAGE_THREE_NAME); _pageThree.setTitle(Constants.PAGE_THREE_TITLE); _pageThree.setDescription(Constants.PAGE_THREE_DESC); addPage(_pageThree); _pageFour = new TestObjectsPage(Constants.PAGE_FOUR_NAME); _pageFour.setTitle(Constants.PAGE_FOUR_TITLE); _pageFour.setDescription(Constants.PAGE_FOUR_DESC); addPage(_pageFour); }
/** * 添加向导 */ public void addPages() { this.setWindowTitle("New Hea Business Project"); wizardPage = new WizardNewProjectCreationPage( "NewExampleComSiteProject"); wizardPage.setTitle("Create a HEA Business Project"); wizardPage.setDescription("基于 HEA Business V2.3 创建 HEA 业务项目"); // wizardPage.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID, // "icons/banner_ChangeVision1.png")); this.addPage(wizardPage); businessConnectionPage = new BusinessConnectionPage(); this.addPage(businessConnectionPage); uumPreferencesPage = new UumPreferencesPage("hirisun.com","hirisunpass","0","360000"); this.addPage(uumPreferencesPage); }
/** * 添加页面 */ public void addPages() { this.setWindowTitle("New Hea FrameWork Project"); wizardPage = new WizardNewProjectCreationPage( "NewExampleComSiteProject"); wizardPage.setTitle("Create a HEA FrameWork Project"); wizardPage.setDescription("基于 HEA FrameWork V2.3 创建 HEA 框架项目"); // wizardPage.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID, // "icons/banner_ChangeVision1.png")); this.addPage(wizardPage); heaAttributePage = new HeaAttributePage(); this.addPage(heaAttributePage); uumConnectionPage = new HeaConnectionPage(); this.addPage(uumConnectionPage); uumPreferencesPage = new UumPreferencesPage("hirisun.com","hirisunpass","0","360000"); this.addPage(uumPreferencesPage); }
public void addPages() { super.addPages(); fMainPage = new WizardNewProjectCreationPage("Page 1"); fMainPage.setTitle(WIZARD_PROJECT_MAINPAGE_TITLE); fMainPage.setDescription(WIZARD_PROJECT_MAINPAGE_DESCRIPTION); addPage(fMainPage); fTomcatPage = new NewTomcatProjectWizardPage(this, "NewTomcatProjectPage"); fTomcatPage.setTitle(WIZARD_PROJECT_TOMCATPAGE_TITLE); fTomcatPage.setDescription(WIZARD_PROJECT_TOMCATPAGE_DESCRIPTION); addPage(fTomcatPage); IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); fJavaPage = new NewJavaProjectWizardPage(root, fMainPage); // addPage(fJavaPage); }
/** * This method create the window in which the user can enter the name of his modeling project */ @Override public void addPages() { super.addPages(); _pageOne = new WizardNewProjectCreationPage(WIZARD_NAME); _pageOne.setTitle(WIZARD_NAME); _pageOne.setDescription("This wizard allows you to create a new SimQRi project"); addPage(_pageOne); }
public AbstractCreateNewGemocLanguageProject() { super(); this.setWindowTitle("Create Domain Model"); _askProjectNamePage = new WizardNewProjectCreationPage("NewGemocLanguageProjectName"); _askProjectNamePage.setTitle("Project"); _askProjectNamePage.setDescription("Create a new Gemoc Language Project"); _askProjectNamePage.setInitialProjectName("org.company.my_language.xdsml"); addPage(_askProjectNamePage); _askLanguageNamePage = new AskLanguageNameWizardPage("NewGemocLanguageName"); _askLanguageNamePage.setTitle("Language"); _askLanguageNamePage.setDescription("Specify the language name"); addPage(_askLanguageNamePage); }
@Override public void addPages() { newProjectPage = new WizardNewProjectCreationPage("Project"); //$NON-NLS-1$ newProjectPage.setInitialProjectName("New Project"); //$NON-NLS-1$ newProjectPage.setTitle("Create a Time4Sys Modeling project"); //$NON-NLS-1$ newProjectPage.setDescription("Enter a project name"); //$NON-NLS-1$ addPage(newProjectPage); modelPage = new ModelWizardInitPage("New model"); modelPage.setTitle("Time4Sys project creation"); modelPage.setDescription("Create a new Time4Sys Project"); addPage(modelPage); }
@Override public void addPages() { super.addPages(); pageOne = new WizardNewProjectCreationPage(PAGE_NAME); pageOne.setTitle(WIZARD_NAME); pageOne.setDescription(NewWizardMessages.LEProjectNewWizard_Create_New); addPage(pageOne); }
@Override public void addPages() { page1 = new WizardNewProjectCreationPage("Creating a new Bazel import project"); page2 = new WorkspaceWizardPage(); addPage(page1); addPage(page2); }
/** * @see org.eclipse.jface.dialogs.DialogPage#setVisible(boolean) */ @Override public void setVisible(boolean visible) { super.setVisible(visible); this.statechartNameText.setText(((WizardNewProjectCreationPage) getPreviousPage()).getProjectName()); }
@Override public void addPages() { super.addPages(); _pageOne = new WizardNewProjectCreationPage("Requirement Traceability Project Wizard"); _pageOne.setTitle("New Project Wizard"); _pageOne.setDescription("Create a new traceability project."); addPage(_pageOne); }
/** * Use this method to add pages to the wizard. * The one-time generated version of this class will add a default new project page to the wizard. */ public void addPages() { mainPage = new WizardNewProjectCreationPage("basicNewProjectPage"); mainPage.setTitle("Phdl Project"); mainPage.setDescription("Create a new Phdl project."); addPage(mainPage); }
@Override public void addPages() { // TODO Auto-generated method stub super.addPages(); fPage = new WizardNewProjectCreationPage("Create Php-based umple project "); fPage.setTitle("Php-based Umple Project"); fPage.setDescription("This project creates an Umple project with Php features."); addPage(fPage); }
@Override public void addPages() { // TODO Auto-generated method stub super.addPages(); fPage = new WizardNewProjectCreationPage("Create NuSMV-based umple project "); fPage.setTitle("NuSMV-based Umple Project"); fPage.setDescription("This project creates an Umple project with NuSMV features."); addPage(fPage); }
@Override public void addPages() { // TODO Auto-generated method stub super.addPages(); fPage = new WizardNewProjectCreationPage("Create Java-based umple project "); fPage.setTitle("Java-based Umple Project"); fPage.setDescription("This project creates an Umple project with Java features."); addPage(fPage); }
@Override public void addPages() { // TODO Auto-generated method stub super.addPages(); fPage = new WizardNewProjectCreationPage("Create Cpp-based umple project "); fPage.setTitle("Cpp-based Umple Project"); fPage.setDescription("This project creates an Umple project with C++ features."); addPage(fPage); }
@Override public void addPages() { // TODO Auto-generated method stub super.addPages(); fPage = new WizardNewProjectCreationPage("Create general umple project "); fPage.setTitle("General Umple Project"); fPage.setDescription("This project creates a general Umple project."); addPage(fPage); }
@Override public void addPages() { super.addPages(); _newProjectPage = new WizardNewProjectCreationPage( "New Gauge Project Wizard"); _newProjectPage.setTitle("New Gauge Project"); _newProjectPage.setDescription("Create a new Gauge Test Project."); addPage(_newProjectPage); }
@Override public void createPageControls(Composite pageContainer) { super.createPageControls(pageContainer); // Set properties on the basicNewProjectPage final WizardNewProjectCreationPage basicNewProjectPage = getBasicNewProjectPage(); if (basicNewProjectPage != null) { basicNewProjectPage.setTitle("Create an Activiti Project"); basicNewProjectPage.setImageDescriptor(ActivitiPlugin.getImageDescriptor(PluginImage.ACTIVITI_LOGO_64x64)); basicNewProjectPage.setDescription("Create an Activiti Project in the workspace."); } }
@Override public IWizardPage getNextPage(IWizardPage page) { if (page instanceof WizardNewProjectCreationPage && !validateProjectName((WizardNewProjectCreationPage) page)) { return null; } return super.getNextPage(page); }
private static boolean validateProjectName(WizardNewProjectCreationPage projectCreationPage) { if (!projectCreationPage.getProjectName().matches("[a-zA-Z0-9._ ]+")) { projectCreationPage.setErrorMessage( "The project name must only contain alphanumeric characters and dots, underscores, " + "and whitespaces."); return false; } projectCreationPage.setErrorMessage(null); return true; }
@Override public void addPages() { super.addPages(); _mainPage = new WizardNewProjectCreationPage(ResourceLoader.getString("DIALOG_TITLE_NEW_PROJECT")); _mainPage.setTitle(ResourceLoader.getString("DIALOG_TITLE_NEW_PROJECT")); _mainPage.setDescription(ResourceLoader.getString("DIALOG_MESSAGE_NEW_PROJECT")); addPage(_mainPage); }
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"); }
@Override public void addPages() { newProjectPage = new WizardNewProjectCreationPage("Creating Collaboro Project"); newProjectPage.setTitle("Creating Collaboro Project"); newProjectPage.setDescription("A new Collaboro project to develop a DSL collaboratively project will be created"); addPage(newProjectPage); newUsersPage = new HistoryNewUsers("Adding users"); newUsersPage.setTitle("Community Users"); newUsersPage.setDescription("Add new users to the community"); addPage(newUsersPage); }