3939
|
1 |
"
|
|
2 |
COPYRIGHT (c) 2007 by eXept Software AG
|
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
"
|
|
12 |
"{ Package: 'stx:libwidg2' }"
|
|
13 |
|
|
14 |
FilenameWidgetWithHistory subclass:#FilenameWidgetWithoutHistory
|
|
15 |
instanceVariableNames:''
|
|
16 |
classVariableNames:''
|
|
17 |
poolDictionaries:''
|
|
18 |
category:'Views-Interactors'
|
|
19 |
!
|
|
20 |
|
|
21 |
!FilenameWidgetWithoutHistory class methodsFor:'documentation'!
|
|
22 |
|
|
23 |
copyright
|
|
24 |
"
|
|
25 |
COPYRIGHT (c) 2007 by eXept Software AG
|
|
26 |
All Rights Reserved
|
|
27 |
|
|
28 |
This software is furnished under a license and may be used
|
|
29 |
only in accordance with the terms of that license and with the
|
|
30 |
inclusion of the above copyright notice. This software may not
|
|
31 |
be provided or otherwise made available to, or used by, any
|
|
32 |
other person. No title to or ownership of the software is
|
|
33 |
hereby transferred.
|
|
34 |
"
|
|
35 |
!
|
|
36 |
|
|
37 |
documentation
|
|
38 |
"
|
|
39 |
A Filename InputField with a browse-button, which opens a file dialog.
|
|
40 |
Q&D hack.
|
|
41 |
|
|
42 |
[author:]
|
|
43 |
Claus Gittinger
|
|
44 |
|
|
45 |
[see also:]
|
|
46 |
ComboBoxView
|
|
47 |
FilenameEditField
|
|
48 |
FilenameComboBoxView
|
|
49 |
FilenameWidgetWithHistory
|
|
50 |
"
|
|
51 |
!
|
|
52 |
|
|
53 |
examples
|
|
54 |
"
|
|
55 |
[exBegin]
|
|
56 |
|top b|
|
|
57 |
|
|
58 |
top := StandardSystemView new.
|
|
59 |
top extent:(300 @ 200).
|
|
60 |
|
|
61 |
b := FilenameWidgetWithoutHistory in:top.
|
|
62 |
b origin:(0.0 @ 0.0) corner:(1.0 @ 0.0).
|
|
63 |
b bottomInset:(b preferredExtent y negated).
|
|
64 |
|
|
65 |
top open.
|
|
66 |
[exEnd]
|
|
67 |
"
|
|
68 |
! !
|
|
69 |
|
|
70 |
!FilenameWidgetWithoutHistory methodsFor:'initialization'!
|
|
71 |
|
|
72 |
initializeFilenameField
|
|
73 |
fileNameEntryField := FilenameEditField in:self.
|
|
74 |
|
|
75 |
"Created: / 19-10-2010 / 16:21:05 / cg"
|
|
76 |
! !
|
|
77 |
|
|
78 |
!FilenameWidgetWithoutHistory class methodsFor:'documentation'!
|
|
79 |
|
|
80 |
version_CVS
|
|
81 |
^ '$Header: /cvs/stx/stx/libwidg2/FilenameWidgetWithoutHistory.st,v 1.1 2010-10-19 15:04:45 cg Exp $'
|
|
82 |
! !
|