#FEATURE by cg
class: ImageEditor
added: #canResizeImage
changed: #allowedToChangeImageDimensionAndDepth
--- a/ImageEditor.st Fri Jan 20 18:54:52 2017 +0100
+++ b/ImageEditor.st Fri Jan 20 23:07:21 2017 +0100
@@ -3945,6 +3945,7 @@
allowedToChangeImageDimensionAndDepth
"used to edit an existing image's contents only (Expecco)"
+ self readOnly ifTrue:[^ false].
^ allowedToChangeImageDimensionAndDepth ? true
!
@@ -4005,6 +4006,10 @@
"Modified: / 29.7.1998 / 18:49:03 / cg"
!
+canResizeImage
+ ^ self imageIsLoadedAndNotReadonlyHolder
+!
+
colorColumnAdaptor
^ self