|
@@ -1544,13 +1544,13 @@ fn: function (aString){
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
var $1;
|
|
var $1;
|
|
-$1=_st(_st(self)._methodsInProtocol_(aString))._collect_((function(each){
|
|
|
|
|
|
+$1=_st(_st(_st(self)._methodsInProtocol_(aString))._collect_((function(each){
|
|
return smalltalk.withContext(function($ctx2) {
|
|
return smalltalk.withContext(function($ctx2) {
|
|
return _st(each)._selector();
|
|
return _st(each)._selector();
|
|
-}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1)})}));
|
|
|
|
|
|
+}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1)})})))._sorted();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"selectorsInProtocol:",{aString:aString},smalltalk.HLMethodsListWidget)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"selectorsInProtocol:",{aString:aString},smalltalk.HLMethodsListWidget)})},
|
|
-messageSends: ["collect:", "selector", "methodsInProtocol:"]}),
|
|
|
|
|
|
+messageSends: ["sorted", "collect:", "selector", "methodsInProtocol:"]}),
|
|
smalltalk.HLMethodsListWidget);
|
|
smalltalk.HLMethodsListWidget);
|
|
|
|
|
|
smalltalk.addMethod(
|
|
smalltalk.addMethod(
|
|
@@ -1693,6 +1693,39 @@ return self}, function($ctx1) {$ctx1.fill(self,"observeModel",{},smalltalk.HLPac
|
|
messageSends: ["on:do:", "onPackageSelected:", "item", "announcer", "model", "onPackagesFocusRequested"]}),
|
|
messageSends: ["on:do:", "onPackageSelected:", "item", "announcer", "model", "onPackagesFocusRequested"]}),
|
|
smalltalk.HLPackagesListWidget);
|
|
smalltalk.HLPackagesListWidget);
|
|
|
|
|
|
|
|
+smalltalk.addMethod(
|
|
|
|
+smalltalk.method({
|
|
|
|
+selector: "observeSystem",
|
|
|
|
+fn: function (){
|
|
|
|
+var self=this;
|
|
|
|
+function $ClassAdded(){return smalltalk.ClassAdded||(typeof ClassAdded=="undefined"?nil:ClassAdded)}
|
|
|
|
+return smalltalk.withContext(function($ctx1) {
|
|
|
|
+_st(_st(_st(self)._model())._systemAnnouncer())._on_do_($ClassAdded(),(function(ann){
|
|
|
|
+return smalltalk.withContext(function($ctx2) {
|
|
|
|
+return _st(self)._onClassAdded_(_st(ann)._theClass());
|
|
|
|
+}, function($ctx2) {$ctx2.fillBlock({ann:ann},$ctx1)})}));
|
|
|
|
+return self}, function($ctx1) {$ctx1.fill(self,"observeSystem",{},smalltalk.HLPackagesListWidget)})},
|
|
|
|
+messageSends: ["on:do:", "onClassAdded:", "theClass", "systemAnnouncer", "model"]}),
|
|
|
|
+smalltalk.HLPackagesListWidget);
|
|
|
|
+
|
|
|
|
+smalltalk.addMethod(
|
|
|
|
+smalltalk.method({
|
|
|
|
+selector: "onClassAdded:",
|
|
|
|
+fn: function (aClass){
|
|
|
|
+var self=this;
|
|
|
|
+return smalltalk.withContext(function($ctx1) {
|
|
|
|
+var $1,$2,$3;
|
|
|
|
+$1=_st(_st(self)._items())._includes_(_st(aClass)._package());
|
|
|
|
+if(! smalltalk.assert($1)){
|
|
|
|
+$2=self;
|
|
|
|
+_st($2)._initializeItems();
|
|
|
|
+$3=_st($2)._refresh();
|
|
|
|
+$3;
|
|
|
|
+};
|
|
|
|
+return self}, function($ctx1) {$ctx1.fill(self,"onClassAdded:",{aClass:aClass},smalltalk.HLPackagesListWidget)})},
|
|
|
|
+messageSends: ["ifFalse:", "initializeItems", "refresh", "includes:", "package", "items"]}),
|
|
|
|
+smalltalk.HLPackagesListWidget);
|
|
|
|
+
|
|
smalltalk.addMethod(
|
|
smalltalk.addMethod(
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: "onPackageSelected:",
|
|
selector: "onPackageSelected:",
|