populateAvailableRulesTable(project, getSelectedCategories());
populateAvailableRulesTable(project);
	private Table buildAvailableRulesTableViewer(		Composite parent,		IProject project) {		final BugPatternTableSorter sorter = new BugPatternTableSorter(this);		int tableStyle =			SWT.BORDER				| SWT.H_SCROLL				| SWT.V_SCROLL				| SWT.SINGLE				| SWT.FULL_SELECTION				| SWT.CHECK;				availableFactoriesTableViewer =			CheckboxTableViewer.newCheckList(parent, tableStyle);		int currentColumnIdx = -1;		Table factoriesTable = availableFactoriesTableViewer.getTable();		TableColumn bugsAbbrevColumn = new TableColumn(factoriesTable, SWT.LEFT);		bugsAbbrevColumn.setResizable(true);		bugsAbbrevColumn.setText(getMessage("Bug codes"));		bugsAbbrevColumn.setWidth(100);		addColumnSelectionListener(sorter, bugsAbbrevColumn, ++currentColumnIdx);		TableColumn factoryNameColumn = new TableColumn(factoriesTable, SWT.LEFT);		factoryNameColumn.setResizable(true);		factoryNameColumn.setText(getMessage("Detector name"));		factoryNameColumn.setWidth(200);		addColumnSelectionListener(sorter, factoryNameColumn, ++currentColumnIdx);		TableColumn factorySpeedColumn =			new TableColumn(factoriesTable, SWT.LEFT);		factorySpeedColumn.setResizable(true);		factorySpeedColumn.setText(getMessage("Detector speed"));		factorySpeedColumn.setWidth(90);		addColumnSelectionListener(			sorter,			factorySpeedColumn,			++currentColumnIdx);		TableColumn bugsDescriptionColumn =			new TableColumn(factoriesTable, SWT.LEFT);		bugsDescriptionColumn.setResizable(true);		bugsDescriptionColumn.setText(getMessage("Detector description"));		bugsDescriptionColumn.setWidth(200);				factoriesTable.setLinesVisible(true);		factoriesTable.setHeaderVisible(true);		availableFactoriesTableViewer.setContentProvider(			new DetectorFactoriesContentProvider());		availableFactoriesTableViewer.setLabelProvider(			new DetectorFactoryLabelProvider(this));		availableFactoriesTableViewer.setColumnProperties(			new String[] {				COLUMN_PROPS_BUG_ABBREV,				COLUMN_PROPS_NAME,				COLUMN_PROPS_SPEED,				COLUMN_PROPS_DESCRIPTION });		availableFactoriesTableViewer.setSorter(sorter);		populateAvailableRulesTable(project, getSelectedCategories());		factoriesTable.setEnabled(true);		return factoriesTable;	}