-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 19 February 2004 13:22, Miguel Howard wrote: > The design philosophy behind the JmolModelAdapter interface is that it is > the *proper* and *only* way to feed molecular models into Jmol. I think > that it is very important that we maintain that. > > If the CDKEditBus is feeding data structures into Jmol then I believe that > it should implement the JmolModelAdapter. And if the JmolModelAdapter > doesn't provide the functionality that is needed, then we should fix the > interface.
Agreed. Ok, point to do... have a JmolModelAdapter implement the CDKEditBus interface... > I also planned to provide a similar interface for retrieving data about > the model. I now realize that since you didn't have this available, you > used the JmolViewer directly. But that was not my plan. > > The JmolViewer works, but I now believe that it is too close to the Jmol > implementation. It is designed for controlling the > viewer/display/rendering, not for external access to the data model. > > Other applications are going to want to read the full model and write a > full model. It is important that we provide very clean interfaces for > doing that. The JmolModelAdapter on one side and an equivalent on the > other side. > > That makes it easier for other people to access the data structures. > > However, what I *really* care about is that it makes it easier for us to > *change* the data structures. We still need the flexibility to throw away > code and make significant changes to data structures. We can only do that > if we control the entrance/exit paths. > > I'll take a look at the CDKEditBus. It's really easy... and would probably wrap around some methods in the JmolModelAdapter... some time ago we spoke about this... but that is already long ago... > The project is big enough that at times it is hard to keep an eye on > architecture when I am spending so much time focusing on implementation > ;-) Indeed. Egon - -- [EMAIL PROTECTED] PhD on Molecular Representation in Chemometrics Nijmegen University http://www.cac.sci.kun.nl/people/egonw/ GPG: 1024D/D6336BA6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (SunOS) iD8DBQFANKxAd9R8I9Yza6YRAnOsAJoDUun8rt2r1XhaE2ilKOp1zqXB7gCgv5eA 7IaFuRVqOjaVGYIJpfZThIU= =2Eu2 -----END PGP SIGNATURE----- ------------------------------------------------------- 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_id56&alloc_id438&op=click _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers
