Button includeJRECheckbox= createButton(parent, SWT.CHECK, SearchMessages.SearchPage_searchJRE_label, JavaSearchScopeFactory.JRE, true); includeJRECheckbox.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 2, 1));
Group result= new Group(parent, SWT.NONE); result.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1)); result.setText(SearchMessages.SearchPage_searchIn_label); result.setLayout(new GridLayout(4, false));
	private Control createIncludeMask(Composite parent) {		Button includeJRECheckbox= createButton(parent, SWT.CHECK, SearchMessages.SearchPage_searchJRE_label, JavaSearchScopeFactory.JRE, true);		includeJRECheckbox.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 2, 1));		fIncludeMasks= new Button[] {				includeJRECheckbox		};		return includeJRECheckbox;		//		Group result= new Group(parent, SWT.NONE);//		result.setText("Report Matches In"); //		result.setLayout(new GridLayout(4, false));//		fIncludeMasks= new Button[] {//			createButton(result, SWT.CHECK, "Sources", JavaSearchScopeFactory.SOURCES, true),//			createButton(result, SWT.CHECK, "Libraries", JavaSearchScopeFactory.LIBS, true),//			createButton(result, SWT.CHECK, "Referenced projects", JavaSearchScopeFactory.PROJECTS, true),//			createButton(result, SWT.CHECK, "JRE system libraries", JavaSearchScopeFactory.JRE, false),//		};//		return result;	}