|
@@ -274,26 +274,19 @@ selector: "cssClassForItem:",
|
|
protocol: "accessing",
|
|
protocol: "accessing",
|
|
//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
args: ["aClass"],
|
|
args: ["aClass"],
|
|
-source: "cssClassForItem: aClass\x0a\x09| nonMeta |\x0a\x09nonMeta := aClass theNonMetaClass.\x0a\x09(nonMeta respondsTo: #classTag)\x0a\x09\x09ifTrue: [ ^ nonMeta classTag ]\x0a\x09\x09ifFalse: [ ^ nonMeta heliosClass ]",
|
|
|
|
|
|
+source: "cssClassForItem: aClass\x0a\x09^ aClass theNonMetaClass classTag",
|
|
referencedClasses: [],
|
|
referencedClasses: [],
|
|
//>>excludeEnd("ide");
|
|
//>>excludeEnd("ide");
|
|
pragmas: [],
|
|
pragmas: [],
|
|
-messageSends: ["theNonMetaClass", "ifTrue:ifFalse:", "respondsTo:", "classTag", "heliosClass"]
|
|
|
|
|
|
+messageSends: ["classTag", "theNonMetaClass"]
|
|
}, function ($methodClass){ return function (aClass){
|
|
}, function ($methodClass){ return function (aClass){
|
|
var self=this,$self=this;
|
|
var self=this,$self=this;
|
|
-var nonMeta;
|
|
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
return $core.withContext(function($ctx1) {
|
|
return $core.withContext(function($ctx1) {
|
|
//>>excludeEnd("ctx");
|
|
//>>excludeEnd("ctx");
|
|
-nonMeta=$recv(aClass)._theNonMetaClass();
|
|
|
|
-if($core.assert($recv(nonMeta)._respondsTo_("classTag"))){
|
|
|
|
-return $recv(nonMeta)._classTag();
|
|
|
|
-} else {
|
|
|
|
-return $recv(nonMeta)._heliosClass();
|
|
|
|
-}
|
|
|
|
-return self;
|
|
|
|
|
|
+return $recv($recv(aClass)._theNonMetaClass())._classTag();
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
-}, function($ctx1) {$ctx1.fill(self,"cssClassForItem:",{aClass:aClass,nonMeta:nonMeta})});
|
|
|
|
|
|
+}, function($ctx1) {$ctx1.fill(self,"cssClassForItem:",{aClass:aClass})});
|
|
//>>excludeEnd("ctx");
|
|
//>>excludeEnd("ctx");
|
|
}; }),
|
|
}; }),
|
|
$globals.HLSUnitClassesListWidget);
|
|
$globals.HLSUnitClassesListWidget);
|