}
else if (object instanceof IReaction) {
editor = new ReactionEditor();
}
else if (object instanceof IBond) {
editor = new BondEditor(jcpPanel.get2DHub(), jcpPanel.getBlacklist());
}
if (editor != null) {
editor.setChemObject((org.openscience.cdk.ChemObject)object);
ChemObjectPropertyDialog frame =