ChemObjectEditor editor = null;
if (object instanceof IPseudoAtom) {
editor = new PseudoAtomEditor();
}
else if (object instanceof IAtom) {
editor = new AtomEditor(jcpPanel.get2DHub());
}
else if (object instanceof IReaction) {
editor = new ReactionEditor();
}
else if (object instanceof IBond) {