Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Project parameters dictionary -- usage example
Last updated at 3:06 pm UTC on 28 April 2019
The project parameters dictionary may be used for example to give projects a "weight" value so that they can be sorted in an order suiting the applications needs.

You may use

 Project current projectParameterAt: #weight put: 100.
 projectParameterAt: #weight ifAbsent: [9999]

Or

 Project current projectParameterAt: #status put: #test.
 Project current projectParameterAt: #status put: #documentation.
 Project current projectParameterAt: #status put: #development.
 Project current projectParameterAt: #status put: #contentDevelopment.
 Project current projectParameterAt: #status put: #dynabook.



 projectParameterAt: #status ifAbsent: ['']

to distinguish different project types containing workspaces and browsers for work in different roles.

Note: There are sorting methods for alphabetical order and hierarchy traversal.