#65 Context menus and drawing of bonds/elements

Stefan Kuhn

Please find attached a patch for the jchempain-primary branch in git.
The patch does the following:
- It activates the context menu on windows. Note the solution is not optimal,
since it has context menu on right mouse button, no matter what system
settings are. But it's better than not having the menu at all. Everybody is
invited to come up with a better solution
- The AddBondDragModule now uses the draw element instead of C for new atom
(the old AddBondModule etc. did this)
- The AddAtomModule now adds a bond and an atom if mouse is dragged from an
existing atom. The behaviour with click is unchanged.
In JCP, this means you can click on an element and add bonds with that element
as new atom either by dragging or by using the add bond mode. This was a
request from chebi users and makes usage much more fluid.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks