author | penk |
Thu, 13 Nov 2003 15:42:43 +0100 | |
changeset 5344 | 4246a7f26aa1 |
parent 5325 | ef7f3f898815 |
child 5522 | bed5e6d6248d |
permissions | -rw-r--r-- |
5140 | 1 |
" |
2 |
COPYRIGHT (c) 2002 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 |
||
4318 | 13 |
"{ Package: 'stx:libtool' }" |
14 |
||
15 |
AbstractSettingsApplication subclass:#FileBrowserV2SettingsAppl |
|
4966 | 16 |
instanceVariableNames:'sortDirectoriesBeforeFiles showDirectoryTree sortCaseless |
17 |
showHiddenFiles openMultipleApplicationsForType |
|
18 |
toolBarVisibleHolder viewDirectoryDescription |
|
19 |
openAlwaysInTextEditor viewFilesInDirectoryTree viewDescription |
|
20 |
viewPreview viewTime viewSize viewSizeInBytes viewType |
|
21 |
viewDetails viewPermissions viewGroup viewDirsInContentsBrowser |
|
5344 | 22 |
viewOwner filenameEntryFieldVisibleHolder viewSizeInKiloBytes' |
4318 | 23 |
classVariableNames:'' |
24 |
poolDictionaries:'' |
|
25 |
category:'Interface-Tools-File' |
|
26 |
! |
|
27 |
||
5140 | 28 |
!FileBrowserV2SettingsAppl class methodsFor:'documentation'! |
29 |
||
30 |
copyright |
|
31 |
" |
|
32 |
COPYRIGHT (c) 2002 by eXept Software AG |
|
33 |
All Rights Reserved |
|
34 |
||
35 |
This software is furnished under a license and may be used |
|
36 |
only in accordance with the terms of that license and with the |
|
37 |
inclusion of the above copyright notice. This software may not |
|
38 |
be provided or otherwise made available to, or used by, any |
|
39 |
other person. No title to or ownership of the software is |
|
40 |
hereby transferred. |
|
41 |
" |
|
42 |
! ! |
|
4318 | 43 |
|
44 |
!FileBrowserV2SettingsAppl class methodsFor:'icon'! |
|
45 |
||
46 |
defaultIcon |
|
47 |
||
48 |
^ FileBrowserV2 applicationIcon |
|
49 |
! ! |
|
50 |
||
51 |
!FileBrowserV2SettingsAppl class methodsFor:'interface specs'! |
|
52 |
||
53 |
windowSpec |
|
54 |
"This resource specification was automatically generated |
|
55 |
by the UIPainter of ST/X." |
|
56 |
||
57 |
"Do not manually edit this!! If it is corrupted, |
|
58 |
the UIPainter may not be able to read the specification." |
|
59 |
||
60 |
" |
|
61 |
UIPainter new openOnClass:FileBrowserV2SettingsAppl andSelector:#windowSpec |
|
62 |
FileBrowserV2SettingsAppl new openInterface:#windowSpec |
|
63 |
FileBrowserV2SettingsAppl open |
|
64 |
" |
|
65 |
||
66 |
<resource: #canvas> |
|
67 |
||
68 |
^ |
|
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
69 |
#(FullSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
70 |
name: windowSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
71 |
window: |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
72 |
(WindowSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
73 |
label: 'Settings' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
74 |
name: 'Settings' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
75 |
min: (Point 10 10) |
5344 | 76 |
bounds: (Rectangle 16 42 450 583) |
4318 | 77 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
78 |
component: |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
79 |
(SpecCollection |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
80 |
collection: ( |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
81 |
(VerticalPanelViewSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
82 |
name: 'VerticalPanel1' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
83 |
layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
84 |
horizontalLayout: fit |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
85 |
verticalLayout: top |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
86 |
horizontalSpace: 3 |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
87 |
verticalSpace: 3 |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
88 |
component: |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
89 |
(SpecCollection |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
90 |
collection: ( |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
91 |
(VerticalPanelViewSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
92 |
name: 'VerticalPanel2' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
93 |
horizontalLayout: fit |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
94 |
verticalLayout: center |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
95 |
horizontalSpace: 3 |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
96 |
verticalSpace: 3 |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
97 |
component: |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
98 |
(SpecCollection |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
99 |
collection: ( |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
100 |
(FramedBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
101 |
label: 'Show' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
102 |
name: 'FramedBox1' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
103 |
labelPosition: topLeft |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
104 |
translateLabel: true |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
105 |
component: |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
106 |
(SpecCollection |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
107 |
collection: ( |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
108 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
109 |
label: 'Hidden Files' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
110 |
name: 'CheckBox1' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
111 |
layout: (LayoutFrame 0 0.0 0 0 0 1.0 20 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
112 |
model: showHiddenFiles |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
113 |
translateLabel: true |
4318 | 114 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
115 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
116 |
label: 'Directory Tree' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
117 |
name: 'CheckBox2' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
118 |
layout: (LayoutFrame 0 0.0 25 0 0 1.0 45 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
119 |
model: showDirectoryTree |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
120 |
translateLabel: true |
4318 | 121 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
122 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
123 |
label: 'Regular Files in TreeView (Left)' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
124 |
name: 'CheckBox3' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
125 |
layout: (LayoutFrame 20 0 50 0 0 1.0 70 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
126 |
model: viewFilesInDirectoryTree |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
127 |
translateLabel: true |
4318 | 128 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
129 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
130 |
label: 'Directories in ContentsView (Right)' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
131 |
name: 'CheckBox4' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
132 |
layout: (LayoutFrame 0 0.0 75 0 0 1.0 95 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
133 |
model: viewDirsInContentsBrowser |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
134 |
translateLabel: true |
4318 | 135 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
136 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
137 |
label: 'Toolbar' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
138 |
name: 'CheckBox11' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
139 |
layout: (LayoutFrame 0 0.0 100 0 0 1.0 120 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
140 |
model: toolBarVisibleHolder |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
141 |
translateLabel: true |
4318 | 142 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
143 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
144 |
label: 'Path Entry && Filter' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
145 |
name: 'CheckBox12' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
146 |
layout: (LayoutFrame 0 0.0 125 0 0 1.0 145 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
147 |
model: filenameEntryFieldVisibleHolder |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
148 |
translateLabel: true |
4318 | 149 |
) |
150 |
) |
|
151 |
||
152 |
) |
|
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
153 |
extent: (Point 434 175) |
4318 | 154 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
155 |
(FramedBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
156 |
label: 'Sort' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
157 |
name: 'FramedBox2' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
158 |
labelPosition: topLeft |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
159 |
translateLabel: true |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
160 |
component: |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
161 |
(SpecCollection |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
162 |
collection: ( |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
163 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
164 |
label: 'Ignore Case' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
165 |
name: 'CheckBox6' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
166 |
layout: (LayoutFrame 0 0.0 0 0 0 1.0 20 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
167 |
model: sortCaseless |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
168 |
translateLabel: true |
4318 | 169 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
170 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
171 |
label: 'Directories before Files' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
172 |
name: 'CheckBox7' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
173 |
layout: (LayoutFrame 0 0.0 25 0 0 1.0 45 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
174 |
model: sortDirectoriesBeforeFiles |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
175 |
translateLabel: true |
4318 | 176 |
) |
177 |
) |
|
178 |
||
179 |
) |
|
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
180 |
extent: (Point 434 75) |
4318 | 181 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
182 |
(FramedBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
183 |
label: 'Application Notebook' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
184 |
name: 'FramedBox3' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
185 |
labelPosition: topLeft |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
186 |
translateLabel: true |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
187 |
component: |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
188 |
(SpecCollection |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
189 |
collection: ( |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
190 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
191 |
label: 'Text Editor for all Types' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
192 |
name: 'CheckBox8' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
193 |
layout: (LayoutFrame 0 0.0 0 0 0 1.0 20 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
194 |
model: openAlwaysInTextEditor |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
195 |
translateLabel: true |
4318 | 196 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
197 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
198 |
label: 'Open Multiple Applications' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
199 |
name: 'CheckBox9' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
200 |
layout: (LayoutFrame 0 0.0 25 0 0 1.0 45 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
201 |
model: openMultipleApplicationsForType |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
202 |
translateLabel: true |
4318 | 203 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
204 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
205 |
label: 'Auto Open Directory Description' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
206 |
name: 'CheckBox10' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
207 |
layout: (LayoutFrame 0 0.0 50 0 0 1.0 70 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
208 |
model: viewDirectoryDescription |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
209 |
translateLabel: true |
4318 | 210 |
) |
211 |
) |
|
212 |
||
213 |
) |
|
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
214 |
extent: (Point 434 100) |
4318 | 215 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
216 |
(FramedBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
217 |
label: 'Columns in Contents Browser' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
218 |
name: 'FramedBox4' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
219 |
labelPosition: topLeft |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
220 |
translateLabel: true |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
221 |
component: |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
222 |
(SpecCollection |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
223 |
collection: ( |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
224 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
225 |
label: 'Details' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
226 |
name: 'CheckBox22' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
227 |
layout: (LayoutFrame 0 0.0 0 0 0 1.0 20 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
228 |
model: viewDetails |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
229 |
translateLabel: true |
4318 | 230 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
231 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
232 |
label: 'Suffix' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
233 |
name: 'CheckBox13' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
234 |
layout: (LayoutFrame 20 0.0 25 0 170 0 45 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
235 |
enableChannel: viewDetails |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
236 |
model: viewType |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
237 |
translateLabel: true |
4318 | 238 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
239 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
240 |
label: 'Permissions' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
241 |
name: 'CheckBox21' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
242 |
layout: (LayoutFrame 170 0.0 25 0 -5 1 45 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
243 |
enableChannel: viewDetails |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
244 |
model: viewPermissions |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
245 |
translateLabel: true |
4318 | 246 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
247 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
248 |
label: 'Owner' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
249 |
name: 'CheckBox14' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
250 |
layout: (LayoutFrame 20 0.0 50 0 170 0 70 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
251 |
enableChannel: viewDetails |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
252 |
model: viewOwner |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
253 |
translateLabel: true |
4318 | 254 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
255 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
256 |
label: 'Group' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
257 |
name: 'CheckBox18' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
258 |
layout: (LayoutFrame 170 0.0 50 0 -5 1 70 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
259 |
enableChannel: viewDetails |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
260 |
model: viewGroup |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
261 |
translateLabel: true |
4318 | 262 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
263 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
264 |
label: 'Size' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
265 |
name: 'CheckBox15' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
266 |
layout: (LayoutFrame 20 0.0 75 0 170 0 95 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
267 |
enableChannel: viewDetails |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
268 |
model: viewSize |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
269 |
translateLabel: true |
4318 | 270 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
271 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
272 |
label: 'Date && Time' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
273 |
name: 'CheckBox19' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
274 |
layout: (LayoutFrame 170 0.0 75 0 -5 1 95 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
275 |
enableChannel: viewDetails |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
276 |
model: viewTime |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
277 |
translateLabel: true |
4318 | 278 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
279 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
280 |
label: 'Size in Bytes' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
281 |
name: 'CheckBox16' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
282 |
layout: (LayoutFrame 20 0.0 100 0 170 0 120 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
283 |
enableChannel: viewDetails |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
284 |
model: viewSizeInBytes |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
285 |
translateLabel: true |
4318 | 286 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
287 |
(CheckBoxSpec |
5344 | 288 |
label: 'Size in KBytes' |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
289 |
name: 'CheckBox20' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
290 |
layout: (LayoutFrame 170 0.0 100 0 -5 1 120 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
291 |
enableChannel: viewDetails |
5344 | 292 |
model: viewSizeInKiloBytes |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
293 |
translateLabel: true |
4318 | 294 |
) |
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
295 |
(CheckBoxSpec |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
296 |
label: 'File Info' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
297 |
name: 'CheckBox23' |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
298 |
layout: (LayoutFrame 20 0.0 125 0 170 0 145 0) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
299 |
enableChannel: viewDetails |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
300 |
model: viewDescription |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
301 |
translateLabel: true |
4966 | 302 |
) |
5344 | 303 |
(CheckBoxSpec |
304 |
label: 'Preview' |
|
305 |
name: 'CheckBox24' |
|
306 |
layout: (LayoutFrame 170 0.0 125 0 -5 1 145 0) |
|
307 |
enableChannel: viewDetails |
|
308 |
model: viewPreview |
|
309 |
translateLabel: true |
|
310 |
) |
|
4318 | 311 |
) |
312 |
||
313 |
) |
|
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
314 |
extent: (Point 434 171) |
4318 | 315 |
) |
316 |
) |
|
317 |
||
318 |
) |
|
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
319 |
extent: (Point 434 530) |
4318 | 320 |
) |
321 |
) |
|
322 |
||
323 |
) |
|
324 |
) |
|
325 |
) |
|
326 |
||
327 |
) |
|
328 |
) |
|
329 |
! ! |
|
330 |
||
331 |
!FileBrowserV2SettingsAppl methodsFor:'accessing'! |
|
332 |
||
333 |
requestor |
|
334 |
"return the value of the instance variable 'requestor' (automatically generated)" |
|
335 |
||
336 |
| masterApplication | |
|
337 |
masterApplication := self masterApplication. |
|
338 |
masterApplication notNil ifTrue:[ |
|
339 |
^ masterApplication requestor. |
|
340 |
]. |
|
341 |
^ nil |
|
342 |
! ! |
|
343 |
||
344 |
!FileBrowserV2SettingsAppl methodsFor:'actions'! |
|
345 |
||
4574 | 346 |
basicSaveSettings |
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
347 |
|aspectList req writeToCurrentFileBrowser| |
4574 | 348 |
|
349 |
aspectList := AbstractFileBrowser userPreferencesAspectList. |
|
5027 | 350 |
req := self settingsDialog. |
4574 | 351 |
writeToCurrentFileBrowser := (req notNil and:[req isKindOf:AbstractFileBrowser]). |
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
352 |
aspectList do:[ :aAspect | |value| |
4574 | 353 |
value := (self perform:aAspect) value. |
354 |
(currentUserPrefs perform:((aAspect asString, ':') asSymbol) with:value). |
|
355 |
writeToCurrentFileBrowser ifTrue:[ |
|
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
356 |
(req perform:aAspect) value:value. |
4574 | 357 |
]. |
358 |
]. |
|
359 |
! |
|
360 |
||
5102 | 361 |
helpFilename |
362 |
^ 'FileBrowserV2/settings.html' |
|
4318 | 363 |
! |
364 |
||
4574 | 365 |
readSettings |
366 |
|req receiver aspectList| |
|
4318 | 367 |
|
5027 | 368 |
req := self settingsDialog. |
4574 | 369 |
receiver := (req notNil and:[req isKindOf:AbstractFileBrowser]) ifTrue:[ |
370 |
req |
|
371 |
] ifFalse:[ |
|
372 |
currentUserPrefs |
|
373 |
]. |
|
4318 | 374 |
aspectList := AbstractFileBrowser userPreferencesAspectList. |
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
375 |
aspectList do:[:aAspect | |value| |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
376 |
value := (receiver perform:aAspect) value. |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
377 |
(self perform:aAspect) value:value |
4318 | 378 |
]. |
4574 | 379 |
self modifiedChannel value:false |
4318 | 380 |
! ! |
381 |
||
382 |
!FileBrowserV2SettingsAppl methodsFor:'aspects'! |
|
383 |
||
384 |
filenameEntryFieldVisibleHolder |
|
385 |
filenameEntryFieldVisibleHolder isNil ifTrue:[ |
|
386 |
filenameEntryFieldVisibleHolder := true asValue. |
|
5042 | 387 |
filenameEntryFieldVisibleHolder onChangeSend:#updateModifiedChannel |
388 |
to:self |
|
4318 | 389 |
]. |
5042 | 390 |
^ filenameEntryFieldVisibleHolder |
4318 | 391 |
! |
392 |
||
393 |
openAlwaysInTextEditor |
|
394 |
openAlwaysInTextEditor isNil ifTrue:[ |
|
395 |
openAlwaysInTextEditor := true asValue. |
|
5042 | 396 |
openAlwaysInTextEditor onChangeSend:#updateModifiedChannel to:self |
4318 | 397 |
]. |
5042 | 398 |
^ openAlwaysInTextEditor |
4318 | 399 |
! |
400 |
||
401 |
openMultipleApplicationsForType |
|
402 |
openMultipleApplicationsForType isNil ifTrue:[ |
|
403 |
openMultipleApplicationsForType := true asValue. |
|
5042 | 404 |
openMultipleApplicationsForType onChangeSend:#updateModifiedChannel |
405 |
to:self |
|
4318 | 406 |
]. |
5042 | 407 |
^ openMultipleApplicationsForType |
4318 | 408 |
! |
409 |
||
410 |
showDirectoryTree |
|
411 |
showDirectoryTree isNil ifTrue:[ |
|
412 |
showDirectoryTree := true asValue. |
|
5042 | 413 |
showDirectoryTree onChangeSend:#updateModifiedChannel to:self |
4318 | 414 |
]. |
5042 | 415 |
^ showDirectoryTree |
4318 | 416 |
! |
417 |
||
418 |
showHiddenFiles |
|
419 |
showHiddenFiles isNil ifTrue:[ |
|
420 |
showHiddenFiles := true asValue. |
|
5042 | 421 |
showHiddenFiles onChangeSend:#updateModifiedChannel to:self |
4318 | 422 |
]. |
5042 | 423 |
^ showHiddenFiles |
4318 | 424 |
! |
425 |
||
426 |
sortCaseless |
|
427 |
sortCaseless isNil ifTrue:[ |
|
428 |
sortCaseless := true asValue. |
|
5042 | 429 |
sortCaseless onChangeSend:#updateModifiedChannel to:self |
4318 | 430 |
]. |
5042 | 431 |
^ sortCaseless |
4318 | 432 |
! |
433 |
||
434 |
sortDirectoriesBeforeFiles |
|
435 |
sortDirectoriesBeforeFiles isNil ifTrue:[ |
|
436 |
sortDirectoriesBeforeFiles := true asValue. |
|
5042 | 437 |
sortDirectoriesBeforeFiles onChangeSend:#updateModifiedChannel to:self |
4318 | 438 |
]. |
5042 | 439 |
^ sortDirectoriesBeforeFiles |
4318 | 440 |
! |
441 |
||
442 |
toolBarVisibleHolder |
|
443 |
toolBarVisibleHolder isNil ifTrue:[ |
|
444 |
toolBarVisibleHolder := true asValue. |
|
5042 | 445 |
toolBarVisibleHolder onChangeSend:#updateModifiedChannel to:self |
4318 | 446 |
]. |
5042 | 447 |
^ toolBarVisibleHolder |
4318 | 448 |
! |
449 |
||
450 |
viewDescription |
|
451 |
viewDescription isNil ifTrue:[ |
|
5325 | 452 |
viewDescription := false asValue. |
5042 | 453 |
viewDescription onChangeSend:#updateModifiedChannel to:self |
4318 | 454 |
]. |
5042 | 455 |
^ viewDescription |
4318 | 456 |
! |
457 |
||
458 |
viewDetails |
|
459 |
viewDetails isNil ifTrue:[ |
|
460 |
viewDetails := true asValue. |
|
5042 | 461 |
viewDetails onChangeSend:#updateModifiedChannel to:self |
4318 | 462 |
]. |
5042 | 463 |
^ viewDetails |
4318 | 464 |
! |
465 |
||
466 |
viewDirectoryDescription |
|
467 |
viewDirectoryDescription isNil ifTrue:[ |
|
468 |
viewDirectoryDescription := true asValue. |
|
5042 | 469 |
viewDirectoryDescription onChangeSend:#updateModifiedChannel to:self |
4318 | 470 |
]. |
5042 | 471 |
^ viewDirectoryDescription |
4318 | 472 |
! |
473 |
||
474 |
viewDirsInContentsBrowser |
|
475 |
viewDirsInContentsBrowser isNil ifTrue:[ |
|
476 |
viewDirsInContentsBrowser := true asValue. |
|
5042 | 477 |
viewDirsInContentsBrowser onChangeSend:#updateModifiedChannel to:self |
4318 | 478 |
]. |
5042 | 479 |
^ viewDirsInContentsBrowser |
4318 | 480 |
! |
481 |
||
482 |
viewFilesInDirectoryTree |
|
483 |
viewFilesInDirectoryTree isNil ifTrue:[ |
|
484 |
viewFilesInDirectoryTree := true asValue. |
|
5042 | 485 |
viewFilesInDirectoryTree onChangeSend:#updateModifiedChannel to:self |
4318 | 486 |
]. |
5042 | 487 |
^ viewFilesInDirectoryTree |
4318 | 488 |
! |
489 |
||
490 |
viewGroup |
|
491 |
viewGroup isNil ifTrue:[ |
|
492 |
viewGroup := true asValue. |
|
5042 | 493 |
viewGroup onChangeSend:#updateModifiedChannel to:self |
4318 | 494 |
]. |
5042 | 495 |
^ viewGroup |
4318 | 496 |
! |
497 |
||
498 |
viewOwner |
|
499 |
viewOwner isNil ifTrue:[ |
|
500 |
viewOwner := true asValue. |
|
5042 | 501 |
viewOwner onChangeSend:#updateModifiedChannel to:self |
4318 | 502 |
]. |
5042 | 503 |
^ viewOwner |
4318 | 504 |
! |
505 |
||
506 |
viewPermissions |
|
507 |
viewPermissions isNil ifTrue:[ |
|
508 |
viewPermissions := true asValue. |
|
5042 | 509 |
viewPermissions onChangeSend:#updateModifiedChannel to:self |
4318 | 510 |
]. |
5042 | 511 |
^ viewPermissions |
4318 | 512 |
! |
513 |
||
514 |
viewPreview |
|
515 |
viewPreview isNil ifTrue:[ |
|
516 |
viewPreview := true asValue. |
|
5042 | 517 |
viewPreview onChangeSend:#updateModifiedChannel to:self |
4318 | 518 |
]. |
5042 | 519 |
^ viewPreview |
4318 | 520 |
! |
521 |
||
522 |
viewSize |
|
523 |
viewSize isNil ifTrue:[ |
|
524 |
viewSize := true asValue. |
|
5042 | 525 |
viewSize onChangeSend:#updateModifiedChannel to:self |
4318 | 526 |
]. |
5042 | 527 |
^ viewSize |
4318 | 528 |
! |
529 |
||
4966 | 530 |
viewSizeInBytes |
531 |
viewSizeInBytes isNil ifTrue:[ |
|
532 |
viewSizeInBytes := false asValue. |
|
5042 | 533 |
viewSizeInBytes onChangeSend:#updateModifiedChannel to:self |
4966 | 534 |
]. |
5042 | 535 |
^ viewSizeInBytes |
4966 | 536 |
! |
537 |
||
5344 | 538 |
viewSizeInKiloBytes |
539 |
viewSizeInKiloBytes isNil ifTrue:[ |
|
540 |
viewSizeInKiloBytes := false asValue. |
|
541 |
viewSizeInKiloBytes onChangeSend:#updateModifiedChannel to:self |
|
542 |
]. |
|
543 |
^ viewSizeInKiloBytes |
|
544 |
! |
|
545 |
||
4318 | 546 |
viewTime |
547 |
viewTime isNil ifTrue:[ |
|
548 |
viewTime := true asValue. |
|
5042 | 549 |
viewTime onChangeSend:#updateModifiedChannel to:self |
4318 | 550 |
]. |
5042 | 551 |
^ viewTime |
4318 | 552 |
! |
553 |
||
554 |
viewType |
|
555 |
viewType isNil ifTrue:[ |
|
556 |
viewType := true asValue. |
|
5042 | 557 |
viewType onChangeSend:#updateModifiedChannel to:self |
4318 | 558 |
]. |
5042 | 559 |
^ viewType |
4318 | 560 |
! ! |
561 |
||
562 |
!FileBrowserV2SettingsAppl methodsFor:'queries'! |
|
563 |
||
564 |
hasUnsavedChanges |
|
565 |
||
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
566 |
|aspectList req receiver| |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
567 |
|
5027 | 568 |
req := self settingsDialog. |
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
569 |
receiver := (req notNil and:[req isKindOf:AbstractFileBrowser]) ifTrue:[ |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
570 |
req |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
571 |
] ifFalse:[ |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
572 |
currentUserPrefs |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
573 |
]. |
4318 | 574 |
|
575 |
aspectList := AbstractFileBrowser userPreferencesAspectList. |
|
576 |
aspectList do:[ : aAspect | |
|
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
577 |
(self perform:aAspect) value ~= (receiver perform:aAspect) value ifTrue:[ |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
578 |
^ true |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
579 |
] |
4318 | 580 |
]. |
581 |
^ false |
|
582 |
! ! |
|
583 |
||
584 |
!FileBrowserV2SettingsAppl class methodsFor:'documentation'! |
|
585 |
||
586 |
version |
|
5344 | 587 |
^ '$Header: /cvs/stx/stx/libtool/FileBrowserV2SettingsAppl.st,v 1.16 2003-11-13 14:42:43 penk Exp $' |
4318 | 588 |
! ! |