|
@@ -1671,7 +1671,7 @@ fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
var $1,$2;
|
|
var $1,$2;
|
|
-smalltalk.HLFocusableWidget.fn.prototype._focus.apply(_st(self), []);
|
|
+smalltalk.HLListWidget.superclass.fn.prototype._focus.apply(_st(self), []);
|
|
$1=_st(self._items())._isEmpty();
|
|
$1=_st(self._items())._isEmpty();
|
|
if(! smalltalk.assert($1)){
|
|
if(! smalltalk.assert($1)){
|
|
$2=self._selectedItem();
|
|
$2=self._selectedItem();
|
|
@@ -1692,7 +1692,7 @@ fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
function $Dictionary(){return smalltalk.Dictionary||(typeof Dictionary=="undefined"?nil:Dictionary)}
|
|
function $Dictionary(){return smalltalk.Dictionary||(typeof Dictionary=="undefined"?nil:Dictionary)}
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
-smalltalk.HLFocusableWidget.fn.prototype._initialize.apply(_st(self), []);
|
|
+smalltalk.HLListWidget.superclass.fn.prototype._initialize.apply(_st(self), []);
|
|
self["@mapping"]=_st($Dictionary())._new();
|
|
self["@mapping"]=_st($Dictionary())._new();
|
|
return self}, function($ctx1) {$ctx1.fill(self,"initialize",{},smalltalk.HLListWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"initialize",{},smalltalk.HLListWidget)})},
|
|
messageSends: ["initialize", "new"]}),
|
|
messageSends: ["initialize", "new"]}),
|
|
@@ -1768,7 +1768,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
var $1;
|
|
var $1;
|
|
var $early={};
|
|
var $early={};
|
|
try {
|
|
try {
|
|
-smalltalk.HLFocusableWidget.fn.prototype._refresh.apply(_st(self), []);
|
|
+smalltalk.HLListWidget.superclass.fn.prototype._refresh.apply(_st(self), []);
|
|
self._ensureVisible_(_st(_st(self["@mapping"])._at_ifAbsent_(self._selectedItem(),(function(){
|
|
self._ensureVisible_(_st(_st(self["@mapping"])._at_ifAbsent_(self._selectedItem(),(function(){
|
|
return smalltalk.withContext(function($ctx2) {
|
|
return smalltalk.withContext(function($ctx2) {
|
|
$1=self;
|
|
$1=self;
|
|
@@ -2042,7 +2042,7 @@ fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
var $1,$2;
|
|
var $1,$2;
|
|
-smalltalk.HLListWidget.fn.prototype._setupKeyBindings.apply(_st(self), []);
|
|
+smalltalk.HLNavigationListWidget.superclass.fn.prototype._setupKeyBindings.apply(_st(self), []);
|
|
_st(_st(self._wrapper())._asJQuery())._keydown_((function(e){
|
|
_st(_st(self._wrapper())._asJQuery())._keydown_((function(e){
|
|
return smalltalk.withContext(function($ctx2) {
|
|
return smalltalk.withContext(function($ctx2) {
|
|
$1=_st(_st(e)._which()).__eq((39));
|
|
$1=_st(_st(e)._which()).__eq((39));
|
|
@@ -2069,7 +2069,7 @@ var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
_st(self._model())._withChangesDo_((function(){
|
|
_st(self._model())._withChangesDo_((function(){
|
|
return smalltalk.withContext(function($ctx2) {
|
|
return smalltalk.withContext(function($ctx2) {
|
|
-return smalltalk.HLNavigationListWidget.fn.prototype._activateListItem_.apply(_st(self), [anItem]);
|
|
+return smalltalk.HLToolListWidget.superclass.fn.prototype._activateListItem_.apply(_st(self), [anItem]);
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
|
|
return self}, function($ctx1) {$ctx1.fill(self,"activateListItem:",{anItem:anItem},smalltalk.HLToolListWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"activateListItem:",{anItem:anItem},smalltalk.HLToolListWidget)})},
|
|
messageSends: ["withChangesDo:", "activateListItem:", "model"]}),
|
|
messageSends: ["withChangesDo:", "activateListItem:", "model"]}),
|
|
@@ -2083,7 +2083,7 @@ var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
_st(self._model())._withChangesDo_((function(){
|
|
_st(self._model())._withChangesDo_((function(){
|
|
return smalltalk.withContext(function($ctx2) {
|
|
return smalltalk.withContext(function($ctx2) {
|
|
-return smalltalk.HLNavigationListWidget.fn.prototype._activateNextListItem.apply(_st(self), []);
|
|
+return smalltalk.HLToolListWidget.superclass.fn.prototype._activateNextListItem.apply(_st(self), []);
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
|
|
return self}, function($ctx1) {$ctx1.fill(self,"activateNextListItem",{},smalltalk.HLToolListWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"activateNextListItem",{},smalltalk.HLToolListWidget)})},
|
|
messageSends: ["withChangesDo:", "activateNextListItem", "model"]}),
|
|
messageSends: ["withChangesDo:", "activateNextListItem", "model"]}),
|
|
@@ -2097,7 +2097,7 @@ var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
_st(self._model())._withChangesDo_((function(){
|
|
_st(self._model())._withChangesDo_((function(){
|
|
return smalltalk.withContext(function($ctx2) {
|
|
return smalltalk.withContext(function($ctx2) {
|
|
-return smalltalk.HLNavigationListWidget.fn.prototype._activatePreviousListItem.apply(_st(self), []);
|
|
+return smalltalk.HLToolListWidget.superclass.fn.prototype._activatePreviousListItem.apply(_st(self), []);
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
|
|
return self}, function($ctx1) {$ctx1.fill(self,"activatePreviousListItem",{},smalltalk.HLToolListWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"activatePreviousListItem",{},smalltalk.HLToolListWidget)})},
|
|
messageSends: ["withChangesDo:", "activatePreviousListItem", "model"]}),
|
|
messageSends: ["withChangesDo:", "activatePreviousListItem", "model"]}),
|
|
@@ -2211,7 +2211,7 @@ fn: function (html){
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
self._renderHeadOn_(html);
|
|
self._renderHeadOn_(html);
|
|
-smalltalk.HLNavigationListWidget.fn.prototype._renderContentOn_.apply(_st(self), [html]);
|
|
+smalltalk.HLToolListWidget.superclass.fn.prototype._renderContentOn_.apply(_st(self), [html]);
|
|
return self}, function($ctx1) {$ctx1.fill(self,"renderContentOn:",{html:html},smalltalk.HLToolListWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"renderContentOn:",{html:html},smalltalk.HLToolListWidget)})},
|
|
messageSends: ["renderHeadOn:", "renderContentOn:"]}),
|
|
messageSends: ["renderHeadOn:", "renderContentOn:"]}),
|
|
smalltalk.HLToolListWidget);
|
|
smalltalk.HLToolListWidget);
|
|
@@ -2290,7 +2290,7 @@ selector: "selectedItem:",
|
|
fn: function (anItem){
|
|
fn: function (anItem){
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
-smalltalk.HLNavigationListWidget.fn.prototype._selectedItem_.apply(_st(self), [anItem]);
|
|
+smalltalk.HLToolListWidget.superclass.fn.prototype._selectedItem_.apply(_st(self), [anItem]);
|
|
self._updateMenu();
|
|
self._updateMenu();
|
|
return self}, function($ctx1) {$ctx1.fill(self,"selectedItem:",{anItem:anItem},smalltalk.HLToolListWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"selectedItem:",{anItem:anItem},smalltalk.HLToolListWidget)})},
|
|
messageSends: ["selectedItem:", "updateMenu"]}),
|
|
messageSends: ["selectedItem:", "updateMenu"]}),
|
|
@@ -2302,7 +2302,7 @@ selector: "unregister",
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
-smalltalk.HLNavigationListWidget.fn.prototype._unregister.apply(_st(self), []);
|
|
+smalltalk.HLToolListWidget.superclass.fn.prototype._unregister.apply(_st(self), []);
|
|
_st(_st(self._model())._announcer())._unsubscribe_(self);
|
|
_st(_st(self._model())._announcer())._unsubscribe_(self);
|
|
_st(_st(self._model())._systemAnnouncer())._unsubscribe_(self);
|
|
_st(_st(self._model())._systemAnnouncer())._unsubscribe_(self);
|
|
return self}, function($ctx1) {$ctx1.fill(self,"unregister",{},smalltalk.HLToolListWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"unregister",{},smalltalk.HLToolListWidget)})},
|
|
@@ -2532,7 +2532,7 @@ function $HLInspector(){return smalltalk.HLInspector||(typeof HLInspector=="unde
|
|
function $ErrorHandler(){return smalltalk.ErrorHandler||(typeof ErrorHandler=="undefined"?nil:ErrorHandler)}
|
|
function $ErrorHandler(){return smalltalk.ErrorHandler||(typeof ErrorHandler=="undefined"?nil:ErrorHandler)}
|
|
function $ProgressHandler(){return smalltalk.ProgressHandler||(typeof ProgressHandler=="undefined"?nil:ProgressHandler)}
|
|
function $ProgressHandler(){return smalltalk.ProgressHandler||(typeof ProgressHandler=="undefined"?nil:ProgressHandler)}
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
-smalltalk.HLWidget.fn.prototype._initialize.apply(_st(self), []);
|
|
+smalltalk.HLManager.superclass.fn.prototype._initialize.apply(_st(self), []);
|
|
_st($HLErrorHandler())._register();
|
|
_st($HLErrorHandler())._register();
|
|
_st($HLProgressHandler())._register();
|
|
_st($HLProgressHandler())._register();
|
|
self._registerInspector_($HLInspector());
|
|
self._registerInspector_($HLInspector());
|
|
@@ -3228,7 +3228,7 @@ selector: "renderMainOn:",
|
|
fn: function (html){
|
|
fn: function (html){
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
-smalltalk.HLConfirmationWidget.fn.prototype._renderMainOn_.apply(_st(self), [html]);
|
|
+smalltalk.HLRequestWidget.superclass.fn.prototype._renderMainOn_.apply(_st(self), [html]);
|
|
self["@input"]=_st(html)._textarea();
|
|
self["@input"]=_st(html)._textarea();
|
|
_st(_st(self["@input"])._asJQuery())._val_(self._value());
|
|
_st(_st(self["@input"])._asJQuery())._val_(self._value());
|
|
return self}, function($ctx1) {$ctx1.fill(self,"renderMainOn:",{html:html},smalltalk.HLRequestWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"renderMainOn:",{html:html},smalltalk.HLRequestWidget)})},
|
|
@@ -3365,7 +3365,7 @@ $1=self._isVisible();
|
|
if(smalltalk.assert($1)){
|
|
if(smalltalk.assert($1)){
|
|
self["@visible"]=false;
|
|
self["@visible"]=false;
|
|
self["@visible"];
|
|
self["@visible"];
|
|
-smalltalk.HLModalWidget.fn.prototype._remove.apply(_st(self), []);
|
|
+smalltalk.HLProgressWidget.superclass.fn.prototype._remove.apply(_st(self), []);
|
|
};
|
|
};
|
|
return self}, function($ctx1) {$ctx1.fill(self,"remove",{},smalltalk.HLProgressWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"remove",{},smalltalk.HLProgressWidget)})},
|
|
messageSends: ["ifTrue:", "remove", "isVisible"]}),
|
|
messageSends: ["ifTrue:", "remove", "isVisible"]}),
|