chkEnableFindBugs.setText("Enable FindBugs");
chkEnableFindBugs.setText("Run FindBugs automatically");
	protected Control createContents(Composite parent) {		noDefaultAndApplyButton();		// getElement returns the element this page has been opened for,		// in our case this is a Java Project (IJavaProject).		IAdaptable resource = getElement();		this.project = (IProject) resource.getAdapter(IProject.class);		Composite composite = new Composite(parent, SWT.NONE);		GridLayout layout = new GridLayout();		composite.setLayout(layout);		chkEnableFindBugs = new Button(composite, SWT.CHECK);		chkEnableFindBugs.setText("Enable FindBugs");		initialEnabled = isEnabled();		chkEnableFindBugs.setSelection(initialEnabled);		Label separator =			new Label(composite, SWT.SEPARATOR | SWT.SHADOW_IN | SWT.HORIZONTAL);		GridData data = new GridData();		data.horizontalAlignment = GridData.FILL;		data.grabExcessHorizontalSpace = true;		separator.setLayoutData(data);		buildLabel(composite, "Select bug patterns to check for:");		Table availableRulesTable =			buildAvailableRulesTableViewer(composite, project);		data = new GridData();		data.grabExcessHorizontalSpace = true;		data.grabExcessVerticalSpace = true;		data.horizontalAlignment = GridData.FILL;		data.verticalAlignment = GridData.FILL;		data.heightHint = 50;		availableRulesTable.setLayoutData(data);		return composite;	}