# HG changeset patch # User Jan Vrany # Date 1394051141 -3600 # Node ID 9d82cfd4031c401f84cafd65281803ee223c95e5 # Parent eafb68a0471b4b3b81ee405d1355259506807686 Added pre-open hooks. diff -r eafb68a0471b -r 9d82cfd4031c ApplicationSubView.st --- a/ApplicationSubView.st Wed Mar 05 21:25:25 2014 +0100 +++ b/ApplicationSubView.st Wed Mar 05 21:25:41 2014 +0100 @@ -133,6 +133,17 @@ ! +preRealize + |app| + + super preRealize. + (app := self application) notNil ifTrue:[ + app preOpenAsSubcanvasWith:app builder + ] + + "Created: / 05-03-2014 / 18:46:06 / Jan Vrany " +! + realize |app| @@ -151,9 +162,10 @@ !ApplicationSubView class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libview2/ApplicationSubView.st,v 1.11 2012-05-11 16:20:53 vrany Exp $' + ^ '$Header: /cvs/stx/stx/libview2/ApplicationSubView.st,v 1.12 2014-03-05 20:25:41 vrany Exp $' ! version_CVS - ^ '$Header: /cvs/stx/stx/libview2/ApplicationSubView.st,v 1.11 2012-05-11 16:20:53 vrany Exp $' + ^ '$Header: /cvs/stx/stx/libview2/ApplicationSubView.st,v 1.12 2014-03-05 20:25:41 vrany Exp $' ! ! +