checkGUIState();
projectNameModified();
	public void createControl(Composite parent) {		Composite container = new Composite(parent, SWT.NULL);		GridLayout layout = new GridLayout(1,false);		layout.verticalSpacing = 5;		container.setLayout(layout);                this.newProjectNameStatusGroup = new StatusGroup(container,SWT.NONE);        this.newProjectNameStatusGroup.setLayoutData(new GridData(SWT.FILL,SWT.BEGINNING,true,false));        this.newProjectModel.addStatusListener(new SimpleStatusGroupUpdater(this.newProjectNameStatusGroup,NewProjectModel.ID_NEWPROJECTMODEL_PROJECT_NAME));                Composite myGroupMainComposite = this.newProjectNameStatusGroup.getMainComposite();        layout = new GridLayout(2,false);        layout.horizontalSpacing = 0;        layout.verticalSpacing = 0;        layout.marginLeft = 0;        layout.marginHeight = 0;        layout.marginRight = 0;        layout.marginWidth = 0;        myGroupMainComposite.setLayout(layout);        this.newProjectNameStatusGroup.setLabelText("New Project");        this.newProjectNameLabel = new Label(myGroupMainComposite,SWT.NONE);        this.newProjectNameLabel.setText("New Project Name:");        this.newProjectNameText = new Text(myGroupMainComposite,SWT.NONE);        this.newProjectNameText.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true));        this.newProjectNameText.addModifyListener(new ModifyListener() {            public void modifyText(ModifyEvent e) {                projectNameModified();            }        });        this.newProjectNameText.setFocus();                // -------------------                this.desciptionGroup = new Group(container,SWT.NONE);        this.desciptionGroup.setText("Project Description");        this.desciptionGroup.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true));        this.desciptionGroup.setLayout(new GridLayout(1,false));        this.descriptionText = new Text(this.desciptionGroup,SWT.WRAP);        this.descriptionText.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true));                // -------------------                Group generateTemplateGroup = new Group(container,SWT.NONE);        generateTemplateGroup.setText("Project Template");        layout = new GridLayout(2,false);        layout.horizontalSpacing = 0;        layout.verticalSpacing = 5;        generateTemplateGroup.setLayout(layout);        generateTemplateGroup.setLayoutData(new GridData(SWT.FILL,SWT.BEGINNING,true,false));                Label generateTemplatesLabel = new Label(generateTemplateGroup,SWT.NONE);        generateTemplatesLabel.setText("Generate template?");                Button generateTemplatesButton = new Button(generateTemplateGroup,SWT.CHECK);        generateTemplatesButton.addSelectionListener(new SelectionAdapter() {            public void widgetSelected(SelectionEvent e) {                ProjectPage.this.newProjectModel.setGenerateTemplate(((Button)e.widget).getSelection());            }        });                setControl(container);        checkGUIState();	}