disableClosedProjects();
	public void createControl(Composite parent) {		initializeDialogUnits(parent);				Composite composite= new Composite(parent, SWT.NONE);		composite.setLayout(new GridLayout());		composite.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));		setControl(composite);		Label label= new Label(composite, SWT.WRAP);		label.setText(WorkingSetMessages.getString("JavaWorkingSetPage.workingSet.name")); //$NON-NLS-1$		GridData gd= new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_CENTER);		label.setLayoutData(gd);		fWorkingSetName= new Text(composite, SWT.SINGLE | SWT.BORDER);		fWorkingSetName.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL));		fWorkingSetName.addModifyListener(			new ModifyListener() {				public void modifyText(ModifyEvent e) {					validateInput();				}			}		);		fWorkingSetName.setFocus();				label= new Label(composite, SWT.WRAP);		label.setText(WorkingSetMessages.getString("JavaWorkingSetPage.workingSet.content")); //$NON-NLS-1$		gd= new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_CENTER);		label.setLayoutData(gd);		fTree= new CheckboxTreeViewer(composite, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);		gd= new GridData(GridData.FILL_BOTH | GridData.GRAB_VERTICAL);		gd.heightHint= convertHeightInCharsToPixels(15);		fTree.getControl().setLayoutData(gd);				fTreeContentProvider= new JavaWorkingSetPageContentProvider();		fTree.setContentProvider(fTreeContentProvider);				AppearanceAwareLabelProvider fJavaElementLabelProvider= 			new AppearanceAwareLabelProvider(				AppearanceAwareLabelProvider.DEFAULT_TEXTFLAGS | JavaElementLabels.P_COMPRESSED,				AppearanceAwareLabelProvider.DEFAULT_IMAGEFLAGS | JavaElementImageProvider.SMALL_ICONS			);				fTree.setLabelProvider(new DecoratingJavaLabelProvider(fJavaElementLabelProvider));		fTree.setSorter(new JavaElementSorter());		fTree.addFilter(new EmptyInnerPackageFilter());		fTree.setUseHashlookup(true);				fTree.setInput(JavaCore.create(ResourcesPlugin.getWorkspace().getRoot()));		fTree.addCheckStateListener(new ICheckStateListener() {			public void checkStateChanged(CheckStateChangedEvent event) {				handleCheckStateChange(event);			}		});		fTree.addTreeListener(new ITreeViewerListener() {			public void treeCollapsed(TreeExpansionEvent event) {			}			public void treeExpanded(TreeExpansionEvent event) {				final Object element= event.getElement();				if (fTree.getGrayed(element) == false)					BusyIndicator.showWhile(getShell().getDisplay(), new Runnable() {					public void run() {						setSubtreeChecked(element, fTree.getChecked(element), false);					}				});			}		});		if (fWorkingSet != null)			fWorkingSetName.setText(fWorkingSet.getName());		initializeCheckedState();		disableClosedProjects();		validateInput();		Dialog.applyDialogFont(composite);		// Set help for the page 		JavaUIHelp.setHelp(fTree, IJavaHelpContextIds.JAVA_WORKING_SET_PAGE);	}