/** * Called by objects to which this object has * registered as a listener. * *@param event A change event pointing to the source of the change */ @Override public void stateChanged(IChemObjectChangeEvent event) { notifyChanged(event); }
/** * Called by objects to which this object has * registered as a listener. * *@param event A change event pointing to the source of the change */ @Override public void stateChanged(IChemObjectChangeEvent event) { notifyChanged(event); }
/** {@inheritDoc} */ @Override public void notifyChanged() { logger.debug("Notifying changed"); super.notifyChanged(); }
/** {@inheritDoc} */ @Override public void notifyChanged(IChemObjectChangeEvent evt) { logger.debug("Notifying changed event: ", evt); super.notifyChanged(evt); }
/** * Sets the RingSet of this ChemModel. * * @param ringSet the content of this model * * @see #getRingSet */ @Override public void setRingSet(IRingSet ringSet) { if (this.ringSet != null) this.ringSet.removeListener(this); this.ringSet = ringSet; if (this.ringSet != null) this.ringSet.addListener(this); notifyChanged(); }
/** * Sets the ReactionSet contained in this ChemModel. * * @param sor the ReactionSet to store in this model * * @see #getReactionSet */ @Override public void setReactionSet(IReactionSet sor) { if (this.setOfReactions != null) this.setOfReactions.removeListener(this); this.setOfReactions = sor; if (this.setOfReactions != null) this.setOfReactions.addListener(this); notifyChanged(); }
/** * Sets the Crystal contained in this ChemModel. * * @param crystal the Crystal to store in this model * * @see #getCrystal */ @Override public void setCrystal(ICrystal crystal) { if (this.crystal != null) this.crystal.removeListener(this); this.crystal = crystal; if (this.crystal != null) this.crystal.addListener(this); notifyChanged(); }
/** * Sets the Crystal contained in this ChemModel. * * @param crystal the Crystal to store in this model * * @see #getCrystal */ @Override public void setCrystal(ICrystal crystal) { if (this.crystal != null) this.crystal.removeListener(this); this.crystal = crystal; if (this.crystal != null) this.crystal.addListener(this); notifyChanged(); }
/** * Sets the ReactionSet contained in this ChemModel. * * @param sor the ReactionSet to store in this model * * @see #getReactionSet */ @Override public void setReactionSet(IReactionSet sor) { if (this.setOfReactions != null) this.setOfReactions.removeListener(this); this.setOfReactions = sor; if (this.setOfReactions != null) this.setOfReactions.addListener(this); notifyChanged(); }
/** * Sets the MoleculeSet of this ChemModel. * * @param setOfMolecules the content of this model * * @see #getMoleculeSet */ @Override public void setMoleculeSet(IAtomContainerSet setOfMolecules) { if (this.setOfMolecules != null) this.setOfMolecules.removeListener(this); this.setOfMolecules = setOfMolecules; if (this.setOfMolecules != null) this.setOfMolecules.addListener(this); notifyChanged(); }
/** * Sets the RingSet of this ChemModel. * * @param ringSet the content of this model * * @see #getRingSet */ @Override public void setRingSet(IRingSet ringSet) { if (this.ringSet != null) this.ringSet.removeListener(this); this.ringSet = ringSet; if (this.ringSet != null) this.ringSet.addListener(this); notifyChanged(); }
/** * Sets the MoleculeSet of this ChemModel. * * @param setOfMolecules the content of this model * * @see #getMoleculeSet */ @Override public void setMoleculeSet(IAtomContainerSet setOfMolecules) { if (this.setOfMolecules != null) this.setOfMolecules.removeListener(this); this.setOfMolecules = setOfMolecules; if (this.setOfMolecules != null) this.setOfMolecules.addListener(this); notifyChanged(); }