Browse Source

Fixes HLInspectorDisplayWidget >> selection

Nicolas Petton 10 years ago
parent
commit
42c34b0682
2 changed files with 89 additions and 89 deletions
  1. 88 88
      src/Helios-Inspector.js
  2. 1 1
      src/Helios-Inspector.st

+ 88 - 88
src/Helios-Inspector.js

@@ -15,7 +15,7 @@ return $1;
 },
 args: [],
 source: "inspector\x0a\x09^ inspector",
-messageSends: ["inspector"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorDisplayWidget);
@@ -30,7 +30,7 @@ self["@inspector"]=anInspector;
 return self},
 args: ["anInspector"],
 source: "inspector: anInspector\x0a\x09inspector := anInspector",
-messageSends: ["inspector:"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorDisplayWidget);
@@ -48,7 +48,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"model",{},globals.HLInspectorDisplayWidget)})},
 args: [],
 source: "model\x0a\x0a\x09^ self inspector model",
-messageSends: ["model", "inspector", "model"],
+messageSends: ["model", "inspector"],
 referencedClasses: []
 }),
 globals.HLInspectorDisplayWidget);
@@ -64,7 +64,7 @@ _st(_st(html)._div())._with_(self._selectionDisplayString());
 return self}, function($ctx1) {$ctx1.fill(self,"renderContentOn:",{html:html},globals.HLInspectorDisplayWidget)})},
 args: ["html"],
 source: "renderContentOn: html\x0a\x09\x0a    html div with: self selectionDisplayString",
-messageSends: ["with:", "div", "selectionDisplayString", "renderContentOn:"],
+messageSends: ["with:", "div", "selectionDisplayString"],
 referencedClasses: []
 }),
 globals.HLInspectorDisplayWidget);
@@ -94,7 +94,7 @@ return $2;
 }, function($ctx1) {$ctx1.fill(self,"selectionDisplayString",{selection:selection},globals.HLInspectorDisplayWidget)})},
 args: [],
 source: "selectionDisplayString\x0a\x09|selection|\x0a\x09selection := self model selection.\x0a    ^ (self model variables includesKey: selection)\x0a    \x09ifTrue:[ (self model instVarObjectAt: selection) printString ]\x0a      \x09ifFalse:[ '' ]",
-messageSends: ["selection", "model", "ifTrue:ifFalse:", "includesKey:", "variables", "printString", "instVarObjectAt:", "selectionDisplayString"],
+messageSends: ["selection", "model", "ifTrue:ifFalse:", "includesKey:", "variables", "printString", "instVarObjectAt:"],
 referencedClasses: []
 }),
 globals.HLInspectorDisplayWidget);
@@ -111,7 +111,7 @@ fn: function (){
 var self=this;
 function $HLCodeModel(){return globals.HLCodeModel||(typeof HLCodeModel=="undefined"?nil:HLCodeModel)}
 return smalltalk.withContext(function($ctx1) { 
-var $2,$1;
+var $2,$1,$receiver;
 $2=self["@code"];
 if(($receiver = $2) == nil || $receiver == null){
 self["@code"]=_st($HLCodeModel())._on_(self._environment());
@@ -123,7 +123,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"code",{},globals.HLInspectorModel)})},
 args: [],
 source: "code\x0a\x09\x22Answers the code model working for this workspace model\x22\x0a\x09^ code ifNil:[ code := HLCodeModel on: self environment ]",
-messageSends: ["ifNil:", "on:", "environment", "code"],
+messageSends: ["ifNil:", "on:", "environment"],
 referencedClasses: ["HLCodeModel"]
 }),
 globals.HLInspectorModel);
@@ -141,7 +141,7 @@ _st(self["@inspectee"])._inspectOn_(anInspector);
 return self}, function($ctx1) {$ctx1.fill(self,"inspect:on:",{anObject:anObject,anInspector:anInspector},globals.HLInspectorModel)})},
 args: ["anObject", "anInspector"],
 source: "inspect: anObject on: anInspector\x0a\x09inspectee := anObject.\x0a\x09variables := #().\x0a\x09inspectee inspectOn: anInspector",
-messageSends: ["inspectOn:", "inspect:on:"],
+messageSends: ["inspectOn:"],
 referencedClasses: []
 }),
 globals.HLInspectorModel);
@@ -158,7 +158,7 @@ return $1;
 },
 args: [],
 source: "inspectee \x0a\x09^ inspectee",
-messageSends: ["inspectee"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorModel);
@@ -173,7 +173,7 @@ self["@inspectee"]=anObject;
 return self},
 args: ["anObject"],
 source: "inspectee: anObject \x0a\x09inspectee := anObject",
-messageSends: ["inspectee:"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorModel);
@@ -191,7 +191,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"instVarObjectAt:",{anInstVarName:anInstVarName},globals.HLInspectorModel)})},
 args: ["anInstVarName"],
 source: "instVarObjectAt: anInstVarName\x0a\x09^ self variables at: anInstVarName",
-messageSends: ["at:", "variables", "instVarObjectAt:"],
+messageSends: ["at:", "variables"],
 referencedClasses: []
 }),
 globals.HLInspectorModel);
@@ -203,7 +203,7 @@ protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
-var $2,$1;
+var $2,$1,$receiver;
 $2=self["@label"];
 if(($receiver = $2) == nil || $receiver == null){
 $1=_st(self._inspectee())._printString();
@@ -214,7 +214,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"label",{},globals.HLInspectorModel)})},
 args: [],
 source: "label\x0a    ^ label ifNil: [ self inspectee printString ]",
-messageSends: ["ifNil:", "printString", "inspectee", "label"],
+messageSends: ["ifNil:", "printString", "inspectee"],
 referencedClasses: []
 }),
 globals.HLInspectorModel);
@@ -229,7 +229,7 @@ self["@label"]=aString;
 return self},
 args: ["aString"],
 source: "label: aString\x0a    label := aString",
-messageSends: ["label:"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorModel);
@@ -245,7 +245,7 @@ self._selection_(anInstVarName);
 return self}, function($ctx1) {$ctx1.fill(self,"selectedInstVar:",{anInstVarName:anInstVarName},globals.HLInspectorModel)})},
 args: ["anInstVarName"],
 source: "selectedInstVar: anInstVarName\x0a    self selection: anInstVarName",
-messageSends: ["selection:", "selectedInstVar:"],
+messageSends: ["selection:"],
 referencedClasses: []
 }),
 globals.HLInspectorModel);
@@ -263,7 +263,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"selectedInstVarObject",{},globals.HLInspectorModel)})},
 args: [],
 source: "selectedInstVarObject\x0a\x09^ self instVarObjectAt: self selection",
-messageSends: ["instVarObjectAt:", "selection", "selectedInstVarObject"],
+messageSends: ["instVarObjectAt:", "selection"],
 referencedClasses: []
 }),
 globals.HLInspectorModel);
@@ -275,7 +275,7 @@ protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
-var $2,$1;
+var $2,$1,$receiver;
 $2=self["@selection"];
 if(($receiver = $2) == nil || $receiver == null){
 $1="";
@@ -286,7 +286,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"selection",{},globals.HLInspectorModel)})},
 args: [],
 source: "selection\x0a\x09^ selection ifNil:[ '' ]",
-messageSends: ["ifNil:", "selection"],
+messageSends: ["ifNil:"],
 referencedClasses: []
 }),
 globals.HLInspectorModel);
@@ -304,7 +304,7 @@ _st(self._announcer())._announce_(_st($HLInstanceVariableSelected())._on_(self["
 return self}, function($ctx1) {$ctx1.fill(self,"selection:",{anObject:anObject},globals.HLInspectorModel)})},
 args: ["anObject"],
 source: "selection: anObject\x0a\x09selection := anObject.\x0a\x0a\x09self announcer announce: (HLInstanceVariableSelected on: selection)",
-messageSends: ["announce:", "announcer", "on:", "selection:"],
+messageSends: ["announce:", "announcer", "on:"],
 referencedClasses: ["HLInstanceVariableSelected"]
 }),
 globals.HLInspectorModel);
@@ -320,7 +320,7 @@ _st(aWidget)._subscribeTo_(self._announcer());
 return self}, function($ctx1) {$ctx1.fill(self,"subscribe:",{aWidget:aWidget},globals.HLInspectorModel)})},
 args: ["aWidget"],
 source: "subscribe: aWidget\x0a\x09aWidget subscribeTo: self announcer",
-messageSends: ["subscribeTo:", "announcer", "subscribe:"],
+messageSends: ["subscribeTo:", "announcer"],
 referencedClasses: []
 }),
 globals.HLInspectorModel);
@@ -333,7 +333,7 @@ fn: function (){
 var self=this;
 function $Dictionary(){return globals.Dictionary||(typeof Dictionary=="undefined"?nil:Dictionary)}
 return smalltalk.withContext(function($ctx1) { 
-var $2,$1;
+var $2,$1,$receiver;
 $2=self["@variables"];
 if(($receiver = $2) == nil || $receiver == null){
 $1=_st($Dictionary())._new();
@@ -344,7 +344,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"variables",{},globals.HLInspectorModel)})},
 args: [],
 source: "variables\x0a\x09^ variables ifNil: [ Dictionary new ]",
-messageSends: ["ifNil:", "new", "variables"],
+messageSends: ["ifNil:", "new"],
 referencedClasses: ["Dictionary"]
 }),
 globals.HLInspectorModel);
@@ -359,7 +359,7 @@ self["@variables"]=aCollection;
 return self},
 args: ["aCollection"],
 source: "variables: aCollection\x0a\x09variables := aCollection",
-messageSends: ["variables:"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorModel);
@@ -381,7 +381,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"on:",{anEnvironment:anEnvironment},globals.HLInspectorModel.klass)})},
 args: ["anEnvironment"],
 source: "on: anEnvironment\x0a\x0a\x09^ self new\x0a    \x09environment: anEnvironment;\x0a        yourself",
-messageSends: ["environment:", "new", "yourself", "on:"],
+messageSends: ["environment:", "new", "yourself"],
 referencedClasses: []
 }),
 globals.HLInspectorModel.klass);
@@ -396,7 +396,7 @@ fn: function (){
 var self=this;
 function $Announcer(){return globals.Announcer||(typeof Announcer=="undefined"?nil:Announcer)}
 return smalltalk.withContext(function($ctx1) { 
-var $2,$1;
+var $2,$1,$receiver;
 $2=self["@announcer"];
 if(($receiver = $2) == nil || $receiver == null){
 self["@announcer"]=_st($Announcer())._new();
@@ -408,7 +408,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"announcer",{},globals.HLInspectorVariablesWidget)})},
 args: [],
 source: "announcer\x0a\x09^ announcer ifNil:[ announcer := Announcer new ]",
-messageSends: ["ifNil:", "new", "announcer"],
+messageSends: ["ifNil:", "new"],
 referencedClasses: ["Announcer"]
 }),
 globals.HLInspectorVariablesWidget);
@@ -426,7 +426,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"defaultItems",{},globals.HLInspectorVariablesWidget)})},
 args: [],
 source: "defaultItems\x0a\x09^ self variables",
-messageSends: ["variables", "defaultItems"],
+messageSends: ["variables"],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -443,7 +443,7 @@ _st(self._announcer())._announce_(_st($HLDiveRequested())._new());
 return self}, function($ctx1) {$ctx1.fill(self,"dive",{},globals.HLInspectorVariablesWidget)})},
 args: [],
 source: "dive\x0a\x09self announcer announce: HLDiveRequested new",
-messageSends: ["announce:", "announcer", "new", "dive"],
+messageSends: ["announce:", "announcer", "new"],
 referencedClasses: ["HLDiveRequested"]
 }),
 globals.HLInspectorVariablesWidget);
@@ -460,7 +460,7 @@ return $1;
 },
 args: [],
 source: "inspector\x0a\x09^ inspector",
-messageSends: ["inspector"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -475,7 +475,7 @@ self["@inspector"]=anInspector;
 return self},
 args: ["anInspector"],
 source: "inspector: anInspector\x0a\x09inspector := anInspector",
-messageSends: ["inspector:"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -493,7 +493,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"label",{},globals.HLInspectorVariablesWidget)})},
 args: [],
 source: "label\x0a\x09^ self model label",
-messageSends: ["label", "model", "label"],
+messageSends: ["label", "model"],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -511,7 +511,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"model",{},globals.HLInspectorVariablesWidget)})},
 args: [],
 source: "model\x0a    ^ self inspector model",
-messageSends: ["model", "inspector", "model"],
+messageSends: ["model", "inspector"],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -532,7 +532,7 @@ globals.HLInspectorVariablesWidget.superclass.fn.prototype._refresh.apply(_st(se
 return self}, function($ctx1) {$ctx1.fill(self,"refresh",{},globals.HLInspectorVariablesWidget)})},
 args: [],
 source: "refresh\x0a\x09self variables = self items ifFalse: [\x0a\x09\x09self resetItems.\x0a    \x09super refresh ]",
-messageSends: ["ifFalse:", "=", "variables", "items", "resetItems", "refresh", "refresh"],
+messageSends: ["ifFalse:", "=", "variables", "items", "resetItems", "refresh"],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -556,7 +556,7 @@ self["@diveButton"]=$2;
 return self}, function($ctx1) {$ctx1.fill(self,"renderButtonsOn:",{html:html},globals.HLInspectorVariablesWidget)})},
 args: ["html"],
 source: "renderButtonsOn: html\x0a\x09diveButton := html button \x0a\x09\x09class: 'btn';\x0a\x09\x09with: 'Dive'; \x0a\x09\x09onClick: [ self dive ]",
-messageSends: ["class:", "button", "with:", "onClick:", "dive", "renderButtonsOn:"],
+messageSends: ["class:", "button", "with:", "onClick:", "dive"],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -577,7 +577,7 @@ return self._dive();
 return self}, function($ctx1) {$ctx1.fill(self,"renderContentOn:",{html:html},globals.HLInspectorVariablesWidget)})},
 args: ["html"],
 source: "renderContentOn: html\x0a\x09self renderHeadOn: html.\x0a\x09super renderContentOn: html.\x0a\x09self wrapper onDblClick: [ self dive ]",
-messageSends: ["renderHeadOn:", "renderContentOn:", "onDblClick:", "wrapper", "dive", "renderContentOn:"],
+messageSends: ["renderHeadOn:", "renderContentOn:", "onDblClick:", "wrapper", "dive"],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -596,7 +596,7 @@ $2=_st($1)._with_(self._label());
 return self}, function($ctx1) {$ctx1.fill(self,"renderHeadOn:",{html:html},globals.HLInspectorVariablesWidget)})},
 args: ["html"],
 source: "renderHeadOn: html\x0a\x09html div \x0a\x09\x09class: 'list-label';\x0a\x09\x09with: self label",
-messageSends: ["class:", "div", "with:", "label", "renderHeadOn:"],
+messageSends: ["class:", "div", "with:", "label"],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -611,7 +611,7 @@ self["@items"]=nil;
 return self},
 args: [],
 source: "resetItems\x0a\x09items := nil",
-messageSends: ["resetItems"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -628,7 +628,7 @@ _st(self._model())._selectedInstVar_(anObject);
 return self}, function($ctx1) {$ctx1.fill(self,"selectItem:",{anObject:anObject},globals.HLInspectorVariablesWidget)})},
 args: ["anObject"],
 source: "selectItem: anObject\x0a\x09super selectItem: anObject.\x0a    self model selectedInstVar: anObject",
-messageSends: ["selectItem:", "selectedInstVar:", "model", "selectItem:"],
+messageSends: ["selectItem:", "selectedInstVar:", "model"],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -641,12 +641,12 @@ fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
 var $1;
-$1=_st(self["@model"])._selection();
+$1=_st(self._model())._selection();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"selection",{},globals.HLInspectorVariablesWidget)})},
 args: [],
-source: "selection\x0a\x09^ model selection",
-messageSends: ["selection", "selection"],
+source: "selection\x0a\x09^ self model selection",
+messageSends: ["selection", "model"],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -664,7 +664,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"variables",{},globals.HLInspectorVariablesWidget)})},
 args: [],
 source: "variables\x0a\x09^ self model variables keys",
-messageSends: ["keys", "variables", "model", "variables"],
+messageSends: ["keys", "variables", "model"],
 referencedClasses: []
 }),
 globals.HLInspectorVariablesWidget);
@@ -679,7 +679,7 @@ protocol: 'accessing',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
-var $2,$1;
+var $2,$1,$receiver;
 $2=self["@codeWidget"];
 if(($receiver = $2) == nil || $receiver == null){
 self["@codeWidget"]=self._defaultCodeWidget();
@@ -691,7 +691,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"codeWidget",{},globals.HLInspectorWidget)})},
 args: [],
 source: "codeWidget\x0a\x09^ codeWidget ifNil: [\x0a\x09\x09codeWidget := self defaultCodeWidget ]",
-messageSends: ["ifNil:", "defaultCodeWidget", "codeWidget"],
+messageSends: ["ifNil:", "defaultCodeWidget"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -706,7 +706,7 @@ self["@codeWidget"]=aWidget;
 return self},
 args: ["aWidget"],
 source: "codeWidget: aWidget\x0a\x09codeWidget := aWidget",
-messageSends: ["codeWidget:"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -733,7 +733,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"defaultCodeWidget",{},globals.HLInspectorWidget)})},
 args: [],
 source: "defaultCodeWidget\x0a\x09^ HLCodeWidget new\x0a    \x09model: self model code;\x0a       \x09receiver: self model inspectee;\x0a       \x09yourself",
-messageSends: ["model:", "new", "code", "model", "receiver:", "inspectee", "yourself", "defaultCodeWidget"],
+messageSends: ["model:", "new", "code", "model", "receiver:", "inspectee", "yourself"],
 referencedClasses: ["HLCodeWidget"]
 }),
 globals.HLInspectorWidget);
@@ -746,7 +746,7 @@ fn: function (){
 var self=this;
 function $HLInspectorDisplayWidget(){return globals.HLInspectorDisplayWidget||(typeof HLInspectorDisplayWidget=="undefined"?nil:HLInspectorDisplayWidget)}
 return smalltalk.withContext(function($ctx1) { 
-var $2,$3,$4,$1;
+var $2,$3,$4,$1,$receiver;
 $2=self["@displayWidget"];
 if(($receiver = $2) == nil || $receiver == null){
 $3=_st($HLInspectorDisplayWidget())._new();
@@ -761,7 +761,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"displayWidget",{},globals.HLInspectorWidget)})},
 args: [],
 source: "displayWidget\x0a\x09^ displayWidget ifNil: [\x0a\x09\x09displayWidget := HLInspectorDisplayWidget new\x0a    \x09\x09inspector: self;\x0a        \x09yourself ]",
-messageSends: ["ifNil:", "inspector:", "new", "yourself", "displayWidget"],
+messageSends: ["ifNil:", "inspector:", "new", "yourself"],
 referencedClasses: ["HLInspectorDisplayWidget"]
 }),
 globals.HLInspectorWidget);
@@ -778,7 +778,7 @@ self._register();
 return self}, function($ctx1) {$ctx1.fill(self,"initialize",{},globals.HLInspectorWidget)})},
 args: [],
 source: "initialize\x0a\x09super initialize.\x0a\x09self register",
-messageSends: ["initialize", "register", "initialize"],
+messageSends: ["initialize", "register"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -798,7 +798,7 @@ $1=self._refreshDisplayWidget();
 return self}, function($ctx1) {$ctx1.fill(self,"inspect:",{anObject:anObject},globals.HLInspectorWidget)})},
 args: ["anObject"],
 source: "inspect: anObject\x0a\x09self model inspect: anObject on: self.\x0a\x09self codeWidget receiver: anObject.\x0a    \x0a\x09self \x0a    \x09refreshVariablesWidget;\x0a\x09\x09refreshDisplayWidget",
-messageSends: ["inspect:on:", "model", "receiver:", "codeWidget", "refreshVariablesWidget", "refreshDisplayWidget", "inspect:"],
+messageSends: ["inspect:on:", "model", "receiver:", "codeWidget", "refreshVariablesWidget", "refreshDisplayWidget"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -816,7 +816,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"inspectee",{},globals.HLInspectorWidget)})},
 args: [],
 source: "inspectee\x0a\x09^ self model inspectee",
-messageSends: ["inspectee", "model", "inspectee"],
+messageSends: ["inspectee", "model"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -832,7 +832,7 @@ _st(self._model())._inspectee_(anObject);
 return self}, function($ctx1) {$ctx1.fill(self,"inspectee:",{anObject:anObject},globals.HLInspectorWidget)})},
 args: ["anObject"],
 source: "inspectee: anObject\x0a\x09self model inspectee: anObject",
-messageSends: ["inspectee:", "model", "inspectee:"],
+messageSends: ["inspectee:", "model"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -850,7 +850,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"label",{},globals.HLInspectorWidget)})},
 args: [],
 source: "label\x0a    ^ self model label",
-messageSends: ["label", "model", "label"],
+messageSends: ["label", "model"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -863,7 +863,7 @@ fn: function (){
 var self=this;
 function $HLInspectorModel(){return globals.HLInspectorModel||(typeof HLInspectorModel=="undefined"?nil:HLInspectorModel)}
 return smalltalk.withContext(function($ctx1) { 
-var $2,$1;
+var $2,$1,$receiver;
 $2=self["@model"];
 if(($receiver = $2) == nil || $receiver == null){
 self._model_(_st($HLInspectorModel())._new());
@@ -875,7 +875,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"model",{},globals.HLInspectorWidget)})},
 args: [],
 source: "model\x0a\x09^ model ifNil: [ \x0a    \x09self model: HLInspectorModel new.\x0a\x09\x09model ]",
-messageSends: ["ifNil:", "model:", "new", "model"],
+messageSends: ["ifNil:", "model:", "new"],
 referencedClasses: ["HLInspectorModel"]
 }),
 globals.HLInspectorWidget);
@@ -896,7 +896,7 @@ $1=self._observeModel();
 return self}, function($ctx1) {$ctx1.fill(self,"model:",{aModel:aModel},globals.HLInspectorWidget)})},
 args: ["aModel"],
 source: "model: aModel\x0a\x09model := aModel. \x0a    self codeWidget model: aModel code.\x0a    \x0a    self \x0a        observeCodeWidget;\x0a    \x09observeVariablesWidget;\x0a        observeModel",
-messageSends: ["model:", "codeWidget", "code", "observeCodeWidget", "observeVariablesWidget", "observeModel", "model:"],
+messageSends: ["model:", "codeWidget", "code", "observeCodeWidget", "observeVariablesWidget", "observeModel"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -916,7 +916,7 @@ return self._onDoneIt();
 return self}, function($ctx1) {$ctx1.fill(self,"observeCodeWidget",{},globals.HLInspectorWidget)})},
 args: [],
 source: "observeCodeWidget\x0a\x09self codeWidget announcer \x0a    \x09on: HLDoItExecuted \x0a        do: [ self onDoneIt ]",
-messageSends: ["on:do:", "announcer", "codeWidget", "onDoneIt", "observeCodeWidget"],
+messageSends: ["on:do:", "announcer", "codeWidget", "onDoneIt"],
 referencedClasses: ["HLDoItExecuted"]
 }),
 globals.HLInspectorWidget);
@@ -933,7 +933,7 @@ _st(_st(self._model())._announcer())._on_send_to_($HLInstanceVariableSelected(),
 return self}, function($ctx1) {$ctx1.fill(self,"observeModel",{},globals.HLInspectorWidget)})},
 args: [],
 source: "observeModel\x0a\x09self model announcer\x0a        on: HLInstanceVariableSelected\x0a\x09\x09send: #onInstanceVariableSelected\x0a\x09\x09to: self",
-messageSends: ["on:send:to:", "announcer", "model", "observeModel"],
+messageSends: ["on:send:to:", "announcer", "model"],
 referencedClasses: ["HLInstanceVariableSelected"]
 }),
 globals.HLInspectorWidget);
@@ -950,7 +950,7 @@ _st(_st(self._variablesWidget())._announcer())._on_send_to_($HLDiveRequested(),"
 return self}, function($ctx1) {$ctx1.fill(self,"observeVariablesWidget",{},globals.HLInspectorWidget)})},
 args: [],
 source: "observeVariablesWidget\x0a\x09self variablesWidget announcer \x0a        on: HLDiveRequested \x0a\x09\x09send: #onDive\x0a\x09\x09to: self",
-messageSends: ["on:send:to:", "announcer", "variablesWidget", "observeVariablesWidget"],
+messageSends: ["on:send:to:", "announcer", "variablesWidget"],
 referencedClasses: ["HLDiveRequested"]
 }),
 globals.HLInspectorWidget);
@@ -970,7 +970,7 @@ $2=_st($1)._openAsTab();
 return self}, function($ctx1) {$ctx1.fill(self,"onDive",{},globals.HLInspectorWidget)})},
 args: [],
 source: "onDive\x0a\x09HLInspector new \x0a\x09\x09inspect: self model selectedInstVarObject;\x0a\x09\x09openAsTab",
-messageSends: ["inspect:", "new", "selectedInstVarObject", "model", "openAsTab", "onDive"],
+messageSends: ["inspect:", "new", "selectedInstVarObject", "model", "openAsTab"],
 referencedClasses: ["HLInspector"]
 }),
 globals.HLInspectorWidget);
@@ -986,7 +986,7 @@ self._refresh();
 return self}, function($ctx1) {$ctx1.fill(self,"onDoneIt",{},globals.HLInspectorWidget)})},
 args: [],
 source: "onDoneIt\x0a\x0a\x09self refresh",
-messageSends: ["refresh", "onDoneIt"],
+messageSends: ["refresh"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -1000,7 +1000,7 @@ var self=this;
 return self},
 args: [],
 source: "onInspectIt",
-messageSends: ["onInspectIt"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -1016,7 +1016,7 @@ self._refreshDisplayWidget();
 return self}, function($ctx1) {$ctx1.fill(self,"onInstanceVariableSelected",{},globals.HLInspectorWidget)})},
 args: [],
 source: "onInstanceVariableSelected\x0a\x09self refreshDisplayWidget",
-messageSends: ["refreshDisplayWidget", "onInstanceVariableSelected"],
+messageSends: ["refreshDisplayWidget"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -1030,7 +1030,7 @@ var self=this;
 return self},
 args: [],
 source: "onPrintIt",
-messageSends: ["onPrintIt"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -1046,7 +1046,7 @@ self._inspect_(self._inspectee());
 return self}, function($ctx1) {$ctx1.fill(self,"refresh",{},globals.HLInspectorWidget)})},
 args: [],
 source: "refresh\x0a\x09self inspect: self inspectee",
-messageSends: ["inspect:", "inspectee", "refresh"],
+messageSends: ["inspect:", "inspectee"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -1062,7 +1062,7 @@ _st(self._displayWidget())._refresh();
 return self}, function($ctx1) {$ctx1.fill(self,"refreshDisplayWidget",{},globals.HLInspectorWidget)})},
 args: [],
 source: "refreshDisplayWidget\x0a\x09self displayWidget refresh",
-messageSends: ["refresh", "displayWidget", "refreshDisplayWidget"],
+messageSends: ["refresh", "displayWidget"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -1078,7 +1078,7 @@ _st(self._variablesWidget())._refresh();
 return self}, function($ctx1) {$ctx1.fill(self,"refreshVariablesWidget",{},globals.HLInspectorWidget)})},
 args: [],
 source: "refreshVariablesWidget\x0a\x09self variablesWidget refresh",
-messageSends: ["refresh", "variablesWidget", "refreshVariablesWidget"],
+messageSends: ["refresh", "variablesWidget"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -1095,7 +1095,7 @@ _st($HLInspector())._register_(self);
 return self}, function($ctx1) {$ctx1.fill(self,"register",{},globals.HLInspectorWidget)})},
 args: [],
 source: "register\x0a\x09HLInspector register: self",
-messageSends: ["register:", "register"],
+messageSends: ["register:"],
 referencedClasses: ["HLInspector"]
 }),
 globals.HLInspectorWidget);
@@ -1116,7 +1116,7 @@ _st(html)._with_($1);
 return self}, function($ctx1) {$ctx1.fill(self,"renderContentOn:",{html:html},globals.HLInspectorWidget)})},
 args: ["html"],
 source: "renderContentOn: html\x0a   \x09html with: (HLHorizontalSplitter\x0a    \x09with: (HLVerticalSplitter \x0a            with: self variablesWidget\x0a            with: self displayWidget)\x0a        with: self codeWidget)",
-messageSends: ["with:", "with:with:", "variablesWidget", "displayWidget", "codeWidget", "renderContentOn:"],
+messageSends: ["with:", "with:with:", "variablesWidget", "displayWidget", "codeWidget"],
 referencedClasses: ["HLHorizontalSplitter", "HLVerticalSplitter"]
 }),
 globals.HLInspectorWidget);
@@ -1132,7 +1132,7 @@ _st(self._model())._label_(aString);
 return self}, function($ctx1) {$ctx1.fill(self,"setLabel:",{aString:aString},globals.HLInspectorWidget)})},
 args: ["aString"],
 source: "setLabel: aString\x0a\x09self model label: aString",
-messageSends: ["label:", "model", "setLabel:"],
+messageSends: ["label:", "model"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -1148,7 +1148,7 @@ _st(self._model())._variables_(aDictionary);
 return self}, function($ctx1) {$ctx1.fill(self,"setVariables:",{aDictionary:aDictionary},globals.HLInspectorWidget)})},
 args: ["aDictionary"],
 source: "setVariables: aDictionary\x0a\x09self model variables: aDictionary",
-messageSends: ["variables:", "model", "setVariables:"],
+messageSends: ["variables:", "model"],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -1163,7 +1163,7 @@ return "Inspector";
 },
 args: [],
 source: "tabLabel\x0a    ^ 'Inspector'",
-messageSends: ["tabLabel"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspectorWidget);
@@ -1181,7 +1181,7 @@ _st($HLInspector())._unregister_(self);
 return self}, function($ctx1) {$ctx1.fill(self,"unregister",{},globals.HLInspectorWidget)})},
 args: [],
 source: "unregister\x0a\x09super unregister.\x0a\x09HLInspector unregister: self",
-messageSends: ["unregister", "unregister:", "unregister"],
+messageSends: ["unregister", "unregister:"],
 referencedClasses: ["HLInspector"]
 }),
 globals.HLInspectorWidget);
@@ -1194,7 +1194,7 @@ fn: function (){
 var self=this;
 function $HLInspectorVariablesWidget(){return globals.HLInspectorVariablesWidget||(typeof HLInspectorVariablesWidget=="undefined"?nil:HLInspectorVariablesWidget)}
 return smalltalk.withContext(function($ctx1) { 
-var $2,$3,$4,$1;
+var $2,$3,$4,$1,$receiver;
 $2=self["@variablesWidget"];
 if(($receiver = $2) == nil || $receiver == null){
 $3=_st($HLInspectorVariablesWidget())._new();
@@ -1209,7 +1209,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"variablesWidget",{},globals.HLInspectorWidget)})},
 args: [],
 source: "variablesWidget\x0a\x09^ variablesWidget ifNil: [\x0a\x09\x09variablesWidget := HLInspectorVariablesWidget new\x0a    \x09\x09inspector: self;\x0a        \x09yourself ]",
-messageSends: ["ifNil:", "inspector:", "new", "yourself", "variablesWidget"],
+messageSends: ["ifNil:", "inspector:", "new", "yourself"],
 referencedClasses: ["HLInspectorVariablesWidget"]
 }),
 globals.HLInspectorWidget);
@@ -1229,7 +1229,7 @@ globals.HLInspector.superclass.fn.prototype._inspect_.apply(_st(self), [anObject
 return self}, function($ctx1) {$ctx1.fill(self,"inspect:",{anObject:anObject},globals.HLInspector)})},
 args: ["anObject"],
 source: "inspect: anObject\x0a\x09self setTabLabel: anObject printString.\x0a\x09super inspect: anObject",
-messageSends: ["setTabLabel:", "printString", "inspect:", "inspect:"],
+messageSends: ["setTabLabel:", "printString", "inspect:"],
 referencedClasses: []
 }),
 globals.HLInspector);
@@ -1257,7 +1257,7 @@ _st(self._variablesWidget())._focus();
 return self}, function($ctx1) {$ctx1.fill(self,"renderContentOn:",{html:html},globals.HLInspector)})},
 args: ["html"],
 source: "renderContentOn: html\x0a   \x09html with: (HLContainer with: (HLHorizontalSplitter\x0a    \x09with: (HLVerticalSplitter \x0a            with: self variablesWidget\x0a            with: self displayWidget)\x0a        with: self codeWidget)).\x0a\x09\x0a\x09self variablesWidget focus",
-messageSends: ["with:", "with:with:", "variablesWidget", "displayWidget", "codeWidget", "focus", "renderContentOn:"],
+messageSends: ["with:", "with:with:", "variablesWidget", "displayWidget", "codeWidget", "focus"],
 referencedClasses: ["HLContainer", "HLHorizontalSplitter", "HLVerticalSplitter"]
 }),
 globals.HLInspector);
@@ -1274,7 +1274,7 @@ return false;
 },
 args: [],
 source: "canBeOpenAsTab\x0a\x09^ false",
-messageSends: ["canBeOpenAsTab"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspector.klass);
@@ -1291,7 +1291,7 @@ self._watchChanges();
 return self}, function($ctx1) {$ctx1.fill(self,"initialize",{},globals.HLInspector.klass)})},
 args: [],
 source: "initialize\x0a\x09super initialize.\x0a\x09self watchChanges",
-messageSends: ["initialize", "watchChanges", "initialize"],
+messageSends: ["initialize", "watchChanges"],
 referencedClasses: []
 }),
 globals.HLInspector.klass);
@@ -1310,7 +1310,7 @@ $2=_st($1)._inspect_(anObject);
 return self}, function($ctx1) {$ctx1.fill(self,"inspect:",{anObject:anObject},globals.HLInspector.klass)})},
 args: ["anObject"],
 source: "inspect: anObject\x0a\x09self new\x0a\x09\x09openAsTab;\x0a\x09\x09inspect: anObject",
-messageSends: ["openAsTab", "new", "inspect:", "inspect:"],
+messageSends: ["openAsTab", "new", "inspect:"],
 referencedClasses: []
 }),
 globals.HLInspector.klass);
@@ -1323,7 +1323,7 @@ fn: function (){
 var self=this;
 function $OrderedCollection(){return globals.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}
 return smalltalk.withContext(function($ctx1) { 
-var $2,$1;
+var $2,$1,$receiver;
 $2=self["@inspectors"];
 if(($receiver = $2) == nil || $receiver == null){
 self["@inspectors"]=_st($OrderedCollection())._new();
@@ -1335,7 +1335,7 @@ return $1;
 }, function($ctx1) {$ctx1.fill(self,"inspectors",{},globals.HLInspector.klass)})},
 args: [],
 source: "inspectors\x0a\x09^ inspectors ifNil: [ inspectors := OrderedCollection new ]",
-messageSends: ["ifNil:", "new", "inspectors"],
+messageSends: ["ifNil:", "new"],
 referencedClasses: ["OrderedCollection"]
 }),
 globals.HLInspector.klass);
@@ -1351,7 +1351,7 @@ _st(self._inspectors())._add_(anInspector);
 return self}, function($ctx1) {$ctx1.fill(self,"register:",{anInspector:anInspector},globals.HLInspector.klass)})},
 args: ["anInspector"],
 source: "register: anInspector\x0a\x09self inspectors add: anInspector",
-messageSends: ["add:", "inspectors", "register:"],
+messageSends: ["add:", "inspectors"],
 referencedClasses: []
 }),
 globals.HLInspector.klass);
@@ -1366,7 +1366,7 @@ return "inspector";
 },
 args: [],
 source: "tabClass\x0a\x09^ 'inspector'",
-messageSends: ["tabClass"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspector.klass);
@@ -1381,7 +1381,7 @@ return "Inspector";
 },
 args: [],
 source: "tabLabel\x0a\x09^ 'Inspector'",
-messageSends: ["tabLabel"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspector.klass);
@@ -1396,7 +1396,7 @@ return (10);
 },
 args: [],
 source: "tabPriority\x0a\x09^ 10",
-messageSends: ["tabPriority"],
+messageSends: [],
 referencedClasses: []
 }),
 globals.HLInspector.klass);
@@ -1412,7 +1412,7 @@ _st(self._inspectors())._remove_(anInspector);
 return self}, function($ctx1) {$ctx1.fill(self,"unregister:",{anInspector:anInspector},globals.HLInspector.klass)})},
 args: ["anInspector"],
 source: "unregister: anInspector\x0a\x09self inspectors remove: anInspector",
-messageSends: ["remove:", "inspectors", "unregister:"],
+messageSends: ["remove:", "inspectors"],
 referencedClasses: []
 }),
 globals.HLInspector.klass);
@@ -1434,7 +1434,7 @@ return _st(each)._refresh();
 return self}, function($ctx1) {$ctx1.fill(self,"watchChanges",{},globals.HLInspector.klass)})},
 args: [],
 source: "watchChanges\x0a\x09[ self inspectors do: [ :each | each refresh ] ]\x0a\x09\x09valueWithInterval: 500",
-messageSends: ["valueWithInterval:", "do:", "inspectors", "refresh", "watchChanges"],
+messageSends: ["valueWithInterval:", "do:", "inspectors", "refresh"],
 referencedClasses: []
 }),
 globals.HLInspector.klass);

+ 1 - 1
src/Helios-Inspector.st

@@ -144,7 +144,7 @@ model
 !
 
 selection
-	^ model selection
+	^ self model selection
 !
 
 variables