The Inbox: Environments-jr.71.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Environments-jr.71.mcz

commits-2
A new version of Environments was added to project The Inbox:
http://source.squeak.org/inbox/Environments-jr.71.mcz

==================== Summary ====================

Name: Environments-jr.71
Author: jr
Time: 28 February 2017, 2:36:25.745081 am
UUID: a50d4dbb-f587-6d46-bd22-bfcba43c4187
Ancestors: Environments-jr.69

add a signal to ask for an environment

to be used by Monticello to choose an environment

=============== Diff against Environments-jr.69 ===============

Item was changed:
  SystemOrganization addCategory: #'Environments-Core'!
  SystemOrganization addCategory: #'Environments-Loading'!
  SystemOrganization addCategory: #'Environments-Policies'!
  SystemOrganization addCategory: #'Environments-Help'!
+ SystemOrganization addCategory: #'Environments-Notifications'!

Item was added:
+ Notification subclass: #EnvironmentRequest
+ instanceVariableNames: ''
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'Environments-Notifications'!
+
+ !EnvironmentRequest commentStamp: 'jr 1/15/2017 00:34' prior: 0!
+ I represent a request for an Environment that is not necessarily the CurrentEnvironment, but any Environment available in the system.
+
+ Instance Variables
+ !

Item was added:
+ ----- Method: EnvironmentRequest>>defaultAction (in category 'exceptionDescription') -----
+ defaultAction
+ | all environment |
+ all := Environment allInstances.
+ environment := UIManager default chooseFrom: all values: all.
+ self resume: environment.!