#REFACTORING by cg draft
authorClaus Gittinger <cg@exept.de>
Sat, 09 Mar 2019 22:24:17 +0100
changeset 3653 f66208efcf4b
parent 3652 2b6236bab321
child 3654 c6d76d18b064
#REFACTORING by cg class: ImageEditor code saving changed: #colorBoxVisibleHolder #imageInfoHolder
ImageEditor.st
--- a/ImageEditor.st	Sat Mar 09 22:22:59 2019 +0100
+++ b/ImageEditor.st	Sat Mar 09 22:24:17 2019 +0100
@@ -4748,14 +4748,10 @@
 !
 
 colorBoxVisibleHolder
-    |holder|
-
-    (holder := builder bindingAt:#colorBoxVisibleHolder) isNil ifTrue:[
-        builder aspectAt:#colorBoxVisibleHolder put:(holder := true asValue).
-    ].
-    ^ holder
+    ^ builder valueAspectFor:#colorBoxVisibleHolder initialValue:true
 
     "Created: / 03-02-2017 / 11:20:21 / cg"
+    "Modified: / 09-03-2019 / 22:18:00 / Claus Gittinger"
 !
 
 colorColumnAdaptor
@@ -5078,14 +5074,10 @@
 !
 
 imageInfoHolder
-    |holder|
-
-    (holder := builder bindingAt:#imageInfoHolder) isNil ifTrue:[
-        builder aspectAt:#imageInfoHolder put:(holder :=  '' asValue).
-    ].
-    ^ holder
+    ^ builder valueAspectFor:#imageInfoHolder initialValue:''
 
     "Modified: / 04-07-2010 / 10:15:14 / cg"
+    "Modified: / 09-03-2019 / 22:18:11 / Claus Gittinger"
 !
 
 listOfColors