Bug 172765 [DataBinding] Consistency when registering property change listeners
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet007ColorLabelProvider.java
Person person = (Person) selection
									.getFirstElement();
							person
									.setGender((person.getGender() == Person.MALE) ? Person.FEMALE
											: Person.MALE);
						}
					}
				});
				shell.setSize(300, 400);
				shell.open();
				while (!shell.isDisposed()) {
					if (!display.readAndDispatch())
						display.sleep();
				}
			}
		});
		display.dispose();
	}
	private static class Person {
		static final int MALE = 0;
		static final int FEMALE = 1;
		private String name;
		private int gender;
		private PropertyChangeSupport changeSupport = new PropertyChangeSupport(
				this);
		Person(String name, int gender) {
			this.name = name;
			this.gender = gender;
		}
		/**