Phil,

> This might be a programming nightmare, but I will give it a shot.
Atta boy! Speak right up!

> When
> the applet loads the file, it "knows" what atoms are present.
True

> Is it
> possible to make the contextual menu a listing of those atoms.   Thus,
> if the user was working with proteins, there would be the usual
> C,H,O,N,S and then any metal or other hetero atoms listed from which
> the selection could be made.    On the other hand, if the structure was
> an inorganic cluster, a different set of atoms would be in the
> selection menu.
>
> Just a thought :)
Phil, I think that is a *great* idea ... makes good sense to me.

Now, we just need to figure out if there is a clean way to reduce it to code.

In general, I have been trying to convert *everything* into script. For
example, all of the current popup/contextual menus are implemented as
scripts. It makes them easy to maintain and easy to extend/enhance.

[Another reason I have been trying to turn everything into scripts is so
that we can implement the 'script recorder' ... a mechanism to record
interactions and then replay them. If all menu commands are implemented as
scripts then we can (relatively) easily record the events for playback.]

random thoughts:
 - it would require java code to generate the menu
   * that goes against the simplicity that I have been reaching for
   * maybe it would be OK
 - perhaps some of the 'common' elements should be greyed-out
   rather than deleted
 - I still think it is a *great* idea.


Miguel





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to