/** Removes this model as listener from global event sources like {@link DatasetEventManager} */ public void unregisterAsEventListener() { DatasetEventManager.getInstance().removeDatasetListener(this); }
/** Registers this model with global event sources like {@link DatasetEventManager} */ public void registerAsEventListener() { DatasetEventManager.getInstance().addDatasetListener(this, FireMode.IN_EDT); }