Hi Bob/All,

Cheatsheet is a Eclipse Rich Client Platform technology which allows the user 
with some interactive help functionality. Bioclipse is a chemo- and 
bioinformatics workbench (see article in BMC Bioinformatics), and, of course, 
uses Jmol for rendering. I am currently writing such interactive help for the 
Jmol scripting language.

I am sorry that I can't email a nice screenshot... I have been working all day 
on a new bioclipse release (1.1.0, dl from SF, with Jmol 11.1.36, thanx to 
some help from Bob last night), but afterwards turned out that the cheatsheet 
view no longer works in that build... 

Anyway... just google for eclipse cheat sheet, to see screenshots of the 
subwindow with free text and clickable links to perform some action...

This works for Jmol too, and the source looks like:

<?xml version="1.0" encoding="UTF-8"?>
<cheatsheet title="Jmol Script: Rendering">
 <intro>
  <description>
   This tutorial introduces the Jmol Script commands to specify how
   molecular content should be rendered. You can monitor the actually
   run commands in the BioclipseConsole, and the reader is invited to
   the experiment with variations in the Jmol View command bar.
  </description>
 </intro>
 <item title="Wireframe Models">
  <description>
   Wireframe models show only the connectivity; atoms are only implicitly
   visible. You can turn on wireframe rendering with the command
   'spacefill off; wireframe'.
  </description>
  <action pluginId="tutorial.jmolscripting"
    class="net.bioclipse.tutorials.actions.chemoinfo.RunJmolScriptAction"
   param1="select all; spacefill off; wireframe"/>
 </item>
 <!-- many more items -->
</cheatsheet>

Thus guiding the reader through the scripting language. Like HTML pages, 
clicking the 'action' (a link in the GUI), make the script snippet run. But 
the bug difference is that this all works within the Bioclipse application, 
so way can do *much* more than on a webpage.

The setup lends itself perfectly for other applications too, like introduction 
to certain structural features or protein, crystal structures, etc, just like 
we do on webpages...

You might even consider this XML code above to be used for automatic 
generation of HTML pages, so that he tutorial becomes available for several 
targets... well, let's see what the future brings.

Some technical details: the 
net.bioclipse.tutorials.actions.chemoinfo.RunJmolScriptAction is a Java 
Class, with the API run(String[] params), and I now just use the first; i.e. 
params[0] => @param1=""

Egon


-- 
[EMAIL PROTECTED]
Blog: http://chem-bla-ics.blogspot.com/
GPG: 1024D/D6336BA6

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to