Hello everybody, I am Maryah and I have finished an aplication on self, now I want
to write some documentation about my work and I have a question: - How can I print the objects of my aplication?.
I read this document: " Prototype-Based Application Construction Usuing Self 4.0" by Mario Wolczko and Randall B Smih and I would like to
do something similar.
Thanks for your help: Maryah
I am Maryah and I have finished an aplication on self, now I want
to write some documentation about my work and I have a question:
- How can I print the objects of my aplication?.
I read this document: " Prototype-Based Application Construction
Usuing Self 4.0" by Mario Wolczko and Randall B Smih and I would like to
do something similar.
If you want to generate a graphical view of your objects to include in your documentation, you can use the Solaris application called "Snapshot" to capture the screen, a window or any rectangle in the screen. It is then easy to call up the "Image Viewer" to make some corrections to the captured image and to save it in the format most suitable for use with your word processor.
Some people prefer to do the above steps with the "Xview" application available for all kinds of Unix systems.
Sometimes it is interesting to dump an object in a textual form more compact and readable than that generated by David Ungar's transporter. That is easy to do - I can post the code here, if you want.
-- Jecel
Jecel Assumpcao Jr escribió:
I am Maryah and I have finished an aplication on self, now I want
to write some documentation about my work and I have a question:
- How can I print the objects of my aplication?.
I read this document: " Prototype-Based Application Construction
Usuing Self 4.0" by Mario Wolczko and Randall B Smih and I would like to
do something similar.
If you want to generate a graphical view of your objects to include in your documentation, you can use the Solaris application called "Snapshot" to capture the screen, a window or any rectangle in the screen. It is then easy to call up the "Image Viewer" to make some corrections to the captured image and to save it in the format most suitable for use with your word processor.
Some people prefer to do the above steps with the "Xview" application available for all kinds of Unix systems.
Sometimes it is interesting to dump an object in a textual form more compact and readable than that generated by David Ungar's transporter. That is easy to do - I can post the code here, if you want.
-- Jecel
thanks for yur help!...now I have another question... Is possible to print the object of my system like text. Maryah.
ebates.com. Earn up to 25% cash back for shopping online at 75 stores like Borders, CDNow and Beyond.com. Refer a friend and earn even more! http://clickhere.egroups.com/click/690
eGroups.com home: http://www.egroups.com/group/self-interest http://www.egroups.com - Simplifying group communications
thanks for yur help!...now I have another question... Is possible to print
the object of my system like text.
If you just execute the expression
inspect: someObject
you will get something that is probably close to what you want. Looking at the object 'defaultBehavior' in the category 'inspecting', we see that it is the private method 'inspectReflectee:' that does all the work. You can copy this code into some other method and change it all you like to get the results you need (you might want to output to a file instead of printing to the console, for example).
I had already done this once, but I've looked everywhere and can't find the old code.
Good luck, -- Jecel
self-interest@lists.selflanguage.org