use of com.actelion.research.share.gui.editor.dialogs.IBondQueryFeaturesDialog in project openchemlib by Actelion.
the class BondHighlightAction method showBondQFDialog.
private boolean showBondQFDialog(int bond) {
StereoMolecule mol = model.getMolecule();
if (mol != null) {
GeomFactory factory = model.getGeomFactory();
IBondQueryFeaturesDialog dlg = factory.createBondFeaturesDialog(/*new BondQueryFeaturesDialog(*/
mol, bond);
return dlg.doModalAt(lastHightlightPoint.getX(), lastHightlightPoint.getY()) == DialogResult.IDOK;
}
return false;
}
Aggregations