> Hi,
>
> I started on the AtomSetChooser and got something working (a bit).
>
> I couldn't figure out how to make sure that the JTree for the
> AtomSetChooser is updated properly when a new file is opened, so I
> added a button to do a manual refresh. This actually made that I had to
> store the clientFile in the ModelManager so I could call the adapter's
> get method to get the tree after the fact.
>
> I assume that by doing that, I make that basically two versions of the
> data is in memory (on the viewer side and the AtomSetCollection side)
> so that is not too great.

You are correct in that this is not a good idea.

Rather, we need to have the viewer code store the properties associated
with each model.

> I hope to get a better solution to that tomorrow, I just wanted to get
> it committed before I got too far.

OK.

But please be careful making changes to the viewer code. I am going to
release the v10 code in November.

Miguel



-------------------------------------------------------
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

Reply via email to