I finally got tired of navigating the Viewer-->ModelManager-->ModelSet-->MmSet business last week and reorganized these files. The result is that:
--ModelManager is back in the viewer package with the other managers and is a very small set of methods specifically for creating, merging, and zapping a modelSet. --Viewer maintains a pointer to a ModelSet so that it can work directly with it. --ModelSet now extends ModelCollection, which extends BondCollection, which extends AtomCollection. The idea here is that there are a LOT of methods in ModelSet, some of which relate to shapes (which technically are not part of the model collection), some of which relate to the actual models, some to bonds, and some to atoms. Basically, atoms combine to make bonds; atoms and bonds combine to make models. Rather than having these be separate independent classes, all are abstract classes, so that really there is only one class, which is actually ModelLoader, that is an extension of all the rest of these. --So now the methods that used to be scattered throughout ModelManager, ModelLoader, ModelSet, and Mmset are now present in a considerably more structured way in ModelManager, ModelLoader, ModelSet, ModelCollection, BondCollection, and AtomCollection. I take full credit for having messed these up over the past year and a half. Hope this makes better sense. -- Robert M. Hanson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
