} else { setMessage(DebugUIUtils.getResourceString(SELECT_ELEMENTS)); }
}
	public void createElementsGroup(Composite root) {		Label elementsLabel= new Label(root, SWT.NONE);		elementsLabel.setText(DebugUIUtils.getResourceString(PATTERN_LABEL));		fPatternText= new Text(root, SWT.BORDER);		fPatternText.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));		fElementsList= new TableViewer(root) {			protected void handleDoubleSelect(SelectionEvent event) {				updateSelection(getSelection());				if (getWizard().performFinish()) {					((WizardDialog) getWizard().getContainer()).close();				}			}		};		Table list= fElementsList.getTable();		GridData gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_FILL);		gd.heightHint= 200;		gd.grabExcessVerticalSpace= true;		list.setLayoutData(gd);		fElementsList.setContentProvider(new ElementsContentProvider());		fElementsList.setLabelProvider(new LauncherLabelProvider());		fElementsList.setSorter(new SimpleSorter());		final PatternFilter filter= new PatternFilter();		fElementsList.addFilter(filter);		fPatternText.addModifyListener(new ModifyListener() {			public void modifyText(ModifyEvent e) {				filter.setPattern(((Text) (e.widget)).getText());				fElementsList.refresh();				if (fFilteredElements.length == 1) {					fElementsList.setSelection(new StructuredSelection(fFilteredElements[0]), true);					setMessage(null);					setPageComplete(true);				} else {					fElementsList.setSelection(null);					// this should get done in the selection changed callback -  but it does not work					if (fFilteredElements.length == 0) {						setErrorMessage(DebugUIUtils.getResourceString(SELECT_ERROR_ELEMENTS));					} else {						setMessage(DebugUIUtils.getResourceString(SELECT_ELEMENTS));					}					setPageComplete(false);				}			}		});		fElementsList.addSelectionChangedListener(new ISelectionChangedListener() {			public void selectionChanged(SelectionChangedEvent e) {				if (e.getSelection().isEmpty()) {					setMessage(DebugUIUtils.getResourceString(SELECT_ELEMENTS));					setPageComplete(false);				} else if (e.getSelection() instanceof IStructuredSelection) {					IStructuredSelection ss= (IStructuredSelection) e.getSelection();					if (!ss.isEmpty()) {						setMessage(null);						setPageComplete(true);					}				}			}		});		fElementsList.setInput(fLauncher);		initializeSettings();	}