/** * {@inheritDoc} */ @Override public void addSingleElectron(int atomID) { ISingleElectron singleElectron = getBuilder().newInstance(ISingleElectron.class, atoms[atomID]); singleElectron.addListener(this); addSingleElectron(singleElectron); /* * no notifyChanged() here because addSingleElectron() does it already */ }
/** * {@inheritDoc} */ @Override public void addSingleElectron(int atomID) { ISingleElectron singleElectron = getBuilder().newInstance(ISingleElectron.class, atoms[atomID]); singleElectron.addListener(this); addSingleElectron(singleElectron); /* * no notifyChanged() here because addSingleElectron() does it already */ }
/** * {@inheritDoc} */ @Override public void addLonePair(int atomID) { ILonePair lonePair = getBuilder().newInstance(ILonePair.class, atoms[atomID]); lonePair.addListener(this); addLonePair(lonePair); /* * no notifyChanged() here because addElectronContainer() does it * already */ }
/** * {@inheritDoc} */ @Override public void addLonePair(int atomID) { ILonePair lonePair = getBuilder().newInstance(ILonePair.class, atoms[atomID]); lonePair.addListener(this); addLonePair(lonePair); /* * no notifyChanged() here because addElectronContainer() does it * already */ }
/** * {@inheritDoc} */ @Override public void addBond(int atom1, int atom2, IBond.Order order, IBond.Stereo stereo) { IBond bond = getBuilder().newInstance(IBond.class, getAtom(atom1), getAtom(atom2), order, stereo); addBond(bond); /* * no notifyChanged() here because addBond(bond) does it already */ }
/** * {@inheritDoc} */ @Override public void addBond(int atom1, int atom2, IBond.Order order, IBond.Stereo stereo) { IBond bond = getBuilder().newInstance(IBond.class, getAtom(atom1), getAtom(atom2), order, stereo); addBond(bond); /* * no notifyChanged() here because addBond(bond) does it already */ }
/** * {@inheritDoc} */ @Override public void addBond(int atom1, int atom2, IBond.Order order) { IBond bond = getBuilder().newInstance(IBond.class, getAtom(atom1), getAtom(atom2), order); addBond(bond); /* * no notifyChanged() here because addBond(bond) does it already */ }
/** * {@inheritDoc} */ @Override public void addBond(int atom1, int atom2, IBond.Order order) { IBond bond = getBuilder().newInstance(IBond.class, getAtom(atom1), getAtom(atom2), order); addBond(bond); /* * no notifyChanged() here because addBond(bond) does it already */ }