developer notes (maybe I should do this more often?):

clipboard: I just added a "Paste" button on the application "Edit" menu. 
Very fun.

echo: This was interesting. The problem was that you couldn't put echo 
text to the screen prior to model loading or after a ZAP. This was 
because viewer.modelManager.frame was set to null between files, and all 
shapes, including echo, are children of Frame.

To enable text writing there has to always be a frame in place. So I 
reconfigured the Frame constructor -- added a new, "no model" Frame 
constructor, actually -- so that one no longer needs to have any data at 
all from the JmolAdapter in order to have a modelManager.frame.

Interestingly, in doing this I found that Frame.adapter no longer needed 
to be global, as it is just used temporarily anyway. I think the 
initialization code in Frame is now much more straightforward.

There are going to be some ramifications of having that frame there that 
need working out, because it's more than just the echo command that is 
enabled now. I'll keep testing. But there's no doubt in my mind that 
this is a good change -- just have to follow it up now.

Bob


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to