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