|
@@ -1,5 +1,25 @@
|
|
smalltalk.addPackage('Helios-Commands-Core');
|
|
smalltalk.addPackage('Helios-Commands-Core');
|
|
smalltalk.addClass('HLCommand', smalltalk.Object, [], 'Helios-Commands-Core');
|
|
smalltalk.addClass('HLCommand', smalltalk.Object, [], 'Helios-Commands-Core');
|
|
|
|
+smalltalk.addMethod(
|
|
|
|
+"_activeBlock",
|
|
|
|
+smalltalk.method({
|
|
|
|
+selector: "activeBlock",
|
|
|
|
+category: 'accessing',
|
|
|
|
+fn: function (){
|
|
|
|
+var self=this;
|
|
|
|
+return smalltalk.withContext(function($ctx1) {
var $1;
|
|
|
|
+$1=(function(){
|
|
|
|
+return smalltalk.withContext(function($ctx2) {
return true;
|
|
|
|
+}, function($ctx2) {$ctx2.fillBlock({},$ctx1)})});
|
|
|
|
+return $1;
|
|
|
|
+}, function($ctx1) {$ctx1.fill(self,"activeBlock",{},smalltalk.HLCommand)})},
|
|
|
|
+args: [],
|
|
|
|
+source: "activeBlock\x0a\x09^ [ true ]",
|
|
|
|
+messageSends: [],
|
|
|
|
+referencedClasses: []
|
|
|
|
+}),
|
|
|
|
+smalltalk.HLCommand);
|
|
|
|
+
|
|
smalltalk.addMethod(
|
|
smalltalk.addMethod(
|
|
"_asActionBinding",
|
|
"_asActionBinding",
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
@@ -8,14 +28,14 @@ category: 'converting',
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
var $1;
|
|
return smalltalk.withContext(function($ctx1) {
var $1;
|
|
-$1=_st(_st((smalltalk.HLBindingAction || HLBindingAction))._on_labelled_(_st(self)._key(),_st(self)._label()))._callback_((function(){
|
|
|
|
|
|
+$1=_st(_st((smalltalk.HLBindingAction || HLBindingAction))._on_labelled_activeBlock_(_st(self)._key(),_st(self)._label(),_st(self)._activeBlock()))._callback_((function(){
|
|
return smalltalk.withContext(function($ctx2) {
return _st(self)._execute();
|
|
return smalltalk.withContext(function($ctx2) {
return _st(self)._execute();
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"asActionBinding",{},smalltalk.HLCommand)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asActionBinding",{},smalltalk.HLCommand)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asActionBinding\x0a\x09^ (HLBindingAction on: self key labelled: self label)\x0a \x09callback: [ self execute ]",
|
|
|
|
-messageSends: ["callback:", "execute", "on:labelled:", "key", "label"],
|
|
|
|
|
|
+source: "asActionBinding\x0a\x09^ (HLBindingAction on: self key labelled: self label activeBlock: self activeBlock)\x0a \x09callback: [ self execute ]",
|
|
|
|
+messageSends: ["callback:", "execute", "on:labelled:activeBlock:", "key", "label", "activeBlock"],
|
|
referencedClasses: ["HLBindingAction"]
|
|
referencedClasses: ["HLBindingAction"]
|
|
}),
|
|
}),
|
|
smalltalk.HLCommand);
|
|
smalltalk.HLCommand);
|
|
@@ -167,6 +187,27 @@ referencedClasses: []
|
|
smalltalk.HLCommand);
|
|
smalltalk.HLCommand);
|
|
|
|
|
|
|
|
|
|
|
|
+smalltalk.addMethod(
|
|
|
|
+"_asBindingOn_",
|
|
|
|
+smalltalk.method({
|
|
|
|
+selector: "asBindingOn:",
|
|
|
|
+category: 'converting',
|
|
|
|
+fn: function (aBinding){
|
|
|
|
+var self=this;
|
|
|
|
+var instance;
|
|
|
|
+return smalltalk.withContext(function($ctx1) {
var $1;
|
|
|
|
+instance=_st(_st(self)._new())._asBinding();
|
|
|
|
+_st(aBinding)._add_(instance);
|
|
|
|
+$1=instance;
|
|
|
|
+return $1;
|
|
|
|
+}, function($ctx1) {$ctx1.fill(self,"asBindingOn:",{aBinding:aBinding,instance:instance},smalltalk.HLCommand.klass)})},
|
|
|
|
+args: ["aBinding"],
|
|
|
|
+source: "asBindingOn: aBinding\x0a\x09| instance |\x0a\x09\x0a\x09instance := self new asBinding.\x0a\x09aBinding add: instance.\x0a\x09^ instance",
|
|
|
|
+messageSends: ["asBinding", "new", "add:"],
|
|
|
|
+referencedClasses: []
|
|
|
|
+}),
|
|
|
|
+smalltalk.HLCommand.klass);
|
|
|
|
+
|
|
smalltalk.addMethod(
|
|
smalltalk.addMethod(
|
|
"_concreteSubclasses",
|
|
"_concreteSubclasses",
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
@@ -260,20 +301,23 @@ selector: "registerConcreteClassesOn:",
|
|
category: 'registration',
|
|
category: 'registration',
|
|
fn: function (aBinding){
|
|
fn: function (aBinding){
|
|
var self=this;
|
|
var self=this;
|
|
|
|
+var newBinding;
|
|
return smalltalk.withContext(function($ctx1) {
var $1;
|
|
return smalltalk.withContext(function($ctx1) {
var $1;
|
|
-_st(_st(self)._concreteSubclasses())._do_((function(each){
|
|
|
|
-var binding;
|
|
|
|
-return smalltalk.withContext(function($ctx2) {
binding=_st(each)._registerOn_(aBinding);
|
|
|
|
-binding;
|
|
|
|
-$1=_st(binding)._isBindingGroup();
|
|
|
|
|
|
+$1=_st(self)._isConcrete();
|
|
if(smalltalk.assert($1)){
|
|
if(smalltalk.assert($1)){
|
|
-return _st(each)._registerConcreteClassesOn_(binding);
|
|
|
|
|
|
+newBinding=_st(self)._asBindingOn_(aBinding);
|
|
|
|
+newBinding;
|
|
|
|
+} else {
|
|
|
|
+newBinding=aBinding;
|
|
|
|
+newBinding;
|
|
};
|
|
};
|
|
-}, function($ctx2) {$ctx2.fillBlock({each:each,binding:binding},$ctx1)})}));
|
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"registerConcreteClassesOn:",{aBinding:aBinding},smalltalk.HLCommand.klass)})},
|
|
|
|
|
|
+_st(_st(self)._subclasses())._do_((function(each){
|
|
|
|
+return smalltalk.withContext(function($ctx2) {
return _st(each)._registerConcreteClassesOn_(newBinding);
|
|
|
|
+}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1)})}));
|
|
|
|
+return self}, function($ctx1) {$ctx1.fill(self,"registerConcreteClassesOn:",{aBinding:aBinding,newBinding:newBinding},smalltalk.HLCommand.klass)})},
|
|
args: ["aBinding"],
|
|
args: ["aBinding"],
|
|
-source: "registerConcreteClassesOn: aBinding\x0a\x09self concreteSubclasses do: [ :each | | binding |\x0a\x09\x09binding := each registerOn: aBinding.\x0a\x09\x09binding isBindingGroup ifTrue: [\x0a\x09\x09\x09each registerConcreteClassesOn: binding ] ]",
|
|
|
|
-messageSends: ["do:", "registerOn:", "ifTrue:", "registerConcreteClassesOn:", "isBindingGroup", "concreteSubclasses"],
|
|
|
|
|
|
+source: "registerConcreteClassesOn: aBinding\x0a\x09| newBinding |\x0a\x09\x0a\x09self isConcrete\x0a\x09\x09ifTrue: [ newBinding := self asBindingOn: aBinding ]\x0a\x09\x09ifFalse: [ newBinding := aBinding ].\x0a\x09\x09\x0a\x09self subclasses do: [ :each | each registerConcreteClassesOn: newBinding ]",
|
|
|
|
+messageSends: ["ifTrue:ifFalse:", "asBindingOn:", "isConcrete", "do:", "registerConcreteClassesOn:", "subclasses"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
smalltalk.HLCommand.klass);
|
|
smalltalk.HLCommand.klass);
|
|
@@ -446,627 +490,6 @@ referencedClasses: []
|
|
smalltalk.HLModelCommand.klass);
|
|
smalltalk.HLModelCommand.klass);
|
|
|
|
|
|
|
|
|
|
-smalltalk.addClass('HLBrowserCommand', smalltalk.HLModelCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_for_",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "for:",
|
|
|
|
-category: 'instance creation',
|
|
|
|
-fn: function (aBrowserModel){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
var $2,$3,$1;
|
|
|
|
-$2=_st(self)._new();
|
|
|
|
-_st($2)._model_(aBrowserModel);
|
|
|
|
-$3=_st($2)._yourself();
|
|
|
|
-$1=$3;
|
|
|
|
-return $1;
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"for:",{aBrowserModel:aBrowserModel},smalltalk.HLBrowserCommand.klass)})},
|
|
|
|
-args: ["aBrowserModel"],
|
|
|
|
-source: "for: aBrowserModel\x0a\x09^ self new\x0a \x09model: aBrowserModel;\x0a yourself",
|
|
|
|
-messageSends: ["model:", "new", "yourself"],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLBrowserCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLBrowserGoToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (71);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09^ 71",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLBrowserGoToCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "Go to";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'Go to'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLBrowserGoToCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLGoToClassesCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_execute",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "execute",
|
|
|
|
-category: 'executing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
_st(_st(self)._model())._focusOnClasses();
|
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToClassesCommand)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "execute\x0a\x09self model focusOnClasses",
|
|
|
|
-messageSends: ["focusOnClasses", "model"],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToClassesCommand);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (67);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToClassesCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToClassesCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "Classes";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToClassesCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'Classes'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToClassesCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLGoToMethodsCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_execute",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "execute",
|
|
|
|
-category: 'executing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
_st(_st(self)._model())._focusOnMethods();
|
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToMethodsCommand)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "execute\x0a\x09self model focusOnMethods",
|
|
|
|
-messageSends: ["focusOnMethods", "model"],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToMethodsCommand);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (77);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToMethodsCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09\x22m\x22\x0a \x0a\x09^ 77",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToMethodsCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "Methods";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToMethodsCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'Methods'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToMethodsCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLGoToPackagesCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_execute",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "execute",
|
|
|
|
-category: 'executing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
_st(_st(self)._model())._focusOnPackages();
|
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToPackagesCommand)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "execute\x0a\x09self model focusOnPackages",
|
|
|
|
-messageSends: ["focusOnPackages", "model"],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToPackagesCommand);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (80);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToPackagesCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 80",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToPackagesCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "Packages";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToPackagesCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'Packages'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToPackagesCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLGoToProtocolsCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_execute",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "execute",
|
|
|
|
-category: 'executing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
_st(_st(self)._model())._focusOnProtocols();
|
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToProtocolsCommand)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "execute\x0a\x09self model focusOnProtocols",
|
|
|
|
-messageSends: ["focusOnProtocols", "model"],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToProtocolsCommand);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (84);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToProtocolsCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 84",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToProtocolsCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "Protocols";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToProtocolsCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'Protocols'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToProtocolsCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLGoToSourceCodeCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_execute",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "execute",
|
|
|
|
-category: 'executing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
_st(_st(self)._model())._focusOnSourceCode();
|
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToSourceCodeCommand)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "execute\x0a\x09self model focusOnSourceCode",
|
|
|
|
-messageSends: ["focusOnSourceCode", "model"],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToSourceCodeCommand);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (83);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09\x22s\x22\x0a \x0a\x09^ 83",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToSourceCodeCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "Source code";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'Source code'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLGoToSourceCodeCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLMoveToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (77);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveToCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09^ 77",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLMoveToCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "Move";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveToCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'Move'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLMoveToCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLMoveMethodToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (77);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09^ 77",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLMoveMethodToCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "Method";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'Method'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLMoveMethodToCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLMoveMethodToClassCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_execute",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "execute",
|
|
|
|
-category: 'executing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "execute",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLMoveMethodToClassCommand);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (67);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09^ 67",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLMoveMethodToClassCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "to class";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x09\x0a\x09^ 'to class'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLMoveMethodToClassCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLMoveMethodToProtocolCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_execute",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "execute",
|
|
|
|
-category: 'executing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "execute",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLMoveMethodToProtocolCommand);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (84);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09^ 84",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLMoveMethodToProtocolCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "to protocol";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'to protocol'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLMoveMethodToProtocolCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (84);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09^ 84",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLToggleCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "Toggle";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'Toggle'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLToggleCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_execute",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "execute",
|
|
|
|
-category: 'executing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
_st(_st(self)._model())._showInstance_(false);
|
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "execute\x0a\x09self model showInstance: false",
|
|
|
|
-messageSends: ["showInstance:", "model"],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLToggleClassSideCommand);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (67);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLToggleClassSideCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "Class side";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'Class side'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLToggleClassSideCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_execute",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "execute",
|
|
|
|
-category: 'executing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
_st(_st(self)._model())._showInstance_(true);
|
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "execute\x0a\x09self model showInstance: true",
|
|
|
|
-messageSends: ["showInstance:", "model"],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLToggleInstanceSideCommand);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_key",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "key",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return (73);
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "key\x0a\x09\x22i\x22\x0a \x0a\x09^ 73",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLToggleInstanceSideCommand.klass);
|
|
|
|
-
|
|
|
|
-smalltalk.addMethod(
|
|
|
|
-"_label",
|
|
|
|
-smalltalk.method({
|
|
|
|
-selector: "label",
|
|
|
|
-category: 'accessing',
|
|
|
|
-fn: function (){
|
|
|
|
-var self=this;
|
|
|
|
-return smalltalk.withContext(function($ctx1) {
return "Instance side";
|
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
|
|
|
|
-args: [],
|
|
|
|
-source: "label\x0a\x09^ 'Instance side'",
|
|
|
|
-messageSends: [],
|
|
|
|
-referencedClasses: []
|
|
|
|
-}),
|
|
|
|
-smalltalk.HLToggleInstanceSideCommand.klass);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
smalltalk.addClass('HLOpenCommand', smalltalk.HLCommand, [], 'Helios-Commands-Core');
|
|
smalltalk.addClass('HLOpenCommand', smalltalk.HLCommand, [], 'Helios-Commands-Core');
|
|
|
|
|
|
smalltalk.addMethod(
|
|
smalltalk.addMethod(
|