class: UIPainter
authorClaus Gittinger <cg@exept.de>
Thu, 05 Dec 2013 12:41:35 +0100
changeset 3060 a8780dec8d43
parent 3059 cc9b8daf00bc
child 3061 c90c7db6e6d9
class: UIPainter changed: #canInstallAsWebPage #canInstallAsWebPageHolder
UIPainter.st
--- a/UIPainter.st	Thu Sep 19 13:54:44 2013 +0200
+++ b/UIPainter.st	Thu Dec 05 12:41:35 2013 +0100
@@ -2947,18 +2947,16 @@
 !
 
 canInstallAsWebPage
-    ^ self specClass notNil
-       and:[ self specClass isSubclassOf:WebApplicationModel ]
+    ^ specClass notNil
+       and:[ specClass isSubclassOf:WebApplicationModel ]
 
     "Created: / 14-01-2008 / 17:34:56 / cg"
 !
 
 canInstallAsWebPageHolder
-    |a|
-
-    a := builder booleanValueAspectFor:#canInstallAsWebPageHolder.
-    a value:self canInstallAsWebPage.
-    ^ a
+    ^ builder 
+            booleanValueAspectFor:#canInstallAsWebPageHolder
+            initialValue:(self canInstallAsWebPage).
 
     "Created: / 14-01-2008 / 17:36:04 / cg"
 !