-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 11 November 2004 14:34, Miguel wrote: > > Also, I need to know wether this is a save change... for example, could > > this > > break any running thread? > > I understand what you are trying to do and I think that we can come up > with something. > > I don't think we can put in that test because it will pull CDK code into > the JmolViewer.
Ok, I can live with that... > > The result would be that we would no longer have a need for the -Dmodel= > > option as in: java -Dmodel=cdk -jar Jmol.jar. > > > > And, more important for me in this case: the plugin interface would work > > as expected again. > > > > How does this all sound? > > In general sounds OK, but I have a few questions. > > It is not clear to me why you want to run both adapters. If you want to > use CDK then don't you want to do all file IO through CDK? There might be cases where one actually wants to do this... e.g. the plugin from Christoph uses a custom Gaussian reader that extracts 13C information and displays this in Jmol, so then you want the CDK GaussianReader... But, I don't want to reboot Jmol when I just read a PDB file, and then want to open a 13C Gaussian file... > Can you take me through a simple example where you would want to open some > files through the SmarterJmolAdapter and other files through CDK? Another example is the following... Within CDK work is done on 3D structure creation. That is from connectivity table to 3D coordinates. In that case I want to pass a CDK object to Jmol, but in general one would want to use Jmol IO... I guess the only problem is really that currently you need to reboot with - -Dmodel=cdk when you want to use a plugin... I worked around this by passing a file format representation of the chemistry (e.g. by passing CML to Jmol) instead of passing CDK objects... But being able to use CDK objects directly would be much easier... again without having to reboot with -Dmodel=cdk... It would especially make writing plugins easier... > I will give some more thought to the mechanism for handling multiple > adapters. Ack. Egon - -- [EMAIL PROTECTED] - --------------------------------------- CDK: http://cdk.sf.net/ JChemPaint: http://jchempaint.sf.net/ Jmol: http://www.jmol.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (SunOS) iD8DBQFBk23Od9R8I9Yza6YRAuReAKCW75Zzxcf4BnHf6WXUl2GNPhcGDQCgi6gD 5xeuNUsfQNTtsXEhBhK15ao= =vea3 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers
