cellIterations.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent event) {
Object oldValue = null;
Object newValue = cellIterations.getIterationsQualifier();
PropertyChangeEvent propertyChange = new PropertyChangeEvent(
cellIterations, supplementary, oldValue, newValue);
controlDetails.attributesComposite.propertyChange(propertyChange);
}
});
// Add an accessible listener
addAccessibleListener(cellIterations, controlDetails);
// Add a modify listener to this control (for the text value).
cellIterations.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
Object oldValue = null;
Object newValue = cellIterations.getIterations();
PropertyChangeEvent propertyChange = new PropertyChangeEvent(
cellIterations, controlDetails.attribute, oldValue, newValue);
controlDetails.attributesComposite.
propertyChange(propertyChange);
}
});