author | penk |
Tue, 28 Oct 2003 13:42:07 +0100 | |
changeset 5325 | ef7f3f898815 |
parent 5153 | 0030b86728bf |
child 5344 | 4246a7f26aa1 |
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 |
|
22 |
viewOwner filenameEntryFieldVisibleHolder' |
|
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) |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
76 |
bounds: (Rectangle 14 46 448 587) |
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 |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
288 |
label: 'Preview' |
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 |
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
292 |
model: viewPreview |
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 |
) |
4318 | 303 |
) |
304 |
||
305 |
) |
|
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
306 |
extent: (Point 434 171) |
4318 | 307 |
) |
308 |
) |
|
309 |
||
310 |
) |
|
5153
0030b86728bf
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
5140
diff
changeset
|
311 |
extent: (Point 434 530) |
4318 | 312 |
) |
313 |
) |
|
314 |
||
315 |
) |
|
316 |
) |
|
317 |
) |
|
318 |
||
319 |
) |
|
320 |
) |
|
321 |
! ! |
|
322 |
||
323 |
!FileBrowserV2SettingsAppl methodsFor:'accessing'! |
|
324 |
||
325 |
requestor |
|
326 |
"return the value of the instance variable 'requestor' (automatically generated)" |
|
327 |
||
328 |
| masterApplication | |
|
329 |
masterApplication := self masterApplication. |
|
330 |
masterApplication notNil ifTrue:[ |
|
331 |
^ masterApplication requestor. |
|
332 |
]. |
|
333 |
^ nil |
|
334 |
! ! |
|
335 |
||
336 |
!FileBrowserV2SettingsAppl methodsFor:'actions'! |
|
337 |
||
4574 | 338 |
basicSaveSettings |
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
339 |
|aspectList req writeToCurrentFileBrowser| |
4574 | 340 |
|
341 |
aspectList := AbstractFileBrowser userPreferencesAspectList. |
|
5027 | 342 |
req := self settingsDialog. |
4574 | 343 |
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
|
344 |
aspectList do:[ :aAspect | |value| |
4574 | 345 |
value := (self perform:aAspect) value. |
346 |
(currentUserPrefs perform:((aAspect asString, ':') asSymbol) with:value). |
|
347 |
writeToCurrentFileBrowser ifTrue:[ |
|
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
348 |
(req perform:aAspect) value:value. |
4574 | 349 |
]. |
350 |
]. |
|
351 |
! |
|
352 |
||
5102 | 353 |
helpFilename |
354 |
^ 'FileBrowserV2/settings.html' |
|
4318 | 355 |
! |
356 |
||
4574 | 357 |
readSettings |
358 |
|req receiver aspectList| |
|
4318 | 359 |
|
5027 | 360 |
req := self settingsDialog. |
4574 | 361 |
receiver := (req notNil and:[req isKindOf:AbstractFileBrowser]) ifTrue:[ |
362 |
req |
|
363 |
] ifFalse:[ |
|
364 |
currentUserPrefs |
|
365 |
]. |
|
4318 | 366 |
aspectList := AbstractFileBrowser userPreferencesAspectList. |
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
367 |
aspectList do:[:aAspect | |value| |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
368 |
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
|
369 |
(self perform:aAspect) value:value |
4318 | 370 |
]. |
4574 | 371 |
self modifiedChannel value:false |
4318 | 372 |
! ! |
373 |
||
374 |
!FileBrowserV2SettingsAppl methodsFor:'aspects'! |
|
375 |
||
376 |
filenameEntryFieldVisibleHolder |
|
377 |
filenameEntryFieldVisibleHolder isNil ifTrue:[ |
|
378 |
filenameEntryFieldVisibleHolder := true asValue. |
|
5042 | 379 |
filenameEntryFieldVisibleHolder onChangeSend:#updateModifiedChannel |
380 |
to:self |
|
4318 | 381 |
]. |
5042 | 382 |
^ filenameEntryFieldVisibleHolder |
4318 | 383 |
! |
384 |
||
385 |
openAlwaysInTextEditor |
|
386 |
openAlwaysInTextEditor isNil ifTrue:[ |
|
387 |
openAlwaysInTextEditor := true asValue. |
|
5042 | 388 |
openAlwaysInTextEditor onChangeSend:#updateModifiedChannel to:self |
4318 | 389 |
]. |
5042 | 390 |
^ openAlwaysInTextEditor |
4318 | 391 |
! |
392 |
||
393 |
openMultipleApplicationsForType |
|
394 |
openMultipleApplicationsForType isNil ifTrue:[ |
|
395 |
openMultipleApplicationsForType := true asValue. |
|
5042 | 396 |
openMultipleApplicationsForType onChangeSend:#updateModifiedChannel |
397 |
to:self |
|
4318 | 398 |
]. |
5042 | 399 |
^ openMultipleApplicationsForType |
4318 | 400 |
! |
401 |
||
402 |
showDirectoryTree |
|
403 |
showDirectoryTree isNil ifTrue:[ |
|
404 |
showDirectoryTree := true asValue. |
|
5042 | 405 |
showDirectoryTree onChangeSend:#updateModifiedChannel to:self |
4318 | 406 |
]. |
5042 | 407 |
^ showDirectoryTree |
4318 | 408 |
! |
409 |
||
410 |
showHiddenFiles |
|
411 |
showHiddenFiles isNil ifTrue:[ |
|
412 |
showHiddenFiles := true asValue. |
|
5042 | 413 |
showHiddenFiles onChangeSend:#updateModifiedChannel to:self |
4318 | 414 |
]. |
5042 | 415 |
^ showHiddenFiles |
4318 | 416 |
! |
417 |
||
418 |
sortCaseless |
|
419 |
sortCaseless isNil ifTrue:[ |
|
420 |
sortCaseless := true asValue. |
|
5042 | 421 |
sortCaseless onChangeSend:#updateModifiedChannel to:self |
4318 | 422 |
]. |
5042 | 423 |
^ sortCaseless |
4318 | 424 |
! |
425 |
||
426 |
sortDirectoriesBeforeFiles |
|
427 |
sortDirectoriesBeforeFiles isNil ifTrue:[ |
|
428 |
sortDirectoriesBeforeFiles := true asValue. |
|
5042 | 429 |
sortDirectoriesBeforeFiles onChangeSend:#updateModifiedChannel to:self |
4318 | 430 |
]. |
5042 | 431 |
^ sortDirectoriesBeforeFiles |
4318 | 432 |
! |
433 |
||
434 |
toolBarVisibleHolder |
|
435 |
toolBarVisibleHolder isNil ifTrue:[ |
|
436 |
toolBarVisibleHolder := true asValue. |
|
5042 | 437 |
toolBarVisibleHolder onChangeSend:#updateModifiedChannel to:self |
4318 | 438 |
]. |
5042 | 439 |
^ toolBarVisibleHolder |
4318 | 440 |
! |
441 |
||
442 |
viewDescription |
|
443 |
viewDescription isNil ifTrue:[ |
|
5325 | 444 |
viewDescription := false asValue. |
5042 | 445 |
viewDescription onChangeSend:#updateModifiedChannel to:self |
4318 | 446 |
]. |
5042 | 447 |
^ viewDescription |
4318 | 448 |
! |
449 |
||
450 |
viewDetails |
|
451 |
viewDetails isNil ifTrue:[ |
|
452 |
viewDetails := true asValue. |
|
5042 | 453 |
viewDetails onChangeSend:#updateModifiedChannel to:self |
4318 | 454 |
]. |
5042 | 455 |
^ viewDetails |
4318 | 456 |
! |
457 |
||
458 |
viewDirectoryDescription |
|
459 |
viewDirectoryDescription isNil ifTrue:[ |
|
460 |
viewDirectoryDescription := true asValue. |
|
5042 | 461 |
viewDirectoryDescription onChangeSend:#updateModifiedChannel to:self |
4318 | 462 |
]. |
5042 | 463 |
^ viewDirectoryDescription |
4318 | 464 |
! |
465 |
||
466 |
viewDirsInContentsBrowser |
|
467 |
viewDirsInContentsBrowser isNil ifTrue:[ |
|
468 |
viewDirsInContentsBrowser := true asValue. |
|
5042 | 469 |
viewDirsInContentsBrowser onChangeSend:#updateModifiedChannel to:self |
4318 | 470 |
]. |
5042 | 471 |
^ viewDirsInContentsBrowser |
4318 | 472 |
! |
473 |
||
474 |
viewFilesInDirectoryTree |
|
475 |
viewFilesInDirectoryTree isNil ifTrue:[ |
|
476 |
viewFilesInDirectoryTree := true asValue. |
|
5042 | 477 |
viewFilesInDirectoryTree onChangeSend:#updateModifiedChannel to:self |
4318 | 478 |
]. |
5042 | 479 |
^ viewFilesInDirectoryTree |
4318 | 480 |
! |
481 |
||
482 |
viewGroup |
|
483 |
viewGroup isNil ifTrue:[ |
|
484 |
viewGroup := true asValue. |
|
5042 | 485 |
viewGroup onChangeSend:#updateModifiedChannel to:self |
4318 | 486 |
]. |
5042 | 487 |
^ viewGroup |
4318 | 488 |
! |
489 |
||
490 |
viewOwner |
|
491 |
viewOwner isNil ifTrue:[ |
|
492 |
viewOwner := true asValue. |
|
5042 | 493 |
viewOwner onChangeSend:#updateModifiedChannel to:self |
4318 | 494 |
]. |
5042 | 495 |
^ viewOwner |
4318 | 496 |
! |
497 |
||
498 |
viewPermissions |
|
499 |
viewPermissions isNil ifTrue:[ |
|
500 |
viewPermissions := true asValue. |
|
5042 | 501 |
viewPermissions onChangeSend:#updateModifiedChannel to:self |
4318 | 502 |
]. |
5042 | 503 |
^ viewPermissions |
4318 | 504 |
! |
505 |
||
506 |
viewPreview |
|
507 |
viewPreview isNil ifTrue:[ |
|
508 |
viewPreview := true asValue. |
|
5042 | 509 |
viewPreview onChangeSend:#updateModifiedChannel to:self |
4318 | 510 |
]. |
5042 | 511 |
^ viewPreview |
4318 | 512 |
! |
513 |
||
514 |
viewSize |
|
515 |
viewSize isNil ifTrue:[ |
|
516 |
viewSize := true asValue. |
|
5042 | 517 |
viewSize onChangeSend:#updateModifiedChannel to:self |
4318 | 518 |
]. |
5042 | 519 |
^ viewSize |
4318 | 520 |
! |
521 |
||
4966 | 522 |
viewSizeInBytes |
523 |
viewSizeInBytes isNil ifTrue:[ |
|
524 |
viewSizeInBytes := false asValue. |
|
5042 | 525 |
viewSizeInBytes onChangeSend:#updateModifiedChannel to:self |
4966 | 526 |
]. |
5042 | 527 |
^ viewSizeInBytes |
4966 | 528 |
! |
529 |
||
4318 | 530 |
viewTime |
531 |
viewTime isNil ifTrue:[ |
|
532 |
viewTime := true asValue. |
|
5042 | 533 |
viewTime onChangeSend:#updateModifiedChannel to:self |
4318 | 534 |
]. |
5042 | 535 |
^ viewTime |
4318 | 536 |
! |
537 |
||
538 |
viewType |
|
539 |
viewType isNil ifTrue:[ |
|
540 |
viewType := true asValue. |
|
5042 | 541 |
viewType onChangeSend:#updateModifiedChannel to:self |
4318 | 542 |
]. |
5042 | 543 |
^ viewType |
4318 | 544 |
! ! |
545 |
||
546 |
!FileBrowserV2SettingsAppl methodsFor:'queries'! |
|
547 |
||
548 |
hasUnsavedChanges |
|
549 |
||
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
550 |
|aspectList req receiver| |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
551 |
|
5027 | 552 |
req := self settingsDialog. |
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
553 |
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
|
554 |
req |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
555 |
] ifFalse:[ |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
556 |
currentUserPrefs |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
557 |
]. |
4318 | 558 |
|
559 |
aspectList := AbstractFileBrowser userPreferencesAspectList. |
|
560 |
aspectList do:[ : aAspect | |
|
4939
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
561 |
(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
|
562 |
^ true |
101cc4d46184
fixes to allow settings dialog to be opened from browser
Claus Gittinger <cg@exept.de>
parents:
4627
diff
changeset
|
563 |
] |
4318 | 564 |
]. |
565 |
^ false |
|
566 |
! ! |
|
567 |
||
568 |
!FileBrowserV2SettingsAppl class methodsFor:'documentation'! |
|
569 |
||
570 |
version |
|
5325 | 571 |
^ '$Header: /cvs/stx/stx/libtool/FileBrowserV2SettingsAppl.st,v 1.15 2003-10-28 12:42:07 penk Exp $' |
4318 | 572 |
! ! |