Skip to content

Commit

Permalink
When calling ui.open and the molecule has no coordinates open it with…
Browse files Browse the repository at this point in the history
… jchempaint.

Solves bug 3003
  • Loading branch information
goglepox committed Mar 29, 2012
1 parent 4d64c21 commit 84c8477
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -40,6 +40,8 @@ public String getPreferredEditorID( IBioObject object ) {
//TODO: Move to JmolEditorDescriber in that plugin
else if (cdk.has3d( cdkmol )){
return "net.bioclipse.jmol.editors.JmolEditor";
} else {
return "net.bioclipse.cdk.ui.editors.jchempaint";
}
} catch ( BioclipseException e ) {
}
Expand Down

0 comments on commit 84c8477

Please sign in to comment.