12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- define("amber_core/Helios-SUnit", ["amber_vm/smalltalk", "amber_vm/nil", "amber_vm/_st", "amber_vm/globals", "amber_core/Helios-Core"], function(smalltalk,nil,_st, globals){
- smalltalk.addPackage('Helios-SUnit');
- smalltalk.packages["Helios-SUnit"].transport = {"type":"amd","amdNamespace":"amber_core"};
- smalltalk.addClass('HLSUnit', globals.HLWidget, [], 'Helios-SUnit');
- smalltalk.addMethod(
- smalltalk.method({
- selector: "canBeOpenAsTab",
- protocol: 'testing',
- fn: function (){
- var self=this;
- return true;
- },
- args: [],
- source: "canBeOpenAsTab\x0a\x09^ true",
- messageSends: [],
- referencedClasses: []
- }),
- globals.HLSUnit.klass);
- smalltalk.addMethod(
- smalltalk.method({
- selector: "tabClass",
- protocol: 'accessing',
- fn: function (){
- var self=this;
- return "sunit";
- },
- args: [],
- source: "tabClass\x0a\x09^ 'sunit'",
- messageSends: [],
- referencedClasses: []
- }),
- globals.HLSUnit.klass);
- smalltalk.addMethod(
- smalltalk.method({
- selector: "tabLabel",
- protocol: 'accessing',
- fn: function (){
- var self=this;
- return "SUnit";
- },
- args: [],
- source: "tabLabel\x0a\x09^ 'SUnit'",
- messageSends: [],
- referencedClasses: []
- }),
- globals.HLSUnit.klass);
- smalltalk.addMethod(
- smalltalk.method({
- selector: "tabPriority",
- protocol: 'accessing',
- fn: function (){
- var self=this;
- return (1000);
- },
- args: [],
- source: "tabPriority\x0a\x09^ 1000",
- messageSends: [],
- referencedClasses: []
- }),
- globals.HLSUnit.klass);
- });
|