On Jan 2, 2005, at 9:13 PM, Miguel wrote:
Rene wrote:
Besides the Float one, would we also have similar ones for the AtomSet properties?
Sorry ... I do not understand what you are asking.
I am sorry if I am confusing things.
I think the source of the confusion comes from this: we have AtomSetProperties, and AtomSetCollectionProperties implemented as java.util.Properties (with only String values). The reader is allowed to come up with any kind of key to store that kind of meta-information (as I do for the path in the AtomSetChooser). The AtomProperties you are talking about now seem to be of a whole different kind: they associate *existing* fields in the Atom object with a 'property' (but not in the sense of accessing a value in a Properties object).
Since a while ago we talked about having the reader be able to associate any kind of properties with an Atom, not just AtomSet and AtomSetCollection, I was under the impression that the atom properties in the current discussion would be an implementation of that, but it looks like it is different.
[snip]I assume that this also means that the readers will need to be adjusted
to add the vectors, and charges as an AtomProperty, in addition to the
current way of adding them?
There is no need to add these itesm as AtomProperties.
They will be stored as primitive data types in class members ... as they
are today.
But the implementation of getAtomProperty() will do the right thing.
Miguel
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
