Bug 132763 [Markers] Unused NLS messages reported on startup using I0321-1210
Starting I20060321-1210, I got this in the console log. !ENTRY org.eclipse.osgi 2 1 2006-03-21 20:21:07.984 !MESSAGE NLS unused message: filtersDialog_selectAllTypes in: org.eclipse.ui.views.markers.internal.messages !ENTRY org.eclipse.osgi 2 1 2006-03-21 20:21:07.984 !MESSAGE NLS unused message: filtersDialog_deselectAllTypes in: org.eclipse.ui.views.markers.internal.messages
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerFilter.java
typesViewer.addCheckStateListener(new ICheckStateListener() {
			public void checkStateChanged(CheckStateChangedEvent event) {
				markDirty();
				Object element = event.getElement();
				boolean checked = event.getChecked();
				setChildrenChecked(element, checked);
				setParentCheckState(element, checked);
			}
		});
		typesViewer.setInput(getSelectedFilter().getRootTypes().toArray());
		Composite buttonComposite = new Composite(composite, SWT.NONE);
		GridLayout buttonLayout = new GridLayout();
		buttonLayout.marginWidth = 0;
		buttonComposite.setLayout(buttonLayout);
		selectAllButton = createButton(buttonComposite, SELECT_ALL_ID,
				MarkerMessages.filtersDialog_selectAll, false);
		deselectAllButton = createButton(buttonComposite, DESELECT_ALL_ID,
				MarkerMessages.filtersDialog_deselectAll, false);
	}
	/**
	 * Get the currently selected marker filter if there is only one selection.
	 * 
	 * @return MarkerFilter or <code>null</code>.
	 */
	protected MarkerFilter getSelectedFilter() {
		if (selectedFilters.length == 1) {
			return selectedFilters[0];
		}
		return null;
	}