#REFACTORING by stefan
class: ImageEditor
changed: #commonPostBuild
outsource code into #useAlienInfoHolder method
--- a/ImageEditor.st Tue Feb 20 18:45:29 2018 +0100
+++ b/ImageEditor.st Tue Feb 20 18:45:52 2018 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 1997-1998 by eXept Software AG
All Rights Reserved
@@ -5698,8 +5696,8 @@
resourceSelector notNil ifTrue:[
^ resources
string:(self modified
- ifTrue:['Image (modified) from: %1 » %2']
- ifFalse:['Image from: %1 » %2'])
+ ifTrue:['Image (modified) from: %1 » %2']
+ ifFalse:['Image from: %1 » %2'])
with:resourceClass name
with:resourceSelector
].
@@ -6257,10 +6255,12 @@
].
"/ using masters infoHolder ?
- (builder aspectAt:#useAlienInfoLabelHolder) == true ifTrue:[
+ self useAlienInfoLabelHolder ifTrue:[
(builder componentAt:#mainPanel) layout bottomOffset:0.
(builder componentAt:#infoBarSubSpec) beInvisible
]
+
+ "Modified: / 20-02-2018 / 13:05:30 / stefan"
!
open