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