# HG changeset patch # User Claus Gittinger # Date 1139911562 -3600 # Node ID 862d4036cebd3076e6f4659beae7dffea5ac8904 # Parent 7b14d02e8ed1ea5dfcd50985050c0576578f33ab *** empty log message *** diff -r 7b14d02e8ed1 -r 862d4036cebd ImageEditor.st --- a/ImageEditor.st Mon Feb 13 09:54:43 2006 +0100 +++ b/ImageEditor.st Tue Feb 14 11:06:02 2006 +0100 @@ -3685,17 +3685,7 @@ ! -open - "after opening, sets the masterApplication of the imageEditView to self" - - super open. - - imageEditView := (self componentAt: #imageEditView) subViews first. -! - -postBuildWith:aBuilder - super postBuildWith:aBuilder. - +commonPostBuild imageEditView undoImages addDependent:self. imageEditView imageInfoHolder:(self imageInfoHolder). imageEditView activityInfoHolder:(self activityInfoHolder). @@ -3712,11 +3702,29 @@ imageEditView modifiedHolder addDependent:self. DefaultRelativeSizes notNil ifTrue:[ - (aBuilder componentAt:#horizontalPanel) relativeCorners:DefaultRelativeSizes first. - (aBuilder componentAt:#verticalPanel) relativeCorners:DefaultRelativeSizes second. + (builder componentAt:#horizontalPanel) relativeCorners:DefaultRelativeSizes first. + (builder componentAt:#verticalPanel) relativeCorners:DefaultRelativeSizes second. ]. ! +open + "after opening, sets the masterApplication of the imageEditView to self" + + super open. + + imageEditView := (self componentAt: #imageEditView) subViews first. +! + +postBuildAsSubcanvasWith:aBuilder + super postBuildAsSubcanvasWith:aBuilder. + self commonPostBuild. +! + +postBuildWith:aBuilder + super postBuildWith:aBuilder. + self commonPostBuild. +! + postOpenWith:aBuilder "after opening, sets the masterApplication of the imageEditView to self; evaluate the postOpenAction"