AbstractLauncherApplication.st
changeset 12568 e992401c1f07
parent 12500 5e05cf44bd94
child 12612 24457ca3906b
child 12626 7ae48abfedac
equal deleted inserted replaced
12567:9a6d91db7d07 12568:e992401c1f07
  2037 
  2037 
  2038     displayName := Dialog request:'Display:' initialAnswer:(Screen default displayName).
  2038     displayName := Dialog request:'Display:' initialAnswer:(Screen default displayName).
  2039     displayName isEmptyOrNil ifTrue:[^ nil].
  2039     displayName isEmptyOrNil ifTrue:[^ nil].
  2040 
  2040 
  2041     ^ XWorkstation newDispatchingFor:displayName.
  2041     ^ XWorkstation newDispatchingFor:displayName.
       
  2042 !
       
  2043 
       
  2044 bringWindowOntoScreen:aWindow
       
  2045     "shift & resize a view to be visible"
       
  2046 
       
  2047     aWindow topView origin:(aWindow origin max:(10@10)).
       
  2048     aWindow topView extent:(aWindow extent min:(Display usableExtent - (100@100))).
  2042 !
  2049 !
  2043 
  2050 
  2044 deIconifyAllWindows
  2051 deIconifyAllWindows
  2045     self allTopViewsDo:[:eachTopView | eachTopView expand]
  2052     self allTopViewsDo:[:eachTopView | eachTopView expand]
  2046 
  2053 
  7013 ! !
  7020 ! !
  7014 
  7021 
  7015 !AbstractLauncherApplication class methodsFor:'documentation'!
  7022 !AbstractLauncherApplication class methodsFor:'documentation'!
  7016 
  7023 
  7017 version
  7024 version
  7018     ^ '$Header: /cvs/stx/stx/libtool/AbstractLauncherApplication.st,v 1.425 2013-03-21 20:17:09 cg Exp $'
  7025     ^ '$Header: /cvs/stx/stx/libtool/AbstractLauncherApplication.st,v 1.426 2013-03-28 18:18:56 cg Exp $'
  7019 !
  7026 !
  7020 
  7027 
  7021 version_CVS
  7028 version_CVS
  7022     ^ '$Header: /cvs/stx/stx/libtool/AbstractLauncherApplication.st,v 1.425 2013-03-21 20:17:09 cg Exp $'
  7029     ^ '$Header: /cvs/stx/stx/libtool/AbstractLauncherApplication.st,v 1.426 2013-03-28 18:18:56 cg Exp $'
  7023 !
  7030 !
  7024 
  7031 
  7025 version_SVN
  7032 version_SVN
  7026     ^ '§Id: AbstractLauncherApplication.st 7796 2011-06-23 16:01:32Z vranyj1 §'
  7033     ^ '§Id: AbstractLauncherApplication.st 7796 2011-06-23 16:01:32Z vranyj1 §'
  7027 ! !
  7034 ! !