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
Last updated at 8:36 am UTC on 1 November 2018
Project objects maintain a

projectParameters Identity dictionary.


The method category for this is called 'project parameters'.


This may be used for example to give projects a weight 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.