Peter,

Ah, yes. OK. I understand. "serialization" to me meant turning the 
objects into binary format.
Some sort of XML would be perfect for this. We're definitely moving 
closer. Last night I got all mouse-based actions running through the 
script engine, and this morning I added all application menu actions. So 
that means when you do things like selecting atoms or groups or 
molecules from the pop-up menu or from the application it shows up now 
in the command history. We have now:

1) complete save/restore of orientation
2) everything in the applet and application (except preferences) going 
through the script engine
3) most non-shape state variables centralized in StateManager.GlobalSettings
4) a start at shape state definition

So it won't be too long before we should be able to say something like

save state
restore state

write state
read state

write history

Which would presumably be everything that has to do with the display. 
And right now one SHOULD be able to use the commandHistory to do a lot 
of it.

An interesting thing I'm finding is that the application has used some 
capabilities that never were included as scriptable -- "rotateFront()" 
for example, which is now "moveto Front", or "deleteMeasurement(i)", 
which is now "measure delete N"


peter murray-rust wrote:

>At 02:54 17/10/2006, Bob Hanson wrote:
>  
>
>>peter murray-rust wrote:
>>
>>    
>>
>>>At 22:47 16/10/2006, Bob Hanson wrote:
>>>
>>>
>>>
>>>Do you see a need to serialize
>>>      
>>>
>
>Serialization (h
>http://en.wikipedia.org/wiki/Serialize) means to write out to file. 
>In our case we use XML. So an internal data object such as
>double[3] xyz // the coordinates
>might be serialized as:
><point3 >1.234 2.345 3.456</point3>
>
>the same can be done for the transformations. I imagine the other 
>words make sense in American English! (And I did use -ize :-)
>
>  
>
>> these transformations at any stage? If
>>    
>>
>>>so I think CML can provide much of the apparatus.
>>>
>>>
>>>
>>>      
>>>
>>You'll have to translate that to American English, please. I'm lost.
>>    
>>
>
>So I'm simply saying that if you want to dump the state of the 
>transformations at any stage you can use CML.
>
>
>  
>
>>>P.
>>>
>>>
>>>
>>>
>>>
>>>      
>>>
>>>>Bob
>>>>
>>>>-------------------------------------------------------------------------
>>>>Using Tomcat but need to do more? Need to support web services, security?
>>>>Get stuff done quickly with pre-integrated technology to make 
>>>>        
>>>>
>>your job easier
>>    
>>
>>>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>>_______________________________________________
>>>>Jmol-developers mailing list
>>>>[email protected]
>>>>https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>>>
>>>>
>>>>        
>>>>
>>>Peter Murray-Rust
>>>Unilever Centre for Molecular Sciences Informatics
>>>University of Cambridge,
>>>Lensfield Road,  Cambridge CB2 1EW, UK
>>>+44-1223-763069
>>>
>>>
>>>-------------------------------------------------------------------------
>>>Using Tomcat but need to do more? Need to support web services, security?
>>>Get stuff done quickly with pre-integrated technology to make your 
>>>      
>>>
>>job easier
>>    
>>
>>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>_______________________________________________
>>>Jmol-developers mailing list
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>>
>>>
>>>      
>>>
>>-------------------------------------------------------------------------
>>Using Tomcat but need to do more? Need to support web services, security?
>>Get stuff done quickly with pre-integrated technology to make your job easier
>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>_______________________________________________
>>Jmol-developers mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>    
>>
>
>Peter Murray-Rust
>Unilever Centre for Molecular Sciences Informatics
>University of Cambridge,
>Lensfield Road,  Cambridge CB2 1EW, UK
>+44-1223-763069 
>
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>Jmol-developers mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-developers
>  
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to