Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
pr file
Last updated at 5:38 pm UTC on 13 June 2018
Projects are saved in *.pr files.
A *.pr file may be dropped onto the desktop or be loaded through the file browser.


Implementation: Pr files are loaded with a call to the ProjectLoading class.

 ProjectLoading openOn: stream

Method
 ProjectLoading>>openName:stream:fromDirectory:withProjectView:clearOriginFlag: 
does the work (details).

The method ends with

 Project current openViewAndEnter: anObject

whereas anObject holds the object with the newly loaded content of the pr file.

Note: If it is not about saving a whole project (desktop) then a single morph, however complex, may be saved in a *.morph file.