FileDialog.st
changeset 13004 3f9586e7a857
parent 13003 b18bfce89bb9
child 13025 8244753fe0a7
equal deleted inserted replaced
13003:b18bfce89bb9 13004:3f9586e7a857
  1853     verticalPanelView := aView.
  1853     verticalPanelView := aView.
  1854 
  1854 
  1855     "Created: / 03-06-2013 / 17:41:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1855     "Created: / 03-06-2013 / 17:41:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1856 !
  1856 !
  1857 
  1857 
  1858 postBuildWith:aBuilder    
  1858 postBuildWith:aBuilder 
       
  1859     |win hMin|
       
  1860 
  1859     treeBrowser multipleSelect:multipleSelect.
  1861     treeBrowser multipleSelect:multipleSelect.
  1860     appendWasPressed := false.
  1862     appendWasPressed := false.
  1861 
  1863 
  1862     (aBuilder componentAt:'cancelButton') cursor:(Cursor thumbsDown).
  1864     (aBuilder componentAt:'cancelButton') cursor:(Cursor thumbsDown).
  1863     (aBuilder componentAt:'appendButton') cursor:(Cursor thumbsUp).
  1865     (aBuilder componentAt:'appendButton') cursor:(Cursor thumbsUp).
  1864     (aBuilder componentAt:'okButton') cursor:(Cursor thumbsUp).
  1866     (aBuilder componentAt:'okButton') cursor:(Cursor thumbsUp).
       
  1867 
       
  1868     win := aBuilder window .
       
  1869     hMin := (aBuilder window margin * 2)
       
  1870             + aBuilder menuBar preferredHeight
       
  1871             + (aBuilder componentAt:#FilenameEntryField) height
       
  1872             + (aBuilder componentAt:#ToolBar1) preferredHeight
       
  1873             + (aBuilder componentAt:#ButtonPanel) preferredHeight.
       
  1874 
       
  1875     win minExtent:( win minExtent x @ hMin ).
  1865 
  1876 
  1866     super postBuildWith:aBuilder
  1877     super postBuildWith:aBuilder
  1867 !
  1878 !
  1868 
  1879 
  1869 postOpenAsSubcanvasWith:aBuilder
  1880 postOpenAsSubcanvasWith:aBuilder
  2065 ! !
  2076 ! !
  2066 
  2077 
  2067 !FileDialog class methodsFor:'documentation'!
  2078 !FileDialog class methodsFor:'documentation'!
  2068 
  2079 
  2069 version
  2080 version
  2070     ^ '$Header: /cvs/stx/stx/libtool/FileDialog.st,v 1.125 2013-06-25 08:29:51 cg Exp $'
  2081     ^ '$Header: /cvs/stx/stx/libtool/FileDialog.st,v 1.126 2013-06-25 10:42:21 cg Exp $'
  2071 !
  2082 !
  2072 
  2083 
  2073 version_CVS
  2084 version_CVS
  2074     ^ '$Header: /cvs/stx/stx/libtool/FileDialog.st,v 1.125 2013-06-25 08:29:51 cg Exp $'
  2085     ^ '$Header: /cvs/stx/stx/libtool/FileDialog.st,v 1.126 2013-06-25 10:42:21 cg Exp $'
  2075 !
  2086 !
  2076 
  2087 
  2077 version_HG
  2088 version_HG
  2078 
  2089 
  2079     ^ '$Changeset: <not expanded> $'
  2090     ^ '$Changeset: <not expanded> $'
  2080 !
  2091 !
  2081 
  2092 
  2082 version_SVN
  2093 version_SVN
  2083     ^ '$Id: FileDialog.st,v 1.125 2013-06-25 08:29:51 cg Exp $'
  2094     ^ '$Id: FileDialog.st,v 1.126 2013-06-25 10:42:21 cg Exp $'
  2084 ! !
  2095 ! !
  2085 
  2096