// is not much time to do more specific updating of the
// categoryComposites this is the current chosen approach.
ODOMElement definitions = (ODOMElement) context.
getDeviceRepositoryAccessorManager().
getDeviceDefinitionsDocument().getRootElement();
definitions.addChangeListener(new ODOMChangeListener() {
public void changed(ODOMObservable node,
ODOMChangeEvent event) {
if (categoryComposite != null) {
categoryComposite.dispose();
categoryComposite = null;