Hi all,
is there a way to add something like the 'SelectionListener' to my
instance of the viewer ( I am using the viewer to visualize some
molecules that are in CDK Molecule representation)
that actually will react if I mouse-klick an atom in the viewer?
I tried the following but that won't do anything so far...
MyViewer.addSelectionListener(new JmolSelectionListener() {
public void selectionChanged(BitSet selection) {
//do some nice stuff whenever atom is
klicked
}
});
I do see the system outs from the StatusManager class that confirms,
that I did pick an atom.
Is there a way to do this or do I have to implement something by myself?
Thanks for any help or suggestions,
Alex
--
Alexander Klenner, Dipl.-Bioinf.
Johann Wolfgang Goethe-University Frankfurt
Department of Biosciences
Siesmayerstrasse 70
D-60323 Frankfurt
Tel: +49 (0) 69 798 24879
Fax: +49 (0) 69 798 24880
[email protected]
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users