Bug 172765 [DataBinding] Consistency when registering property change listeners
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet007ColorLabelProvider.java
table.setLinesVisible(true);
				TableColumn column = new TableColumn(table, SWT.NONE);
				column.setText("No");
				column.setWidth(20);
				column = new TableColumn(table, SWT.NONE);
				column.setText("Name");
				column.setWidth(100);
				final TableViewer viewer = new TableViewer(table);
				IObservableList observableList = Observables
						.staticObservableList(persons);
				ObservableListContentProvider contentProvider = new ObservableListContentProvider();
				viewer.setContentProvider(contentProvider);
				
				
				IObservableMap[] attributes = BeansObservables.observeMaps(
						contentProvider.getKnownElements(), Person.class,
						new String[] { "name", "gender" });
				class ColorLabelProvider extends ObservableMapLabelProvider
						implements ITableColorProvider {
					Color male = display.getSystemColor(SWT.COLOR_BLUE);
					Color female = new Color(display, 255, 192, 203);
					ColorLabelProvider(IObservableMap[] attributes) {
						super(attributes);
					}
					
					
					
					
					public String getColumnText(Object element, int index) {
						if (index == 0) {