






Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007
TeamGenericTeamName2
Team Generic Team Name
Blake Bausser: gtg780g
Chris Sidi: gtg303m
Benjamin Donahue: gtg324a
Pritesh Patel: gtg423g
WANT TO GET AQUAINTED WITH SQUEAK? (read this):
Setup for Work
- Go to www.squeak.org, go to Downloads, and at the bottom is the download link to download squeak.
- It is a zip file so unzip it and drag the ...full.image file over the mouse picture. This will start the squeak environment.
- What you see on the screen is not the best of interfaces, don't get depressed with the text because we can take care of that in the next few steps.
- Before we get rid of the text, move the mouse around and enjoy the eye movement of the Squeak Mouse.
- Do a mouse left click. The World Menu pops up. This is the menu that you will be using the most to do things. Luckily, it is easy to appear.
- Click on Open from the World Menu. Then click on 'morphic project' at the bottom. A little orange screen will pop up. Click on that screen. Text all gone. We can do all our work on this screen without the clutter. (Side note: To go back to the other screen, left click and choose 'previous project' at the top.)
Intro to important Components
- Left click, click on open, click on workspace.
- This is where all code will be run. You can also type random code to test by pressing ALT - D.
- Workspace is very useful for trying out little code segments for correntness.
- Left click, click on open, click on transcript.
- This is wher all our print statements that are added to our code is printed after running. To add a print statement to code type 'Transcript show: '
- This is obviously very useful for checking debug statements. NOTE: To see all the printouts, the Transcript must be open before the program is run from the workspace.
- Left click, click on open, click on file list.
- This will open up a file browser. From this file browser, you can browse and choose which .st file to fileIn.
- In other words, anytime you type code, you will fileOut (save) the code. To access the typed code the next time you enter squeak you need to file it in from this file browser. After filed in, one can edit, re-save, or run the code filed in. NOTE: Later in this document shows how to file out (save) your code.
- Left click, click on open, click on browser.
- As you probably have been told in class, all of the squeak system code is available to change. The brower lets one browse all the code in the system. All the code that we write will also appear in the browser.
- All the classes in the system are organized by catagory. All the methods in a class are also organized by category.
- The first list(left most) on the browser is the categories of classes. The second list is all the classes in a certain category. The third list is the method categories for a class. Finally, the last list is all the methods in the certain method category. The bottom panel in the browser shows all the code for the class if selected or code for the method if selected. If you click twice on a class category a template for writing a new class will be shown on the bottom. If you type in that template and save it with ALT - S, a new class with the name you gave it will be added to the category. The same mechanism is true for methods.
- To start your own class catagory, right click in the class catagory list and click on 'add item'. Same mechanism is true for methods categories.
- Any class category, class, method category, or method can be filed out (saved) distinctly. Ex. To file out an entire class category, select the category by clicking on it, then right click on the selection and select 'file out'. The category will be filed out as an .st file in the directory where squeak is stored. Same mechanism for the other there saving options.
SIDE NOTE: If you ever e-mail an .st file, make sure to zip it up first. If you do not zip it up, the receiver will have a hard to reading the file once filed in because the returns and spacing in the code is not saved.
Hope this has been a bit of a help to get started.
Link to this Page
- Cases last edited on 30 July 2011 at 2:33 am by r59h132.res.gatech.edu