ImageEditor.st
changeset 2932 7f305ee14e98
parent 2893 feb4eeba44ad
child 2945 facf3c7b0e31
equal deleted inserted replaced
2931:e52dc0aad972 2932:7f305ee14e98
  4226 loadFromClass:aClass andSelector:aSelector
  4226 loadFromClass:aClass andSelector:aSelector
  4227     "loads an image from the method specified by class and selector"
  4227     "loads an image from the method specified by class and selector"
  4228 
  4228 
  4229     self assert:(aClass isNil or:[aClass isClass]).
  4229     self assert:(aClass isNil or:[aClass isClass]).
  4230 
  4230 
  4231     (aClass isNil or:[aSelector]) isNil ifTrue:[
  4231     (aClass isNil or:[aSelector isNil]) ifTrue:[
  4232         imageEditView resourceClass:aClass.
  4232         imageEditView resourceClass:aClass.
  4233         imageEditView resourceSelector:aSelector.
  4233         imageEditView resourceSelector:aSelector.
  4234         imageEditView image:nil.
  4234         imageEditView image:nil.
  4235         self clearModified.
  4235         self clearModified.
  4236         ^ self.
  4236         ^ self.