On Friday 20 February 2004 14:15, Tommi Hassinen wrote:
> > @@ -102,6 +102,6 @@ public class JmolEditBus implements CDKE
> > }
> >
> > public ChemFile getChemFile() {
> > - - throw new NoSuchMethodError();
> > + return (ChemFile)viewer.getClientFile();
> > }
> > }
>
> This seems to lead into java.lang.ClassCastException ; it seems that what
> eventually is returned is
Ack. I've added a new plugin to CDK cvs yesterday: cotviewer... next the the
dirbrowser plugin dir. It uses the plugin API which now has a method
stateChanged... which indicates that the plugin should do another
getChemModel if it wants to keep synchronized...
I'll try to get this plugin to work with Jmol which would require a proper
implementation of the above method...
> On Fri, 20 Feb 2004, E.L. Willighagen wrote:
> > > How to do that then? My docs say that this the way it works if the html
> > > request the plugin makes is of type POST. How this is done, is still a
> > > bit unclear, and I'm studying it. Basically a socket should be opened
> > > to
> >
> > Indeed... I don't know how this is done in C++, but for other languages
> > there exist many tools... so I guess for C++ too...
>
> In this case the Java plugin is the one which makes the request, so the
> Java socket class could be used (unless there is a more specialized class
> that fits even better).
Agreed. Since focus went to CGI, I forgot to mention this: have a look at
JOELib (joelib.sf.net). Joerg has written Java JNI classes to wrap around the
libghemical. I have not looked at it, but I know it works...
> > Talk to Peter... he has been/is doing similar things...
>
> First I would like to have a "bare-bones" version that works and does
> something. Then if it seems that there could be wider use for ghemical-cgi
> than just the plugin use, the protocol could be refined.
Ack.
Egon
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers