author | Claus Gittinger <cg@exept.de> |
Sat, 05 Feb 2011 14:06:56 +0100 | |
changeset 9736 | 94b7fca09158 |
parent 7920 | 5fe560f6a741 |
child 12123 | 4bde08cebd48 |
child 15612 | 8c9467f951db |
permissions | -rw-r--r-- |
3892 | 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 |
"{ Package: 'stx:libtool' }" |
|
13 |
||
14 |
Object subclass:#FileBrowserV2UISpecifications |
|
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
18 |
category:'Interface-Tools-File' |
|
19 |
! |
|
20 |
||
21 |
VariablePanelSpec subclass:#PanelSpec |
|
22 |
instanceVariableNames:'whichView orientation visibility' |
|
23 |
classVariableNames:'' |
|
24 |
poolDictionaries:'' |
|
25 |
privateIn:FileBrowserV2UISpecifications |
|
26 |
! |
|
27 |
||
28 |
!FileBrowserV2UISpecifications 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 |
||
43 |
" |
|
44 |
! |
|
45 |
||
46 |
documentation |
|
47 |
" |
|
48 |
copy of the Panel from CBrowser , if a better HorizontalPanel and VerticalPanel is available |
|
49 |
the new version can be used here |
|
50 |
" |
|
51 |
! ! |
|
52 |
||
53 |
!FileBrowserV2UISpecifications class methodsFor:'classAccess'! |
|
54 |
||
55 |
panelSpecClass |
|
56 |
||
57 |
^ PanelSpec |
|
58 |
! ! |
|
59 |
||
60 |
!FileBrowserV2UISpecifications class methodsFor:'interface specs'! |
|
61 |
||
62 |
listSpec |
|
63 |
"This resource specification was automatically generated |
|
64 |
by the UIPainter of ST/X." |
|
65 |
||
66 |
"Do not manually edit this!! If it is corrupted, |
|
67 |
the UIPainter may not be able to read the specification." |
|
68 |
||
69 |
" |
|
70 |
UIPainter new openOnClass:FileBrowserV2UISpecifications andSelector:#listSpec |
|
71 |
" |
|
72 |
||
73 |
<resource: #canvas> |
|
74 |
||
75 |
^ |
|
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
76 |
#(FullSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
77 |
name: listSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
78 |
window: |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
79 |
(WindowSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
80 |
label: 'Graphs' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
81 |
name: 'Graphs' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
82 |
min: (Point 10 10) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
83 |
bounds: (Rectangle 14 46 449 234) |
3892 | 84 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
85 |
component: |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
86 |
(SpecCollection |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
87 |
collection: ( |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
88 |
(HierarchicalListViewSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
89 |
name: 'HierarchicalListModel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
90 |
layout: (LayoutFrame 225 0 7 0 398 0 79 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
91 |
hasHorizontalScrollBar: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
92 |
hasVerticalScrollBar: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
93 |
miniScrollerHorizontal: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
94 |
highlightMode: line |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
95 |
) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
96 |
(LabelSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
97 |
label: 'HierarchicalList' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
98 |
name: 'HierarchicalListLabel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
99 |
layout: (Point 252 15) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
100 |
style: (FontDescription helvetica medium roman 10) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
101 |
resizeForLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
102 |
adjust: left |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
103 |
canUIDrag: false |
3892 | 104 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
105 |
(SelectionInListModelViewSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
106 |
name: 'SelectionInListModel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
107 |
layout: (LayoutFrame 6 0 7 0 179 0 79 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
108 |
hasHorizontalScrollBar: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
109 |
hasVerticalScrollBar: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
110 |
miniScrollerHorizontal: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
111 |
highlightMode: line |
3892 | 112 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
113 |
(LabelSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
114 |
label: 'SelectionInList' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
115 |
name: 'SelectionInListLabel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
116 |
layout: (Point 33 15) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
117 |
style: (FontDescription helvetica medium roman 10) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
118 |
resizeForLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
119 |
adjust: left |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
120 |
canUIDrag: false |
3892 | 121 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
122 |
(ListModelViewSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
123 |
name: 'ListModel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
124 |
layout: (LayoutFrame 6 0 100 0 179 0 172 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
125 |
hasHorizontalScrollBar: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
126 |
hasVerticalScrollBar: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
127 |
miniScrollerHorizontal: true |
3892 | 128 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
129 |
(LabelSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
130 |
label: 'ListModel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
131 |
name: 'ListModelLabel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
132 |
layout: (Point 33 109) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
133 |
style: (FontDescription helvetica medium roman 10) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
134 |
resizeForLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
135 |
adjust: left |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
136 |
canUIDrag: false |
3892 | 137 |
) |
138 |
) |
|
139 |
||
140 |
) |
|
141 |
) |
|
142 |
! |
|
143 |
||
144 |
othersSpec |
|
145 |
"This resource specification was automatically generated |
|
146 |
by the UIPainter of ST/X." |
|
147 |
||
148 |
"Do not manually edit this!! If it is corrupted, |
|
149 |
the UIPainter may not be able to read the specification." |
|
150 |
||
151 |
" |
|
152 |
UIPainter new openOnClass:FileBrowserV2UISpecifications andSelector:#othersSpec |
|
153 |
" |
|
154 |
||
155 |
<resource: #canvas> |
|
156 |
||
157 |
^ |
|
158 |
#(#FullSpec |
|
159 |
#name: #othersSpec |
|
160 |
#window: |
|
161 |
#(#WindowSpec |
|
162 |
#label: 'Panel Specs' |
|
163 |
#name: 'Panel Specs' |
|
164 |
#layout: #(#LayoutFrame 119 0 66 0 536 0 215 0) |
|
165 |
#level: 0 |
|
166 |
#min: #(#Point 10 10) |
|
167 |
#bounds: #(#Rectangle 119 66 537 216) |
|
168 |
#usePreferredExtent: false |
|
169 |
#returnIsOKInDialog: true |
|
170 |
#escapeIsCancelInDialog: true |
|
171 |
) |
|
172 |
#component: |
|
173 |
#(#SpecCollection |
|
174 |
#collection: #( |
|
175 |
#(#LabelSpec |
|
176 |
#label: 'Wrapper' |
|
177 |
#name: 'WrapperLabel' |
|
178 |
#layout: #(#Point 9 6) |
|
179 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
|
180 |
#resizeForLabel: true |
|
181 |
#adjust: #left |
|
182 |
#canUIDrag: false |
|
183 |
) |
|
184 |
#(#'FileBrowserV2UISpecifications::WrapperSpec' |
|
185 |
#name: 'Wrapper' |
|
186 |
#layout: #(#LayoutFrame 6 0 26 0 179 0 98 0) |
|
187 |
) |
|
188 |
#(#LabelSpec |
|
189 |
#label: 'Panel' |
|
190 |
#name: 'PanelLabel' |
|
191 |
#layout: #(#Point 201 6) |
|
192 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
|
193 |
#resizeForLabel: true |
|
194 |
#adjust: #left |
|
195 |
#canUIDrag: false |
|
196 |
) |
|
197 |
||
198 |
#(#'FileBrowserV2UISpecifications::PanelSpec' |
|
199 |
#name: 'Panel' |
|
200 |
#layout: #(#LayoutFrame 198 0 26 0 376 0 98 0) |
|
201 |
#level: 0 |
|
202 |
#whichView: #first |
|
203 |
#orientation: #vertical |
|
204 |
#component: |
|
205 |
#(#SpecCollection |
|
206 |
#collection: #( |
|
207 |
#(#LabelSpec |
|
208 |
#label: 'A' |
|
209 |
#name: 'Label1' |
|
210 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 0.5 0 1.0) |
|
211 |
#level: 2 |
|
212 |
#canUIDrag: false |
|
213 |
) |
|
214 |
#(#LabelSpec |
|
215 |
#label: 'B' |
|
216 |
#name: 'Label2' |
|
217 |
#layout: #(#LayoutFrame 0 0.5 0 0.0 0 1.0 0 1.0) |
|
218 |
#level: 2 |
|
219 |
#canUIDrag: false |
|
220 |
) |
|
221 |
) |
|
222 |
||
223 |
) |
|
224 |
) |
|
225 |
) |
|
226 |
||
227 |
) |
|
228 |
) |
|
229 |
! ! |
|
230 |
||
231 |
!FileBrowserV2UISpecifications class methodsFor:'setup'! |
|
232 |
||
233 |
setup |
|
234 |
" |
|
235 |
FileBrowserV2UISpecifications setup. |
|
236 |
||
237 |
" |
|
238 |
|listSpec othersSpec| |
|
239 |
||
240 |
UISelectionPanel galleryClass removeUserSpecWithLabel:'Graphs'. |
|
241 |
UISelectionPanel galleryClass removeUserSpecWithLabel:'Clocks etc.'. |
|
242 |
UISelectionPanel galleryClass removeUserSpecWithLabel:'Business Graphics'. |
|
243 |
UISelectionPanel galleryClass removeUserSpecWithLabel:'C-Lists'. |
|
244 |
UISelectionPanel galleryClass removeUserSpecWithLabel:'C-Others'. |
|
245 |
||
246 |
listSpec := ValueHolder new. |
|
247 |
listSpec value:(self listSpec). |
|
248 |
||
249 |
UISelectionPanel galleryClass addUserSpecHolder:listSpec |
|
250 |
label:'C-Lists'. |
|
251 |
||
252 |
othersSpec := ValueHolder new. |
|
253 |
othersSpec value:(self othersSpec). |
|
254 |
||
255 |
UISelectionPanel galleryClass addUserSpecHolder:othersSpec |
|
256 |
label:'C-Others'. |
|
257 |
! ! |
|
258 |
||
4407 | 259 |
!FileBrowserV2UISpecifications::PanelSpec class methodsFor:'interface specs'! |
3892 | 260 |
|
261 |
detailsEditSpec |
|
262 |
"This resource specification was automatically generated |
|
263 |
by the UIPainter of ST/X." |
|
264 |
||
265 |
"Do not manually edit this!! If it is corrupted, |
|
266 |
the UIPainter may not be able to read the specification." |
|
267 |
||
268 |
" |
|
269 |
UIPainter new openOnClass:FileBrowserV2UISpecifications::PanelSpec andSelector:#detailsEditSpec |
|
270 |
" |
|
271 |
||
272 |
<resource: #canvas> |
|
273 |
||
274 |
^ |
|
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
275 |
#(FullSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
276 |
name: detailsEditSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
277 |
window: |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
278 |
(WindowSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
279 |
label: 'Panel Detail Spec' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
280 |
name: 'Panel Detail Spec' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
281 |
min: (Point 10 10) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
282 |
bounds: (Rectangle 14 46 452 420) |
3892 | 283 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
284 |
component: |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
285 |
(SpecCollection |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
286 |
collection: ( |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
287 |
(UISubSpecification |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
288 |
name: 'SubSpecification1' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
289 |
layout: (LayoutFrame 1 0 0 0.0 0 1.0 183 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
290 |
majorKey: ViewSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
291 |
minorKey: detailsEditSpec |
3892 | 292 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
293 |
(FramedBoxSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
294 |
label: 'Handles' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
295 |
name: 'FramedBox2' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
296 |
layout: (LayoutFrame 0 0.0 169 0 0 1.0 284 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
297 |
labelPosition: topLeft |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
298 |
translateLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
299 |
component: |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
300 |
(SpecCollection |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
301 |
collection: ( |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
302 |
(LabelSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
303 |
label: 'Bar Width:' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
304 |
name: 'BarWidthLabel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
305 |
layout: (AlignmentOrigin 88 0 13 0 1 0.5) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
306 |
activeHelpKey: barWidth |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
307 |
translateLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
308 |
resizeForLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
309 |
adjust: left |
4595
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
310 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
311 |
(InputFieldSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
312 |
name: 'BarWidthField' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
313 |
layout: (LayoutFrame 90 0 0 0 140 0 22 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
314 |
activeHelpKey: barWidth |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
315 |
tabable: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
316 |
model: barWidth |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
317 |
acceptChannel: acceptChannel |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
318 |
modifiedChannel: modifiedChannel |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
319 |
acceptOnPointerLeave: false |
4595
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
320 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
321 |
(LabelSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
322 |
label: 'Bar Level:' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
323 |
name: 'BarLevelLabel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
324 |
layout: (AlignmentOrigin 244 0 13 0 1 0.5) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
325 |
activeHelpKey: barLevel |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
326 |
translateLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
327 |
resizeForLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
328 |
adjust: left |
4595
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
329 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
330 |
(InputFieldSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
331 |
name: 'BarLevelField' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
332 |
layout: (LayoutFrame 246 0 0 0 296 0 22 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
333 |
activeHelpKey: barLevel |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
334 |
tabable: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
335 |
model: barLevel |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
336 |
acceptChannel: acceptChannel |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
337 |
modifiedChannel: modifiedChannel |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
338 |
acceptOnPointerLeave: false |
4595
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
339 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
340 |
(LabelSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
341 |
label: 'Show Handles:' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
342 |
name: 'ShowHandlesLabel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
343 |
layout: (AlignmentOrigin 85 0 38 0 1 0.5) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
344 |
activeHelpKey: showHandle |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
345 |
translateLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
346 |
resizeForLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
347 |
adjust: right |
4595
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
348 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
349 |
(PopUpListSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
350 |
label: 'Default' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
351 |
name: 'ShowHandlesPopUpList' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
352 |
layout: (AlignmentOrigin 90 0 38 0 0 0.5) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
353 |
activeHelpKey: showHandle |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
354 |
resizeForLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
355 |
tabable: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
356 |
model: showHandleIdx |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
357 |
menu: showHandleList |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
358 |
useIndex: true |
4595
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
359 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
360 |
(LabelSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
361 |
label: 'Snap Mode:' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
362 |
name: 'SnapLabel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
363 |
layout: (LayoutFrame 0 0 54 0 86 0 76 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
364 |
activeHelpKey: snapMode |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
365 |
translateLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
366 |
adjust: right |
4595
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
367 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
368 |
(PopUpListSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
369 |
label: 'none' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
370 |
name: 'SnapModePopUpList' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
371 |
layout: (LayoutFrame 90 0 54 0 236 0 75 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
372 |
activeHelpKey: snapMode |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
373 |
adjust: center |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
374 |
tabable: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
375 |
model: snapModeIdx |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
376 |
menu: snapModeList |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
377 |
useIndex: true |
4595
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
378 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
379 |
(LabelSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
380 |
label: 'Position:' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
381 |
name: 'HandlePositionLabel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
382 |
layout: (AlignmentOrigin 293 0 38 0 1 0.5) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
383 |
activeHelpKey: handlePosition |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
384 |
translateLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
385 |
resizeForLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
386 |
adjust: right |
4595
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
387 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
388 |
(PopUpListSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
389 |
label: 'Default' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
390 |
name: 'HandlePositionPopUpList' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
391 |
layout: (AlignmentOrigin 298 0 38 0 0 0.5) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
392 |
activeHelpKey: handlePosition |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
393 |
resizeForLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
394 |
tabable: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
395 |
model: handlePositionIdx |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
396 |
menu: handlePositionList |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
397 |
useIndex: true |
4595
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
398 |
) |
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
399 |
) |
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
400 |
|
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
401 |
) |
09c632988dad
Add handles to resize VerticalPanel
Stefan Vogel <sv@exept.de>
parents:
4407
diff
changeset
|
402 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
403 |
(FramedBoxSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
404 |
label: 'Visibility' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
405 |
name: 'FramedBox1' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
406 |
layout: (LayoutFrame 0 0.0 287 0 0 1.0 371 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
407 |
labelPosition: topLeft |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
408 |
translateLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
409 |
component: |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
410 |
(SpecCollection |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
411 |
collection: ( |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
412 |
(LabelSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
413 |
label: 'orientation:' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
414 |
name: 'orientation' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
415 |
layout: (AlignmentOrigin 85 0 13 0 1 0.5) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
416 |
activeHelpKey: borderWidth |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
417 |
resizeForLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
418 |
adjust: left |
3892 | 419 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
420 |
(ComboListSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
421 |
name: 'orientationList' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
422 |
layout: (LayoutFrame 85 0 2 0 194 0 24 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
423 |
model: orientation |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
424 |
comboList: orientationList |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
425 |
useIndex: false |
3892 | 426 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
427 |
(LabelSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
428 |
label: 'which:' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
429 |
name: 'visibilityOf' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
430 |
layout: (AlignmentOrigin 248 0 13 0 1 0.5) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
431 |
activeHelpKey: borderWidth |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
432 |
resizeForLabel: true |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
433 |
adjust: left |
3892 | 434 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
435 |
(ComboListSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
436 |
name: 'whichViewList' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
437 |
layout: (LayoutFrame 247 0 2 0 0 1.0 24 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
438 |
model: whichView |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
439 |
comboList: whichViewList |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
440 |
useIndex: false |
3892 | 441 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
442 |
(InputFieldSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
443 |
name: 'visibility' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
444 |
layout: (LayoutFrame 85 0 29 0 0 1.0 51 0) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
445 |
activeHelpKey: canvas |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
446 |
model: visibility |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
447 |
group: inputGroup |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
448 |
acceptChannel: acceptChannel |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
449 |
modifiedChannel: modifiedChannel |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
450 |
acceptOnPointerLeave: false |
3892 | 451 |
) |
5152
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
452 |
(LabelSpec |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
453 |
label: 'visibility:' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
454 |
name: 'visibilityLabel' |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
455 |
layout: (AlignmentOrigin 85 0 40 0 1 0.5) |
6c6716dd6642
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
4912
diff
changeset
|
456 |
resizeForLabel: true |
3892 | 457 |
) |
458 |
) |
|
459 |
||
460 |
) |
|
461 |
) |
|
462 |
) |
|
463 |
||
464 |
) |
|
465 |
) |
|
466 |
! ! |
|
467 |
||
4912 | 468 |
!FileBrowserV2UISpecifications::PanelSpec class methodsFor:'interface-painter'! |
469 |
||
470 |
addBindingsTo:env for:anInstance channel:aChannel |
|
471 |
"add bindings as required to allow the GUI Painter to operate on an instance of me" |
|
472 |
||
473 |
super addBindingsTo:env for:anInstance channel:aChannel. |
|
474 |
||
475 |
self adaptApects:#( visibility ) to:env for:anInstance channel:aChannel converter:#symbolOrNil. |
|
476 |
self adaptApects:#( whichView orientation ) to:env for:anInstance channel:aChannel. |
|
477 |
||
478 |
env at:#whichViewList put:#( #first #last ) asValue. |
|
479 |
env at:#orientationList put:#( #horizontal #vertical ) asValue. |
|
480 |
||
481 |
||
482 |
||
483 |
! ! |
|
484 |
||
3892 | 485 |
!FileBrowserV2UISpecifications::PanelSpec methodsFor:'accessing'! |
486 |
||
487 |
orientation |
|
488 |
"return the value of the instance variable 'orientation' (automatically generated)" |
|
489 |
||
490 |
^ orientation ? #vertical |
|
491 |
! |
|
492 |
||
493 |
orientation:something |
|
494 |
"set the value of the instance variable 'orientation' (automatically generated)" |
|
495 |
something notNil ifTrue:[ |
|
496 |
orientation := something asSymbol |
|
497 |
] ifFalse:[ |
|
498 |
orientation := something. |
|
499 |
] |
|
500 |
! |
|
501 |
||
502 |
visibility |
|
503 |
"return the value of the instance variable 'orientation' (automatically generated)" |
|
504 |
||
505 |
^ visibility |
|
506 |
! |
|
507 |
||
508 |
visibility:something |
|
509 |
"set the value of the instance variable 'visibility' (automatically generated)" |
|
510 |
||
511 |
visibility := something. |
|
512 |
! |
|
513 |
||
514 |
whichView |
|
515 |
"return the value of the instance variable 'whichView' (automatically generated)" |
|
516 |
||
517 |
^ whichView ? #first |
|
518 |
! |
|
519 |
||
520 |
whichView:something |
|
521 |
"set the value of the instance variable 'whichView' (automatically generated)" |
|
522 |
||
523 |
whichView := something. |
|
524 |
! ! |
|
525 |
||
526 |
!FileBrowserV2UISpecifications::PanelSpec methodsFor:'building'! |
|
527 |
||
528 |
aspectSelectors |
|
7920
5fe560f6a741
ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents:
5152
diff
changeset
|
529 |
"add more aspect selectors (these generate aspect methods in the definer)" |
5fe560f6a741
ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents:
5152
diff
changeset
|
530 |
|
3892 | 531 |
|more| |
532 |
||
533 |
more := super aspectSelectors. |
|
534 |
visibility notNil ifTrue:[more add:visibility]. |
|
7920
5fe560f6a741
ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents:
5152
diff
changeset
|
535 |
^ more |
3892 | 536 |
! |
537 |
||
538 |
setAttributesIn:aView with:aBuilder |
|
539 |
"set my attributes to aView |
|
540 |
" |
|
541 |
super setAttributesIn:aView with:aBuilder. |
|
542 |
||
543 |
aView whichView:(self whichView). |
|
544 |
aView orientation:(self orientation). |
|
545 |
aView visibilityHolder:(self getBindingIn:aBuilder binding:visibility). |
|
546 |
||
547 |
||
548 |
||
549 |
! ! |
|
550 |
||
551 |
!FileBrowserV2UISpecifications::PanelSpec methodsFor:'computation'! |
|
552 |
||
553 |
recomputeHandlesIn:aPanel |
|
554 |
|subs isVertical| |
|
555 |
||
556 |
(subs := aPanel subViews) notNil ifTrue:[ |
|
557 |
isVertical := self isVertical. |
|
558 |
^ subs |
|
559 |
collect: |
|
560 |
[:v | |rel| |
|
561 |
rel := v relativeCorner. |
|
562 |
isVertical ifTrue:[ rel y] ifFalse:[ rel x ]. |
|
563 |
] |
|
564 |
]. |
|
565 |
^ nil |
|
566 |
! |
|
567 |
||
568 |
setLayoutsInLayoutContainer:aPanel |
|
569 |
|x y subs isVertical| |
|
570 |
||
571 |
((subs := aPanel subViews) notNil and:[subs size == handles size]) ifTrue:[ |
|
572 |
isVertical := self isVertical. |
|
573 |
y := x := 0.0. |
|
574 |
subs keysAndValuesDo:[:i :v| |
|
575 |
isVertical ifTrue:[ |
|
576 |
v relativeOrigin:(0.0 @ y). |
|
577 |
y := handles at:i. |
|
578 |
v relativeCorner:(1.0 @ y). |
|
579 |
] ifFalse:[ |
|
580 |
v relativeOrigin:(x @ 0.0). |
|
581 |
x := handles at:i. |
|
582 |
v relativeCorner:(x @ 1.0). |
|
583 |
] |
|
584 |
] |
|
585 |
] |
|
586 |
! |
|
587 |
||
588 |
setupInitialLayoutFor:aView |
|
589 |
|superView| |
|
590 |
||
591 |
aView geometryLayout:nil. |
|
592 |
||
593 |
( aView relativeOrigin isNil |
|
594 |
or:[aView relativeExtent isNil |
|
595 |
and:[aView relativeCorner isNil]] |
|
596 |
) ifTrue:[ |
|
597 |
superView := aView superView. |
|
598 |
||
599 |
self isVertical ifTrue:[ |
|
600 |
aView corner:0@0. |
|
601 |
aView origin:0.0@0.0. |
|
602 |
aView extent:1.0@0.3. |
|
603 |
superView notNil ifTrue:[ |
|
604 |
superView setupSubviews. |
|
605 |
superView resizeSubviews. |
|
606 |
] |
|
607 |
] ifFalse:[ |
|
608 |
aView origin:0.0@0.0. |
|
609 |
aView extent:0.3@1.0. |
|
610 |
superView notNil ifTrue:[ |
|
611 |
superView setupSubviews |
|
612 |
] |
|
613 |
] |
|
614 |
] |
|
615 |
! ! |
|
616 |
||
617 |
!FileBrowserV2UISpecifications::PanelSpec methodsFor:'converting'! |
|
618 |
||
619 |
skippedInLiteralEncoding |
|
620 |
|l| |
|
621 |
||
622 |
l := super skippedInLiteralEncoding asOrderedCollection. |
|
623 |
visibility isNil ifTrue:[l add:#visibility]. |
|
624 |
^ l |
|
625 |
! ! |
|
626 |
||
627 |
!FileBrowserV2UISpecifications::PanelSpec methodsFor:'queries'! |
|
628 |
||
629 |
isVertical |
|
630 |
^ self orientation == #vertical |
|
631 |
||
632 |
! |
|
633 |
||
634 |
viewClass |
|
635 |
"return the corresponding view class of the spec" |
|
636 |
||
637 |
^ FileBrowserV2PanelView |
|
638 |
! ! |
|
639 |
||
640 |
!FileBrowserV2UISpecifications class methodsFor:'documentation'! |
|
641 |
||
642 |
version |
|
7920
5fe560f6a741
ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents:
5152
diff
changeset
|
643 |
^ '$Header: /cvs/stx/stx/libtool/FileBrowserV2UISpecifications.st,v 1.6 2008-01-10 13:00:21 cg Exp $' |
3892 | 644 |
! ! |