|
@@ -1558,6 +1558,22 @@ referencedClasses: []
|
|
}),
|
|
}),
|
|
globals.HLKeyBinderHelperWidget);
|
|
globals.HLKeyBinderHelperWidget);
|
|
|
|
|
|
|
|
+smalltalk.addMethod(
|
|
|
|
+smalltalk.method({
|
|
|
|
+selector: "deactivate",
|
|
|
|
+protocol: 'actions',
|
|
|
|
+fn: function (){
|
|
|
|
+var self=this;
|
|
|
|
+return smalltalk.withContext(function($ctx1) {
|
|
|
|
+_st(self._keyBinder())._deactivate();
|
|
|
|
+return self}, function($ctx1) {$ctx1.fill(self,"deactivate",{},globals.HLKeyBinderHelperWidget)})},
|
|
|
|
+args: [],
|
|
|
|
+source: "deactivate\x0a\x09self keyBinder deactivate",
|
|
|
|
+messageSends: ["deactivate", "keyBinder"],
|
|
|
|
+referencedClasses: []
|
|
|
|
+}),
|
|
|
|
+globals.HLKeyBinderHelperWidget);
|
|
|
|
+
|
|
smalltalk.addMethod(
|
|
smalltalk.addMethod(
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: "hide",
|
|
selector: "hide",
|
|
@@ -1565,11 +1581,16 @@ protocol: 'actions',
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
-_st(_st(".".__comma(self._cssClass()))._asJQuery())._remove();
|
|
|
|
|
|
+var $1;
|
|
|
|
+$1=_st(".".__comma(self._cssClass()))._asJQuery();
|
|
|
|
+$ctx1.sendIdx["asJQuery"]=1;
|
|
|
|
+_st($1)._remove();
|
|
|
|
+$ctx1.sendIdx["remove"]=1;
|
|
|
|
+_st("#overlay"._asJQuery())._remove();
|
|
self._showCog();
|
|
self._showCog();
|
|
return self}, function($ctx1) {$ctx1.fill(self,"hide",{},globals.HLKeyBinderHelperWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"hide",{},globals.HLKeyBinderHelperWidget)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "hide\x0a\x09('.', self cssClass) asJQuery remove.\x0a\x09self showCog",
|
|
|
|
|
|
+source: "hide\x0a\x09('.', self cssClass) asJQuery remove.\x0a\x09'#overlay' asJQuery remove.\x0a\x09self showCog",
|
|
messageSends: ["remove", "asJQuery", ",", "cssClass", "showCog"],
|
|
messageSends: ["remove", "asJQuery", ",", "cssClass", "showCog"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1771,27 +1792,35 @@ protocol: 'rendering',
|
|
fn: function (html){
|
|
fn: function (html){
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.withContext(function($ctx1) {
|
|
return smalltalk.withContext(function($ctx1) {
|
|
-var $1,$3,$4,$2;
|
|
|
|
|
|
+var $1,$2,$3,$5,$6,$4;
|
|
$1=_st(html)._div();
|
|
$1=_st(html)._div();
|
|
$ctx1.sendIdx["div"]=1;
|
|
$ctx1.sendIdx["div"]=1;
|
|
-_st($1)._class_(self._cssClass());
|
|
|
|
-$2=_st($1)._with_((function(){
|
|
|
|
|
|
+_st($1)._id_("overlay");
|
|
|
|
+$ctx1.sendIdx["id:"]=1;
|
|
|
|
+$2=_st($1)._onClick_((function(){
|
|
return smalltalk.withContext(function($ctx2) {
|
|
return smalltalk.withContext(function($ctx2) {
|
|
-self._renderLabelOn_(html);
|
|
|
|
|
|
+return self._deactivate();
|
|
|
|
+}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)})}));
|
|
$3=_st(html)._div();
|
|
$3=_st(html)._div();
|
|
-_st($3)._id_(self._mainId());
|
|
|
|
|
|
+$ctx1.sendIdx["div"]=2;
|
|
|
|
+_st($3)._class_(self._cssClass());
|
|
$4=_st($3)._with_((function(){
|
|
$4=_st($3)._with_((function(){
|
|
|
|
+return smalltalk.withContext(function($ctx2) {
|
|
|
|
+self._renderLabelOn_(html);
|
|
|
|
+$5=_st(html)._div();
|
|
|
|
+_st($5)._id_(self._mainId());
|
|
|
|
+$6=_st($5)._with_((function(){
|
|
return smalltalk.withContext(function($ctx3) {
|
|
return smalltalk.withContext(function($ctx3) {
|
|
return self._renderSelectedBindingOn_(html);
|
|
return self._renderSelectedBindingOn_(html);
|
|
-}, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)})}));
|
|
|
|
-$4;
|
|
|
|
|
|
+}, function($ctx3) {$ctx3.fillBlock({},$ctx2,3)})}));
|
|
|
|
+$6;
|
|
return self._renderCloseOn_(html);
|
|
return self._renderCloseOn_(html);
|
|
-}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)})}));
|
|
|
|
|
|
+}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)})}));
|
|
$ctx1.sendIdx["with:"]=1;
|
|
$ctx1.sendIdx["with:"]=1;
|
|
return self}, function($ctx1) {$ctx1.fill(self,"renderContentOn:",{html:html},globals.HLKeyBinderHelperWidget)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"renderContentOn:",{html:html},globals.HLKeyBinderHelperWidget)})},
|
|
args: ["html"],
|
|
args: ["html"],
|
|
-source: "renderContentOn: html\x0a\x09html div class: self cssClass; with: [\x0a \x09self renderLabelOn:html.\x0a\x09\x09html div\x0a\x09\x09\x09id: self mainId;\x0a\x09\x09\x09with: [ self renderSelectedBindingOn: html ].\x0a\x09\x09self renderCloseOn: html ]",
|
|
|
|
-messageSends: ["class:", "div", "cssClass", "with:", "renderLabelOn:", "id:", "mainId", "renderSelectedBindingOn:", "renderCloseOn:"],
|
|
|
|
|
|
+source: "renderContentOn: html\x0a\x09html div \x0a\x09\x09id: 'overlay';\x0a\x09\x09onClick: [ self deactivate ].\x0a\x09html div class: self cssClass; with: [\x0a \x09self renderLabelOn:html.\x0a\x09\x09html div\x0a\x09\x09\x09id: self mainId;\x0a\x09\x09\x09with: [ self renderSelectedBindingOn: html ].\x0a\x09\x09self renderCloseOn: html ]",
|
|
|
|
+messageSends: ["id:", "div", "onClick:", "deactivate", "class:", "cssClass", "with:", "renderLabelOn:", "mainId", "renderSelectedBindingOn:", "renderCloseOn:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
globals.HLKeyBinderHelperWidget);
|
|
globals.HLKeyBinderHelperWidget);
|