1
! UIMX ascii 2.0 key: 3518
2
*action.FileSelectACT: {\
4
#include <spec_comm.h>\
6
extern swidget FileListInterface, TextFieldSwidget;\
7
extern Widget FileListWidget;\
8
extern char DirSpecs[];\
11
int strip = 1; /* strip off */\
13
TextFieldSwidget = UxThisWidget;\
15
if ( UxWidget == UxGetWidget(UxFindSwidget("tf_lincat")) ) {\
16
SET_LIST_TITLE("Enter line catalog");\
17
ListType = LIST_LINCAT;\
19
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_guess")) ) {\
20
SET_LIST_TITLE("Enter guess table");\
21
ListType = LIST_GUESS;\
23
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_flux_tbl")) ) {\
24
SET_LIST_TITLE("Enter flux table");\
25
ListType = LIST_FLUX_TBL;\
27
else if ( UxWidget == UxGetWidget(UxFindSwidget("tf_extin_tbl")) ) {\
28
SET_LIST_TITLE("Enter extinction table");\
29
ListType = LIST_EXTIN_TBL;\
32
strcpy(DirSpecs, "*.tbl"); \
33
SetFileList(FileListWidget, strip, DirSpecs);\
34
UxPopupInterface(FileListInterface, exclusive_grab);\
37
*action.ExtendedHelp: {\
38
DisplayExtendedHelp(UxWidget);\
40
*action.HelpShort: {WidgetEnter(UxWidget);}
41
*action.ClearShort: {WidgetLeave(UxWidget);}
43
*translation.table: transTable10
44
*translation.parent: OrderShell
45
*translation.policy: override
46
*translation.<Btn3Down>: FileSelectACT()
48
*translation.table: transTable11
49
*translation.parent: OrderShell
50
*translation.policy: override
51
*translation.<Btn3Down>: ExtendedHelp()
52
*translation.<EnterWindow>: HelpShort()
53
*translation.<LeaveWindow>: ClearShort()
55
*OrderShell.class: transientShell
56
*OrderShell.parent: NO_PARENT
57
*OrderShell.static: true
58
*OrderShell.gbldecl: #include <stdio.h>\
59
#include <ExternResources.h>
60
*OrderShell.ispecdecl:
61
*OrderShell.funcdecl: swidget create_OrderShell()\
63
*OrderShell.funcname: create_OrderShell
64
*OrderShell.funcdef: "swidget", "<create_OrderShell>(%)"
66
*OrderShell.fcode: return(rtrn);\
69
*OrderShell.name: OrderShell
72
*OrderShell.width: 500
73
*OrderShell.height: 344
74
*OrderShell.title: "XEchelle: Order Definition"
75
*OrderShell.geometry: "+10+60"
78
*form27.parent: OrderShell
81
*form27.resizePolicy: "resize_none"
82
*form27.unitType: "pixels"
87
*form27.background: WindowBackground
90
*label61.parent: form27
92
*label61.name: label61
97
*label61.background: LabelBackground
98
*label61.fontList: TextFont
99
*label61.labelString: "Threshold:"
100
*label61.alignment: "alignment_beginning"
101
*label61.foreground: TextForeground
103
*tf_ywidth2.class: textField
104
*tf_ywidth2.parent: form27
105
*tf_ywidth2.static: true
106
*tf_ywidth2.name: tf_ywidth2
109
*tf_ywidth2.width: 82
110
*tf_ywidth2.height: 34
111
*tf_ywidth2.background: TextBackground
112
*tf_ywidth2.fontList: TextFont
113
*tf_ywidth2.highlightOnEnter: "true"
114
*tf_ywidth2.foreground: TextForeground
115
*tf_ywidth2.losingFocusCallback: {\
119
*label62.class: label
120
*label62.parent: form27
121
*label62.static: true
122
*label62.name: label62
127
*label62.background: LabelBackground
128
*label62.fontList: TextFont
129
*label62.labelString: "Slope:"
130
*label62.alignment: "alignment_beginning"
131
*label62.foreground: TextForeground
133
*label63.class: label
134
*label63.parent: form27
135
*label63.static: true
136
*label63.name: label63
141
*label63.background: LabelBackground
142
*label63.fontList: TextFont
143
*label63.labelString: "Number of orders:"
144
*label63.alignment: "alignment_beginning"
145
*label63.foreground: TextForeground
147
*tf_ystep2.class: textField
148
*tf_ystep2.parent: form27
149
*tf_ystep2.static: true
150
*tf_ystep2.name: tf_ystep2
154
*tf_ystep2.height: 34
155
*tf_ystep2.background: TextBackground
156
*tf_ystep2.fontList: TextFont
157
*tf_ystep2.highlightOnEnter: "true"
158
*tf_ystep2.foreground: TextForeground
159
*tf_ystep2.losingFocusCallback: {\
163
*tf_width2.class: textField
164
*tf_width2.parent: form27
165
*tf_width2.static: true
166
*tf_width2.name: tf_width2
170
*tf_width2.height: 34
171
*tf_width2.background: TextBackground
172
*tf_width2.fontList: TextFont
173
*tf_width2.highlightOnEnter: "true"
174
*tf_width2.foreground: TextForeground
175
*tf_width2.losingFocusCallback: {\
179
*rowColumn26.class: rowColumn
180
*rowColumn26.parent: form27
181
*rowColumn26.static: true
182
*rowColumn26.name: rowColumn26
185
*rowColumn26.width: 106
186
*rowColumn26.height: 96
187
*rowColumn26.radioBehavior: "true"
188
*rowColumn26.background: WindowBackground
189
*rowColumn26.entryBorder: 0
190
*rowColumn26.labelString: ""
191
*rowColumn26.shadowThickness: 0
192
*rowColumn26.borderWidth: 0
193
*rowColumn26.entryAlignment: "alignment_beginning"
194
*rowColumn26.adjustLast: "false"
195
*rowColumn26.adjustMargin: "true"
196
*rowColumn26.isAligned: "true"
198
*rb_seamtd_gaus2.class: toggleButton
199
*rb_seamtd_gaus2.parent: rowColumn26
200
*rb_seamtd_gaus2.static: true
201
*rb_seamtd_gaus2.name: rb_seamtd_gaus2
202
*rb_seamtd_gaus2.x: 12
203
*rb_seamtd_gaus2.y: 12
204
*rb_seamtd_gaus2.width: 148
205
*rb_seamtd_gaus2.height: 30
206
*rb_seamtd_gaus2.background: WindowBackground
207
*rb_seamtd_gaus2.fontList: TextFont
208
*rb_seamtd_gaus2.labelString: "Hough"
209
*rb_seamtd_gaus2.set: "true"
210
*rb_seamtd_gaus2.selectColor: SelectColor
211
*rb_seamtd_gaus2.highlightOnEnter: "true"
212
*rb_seamtd_gaus2.valueChangedCallback: {\
215
*rb_seamtd_gaus2.indicatorSize: 16
216
*rb_seamtd_gaus2.foreground: TextForeground
217
*rb_seamtd_gaus2.armCallback: RadioSet ( UxWidget ) ;
218
*rb_seamtd_gaus2.translations: transTable11
220
*rb_seamtd_grav2.class: toggleButton
221
*rb_seamtd_grav2.parent: rowColumn26
222
*rb_seamtd_grav2.static: true
223
*rb_seamtd_grav2.name: rb_seamtd_grav2
224
*rb_seamtd_grav2.x: 5
225
*rb_seamtd_grav2.y: 85
226
*rb_seamtd_grav2.width: 148
227
*rb_seamtd_grav2.height: 30
228
*rb_seamtd_grav2.background: WindowBackground
229
*rb_seamtd_grav2.fontList: TextFont
230
*rb_seamtd_grav2.labelString: "Standard"
231
*rb_seamtd_grav2.selectColor: SelectColor
232
*rb_seamtd_grav2.highlightOnEnter: "true"
233
*rb_seamtd_grav2.valueChangedCallback: {\
236
*rb_seamtd_grav2.indicatorSize: 16
237
*rb_seamtd_grav2.foreground: TextForeground
238
*rb_seamtd_grav2.armCallback: RadioSet ( UxWidget ) ;
239
*rb_seamtd_grav2.translations: transTable11
241
*rb_seamtd_maxi2.class: toggleButton
242
*rb_seamtd_maxi2.parent: rowColumn26
243
*rb_seamtd_maxi2.static: true
244
*rb_seamtd_maxi2.name: rb_seamtd_maxi2
245
*rb_seamtd_maxi2.x: 4
246
*rb_seamtd_maxi2.y: 66
247
*rb_seamtd_maxi2.width: 96
248
*rb_seamtd_maxi2.height: 24
249
*rb_seamtd_maxi2.background: WindowBackground
250
*rb_seamtd_maxi2.fontList: TextFont
251
*rb_seamtd_maxi2.labelString: "Complement"
252
*rb_seamtd_maxi2.selectColor: SelectColor
253
*rb_seamtd_maxi2.highlightOnEnter: "true"
254
*rb_seamtd_maxi2.valueChangedCallback: {\
257
*rb_seamtd_maxi2.indicatorSize: 16
258
*rb_seamtd_maxi2.foreground: TextForeground
259
*rb_seamtd_maxi2.armCallback: RadioSet ( UxWidget ) ;
260
*rb_seamtd_maxi2.translations: transTable11
262
*label64.class: label
263
*label64.parent: form27
264
*label64.static: true
265
*label64.name: label64
270
*label64.background: LabelBackground
271
*label64.fontList: TextFont
272
*label64.labelString: "Method"
273
*label64.alignment: "alignment_center"
274
*label64.foreground: TextForeground
276
*separatorGadget6.class: separatorGadget
277
*separatorGadget6.parent: form27
278
*separatorGadget6.static: true
279
*separatorGadget6.name: separatorGadget6
280
*separatorGadget6.x: 450
281
*separatorGadget6.y: 66
282
*separatorGadget6.width: 12
283
*separatorGadget6.height: 120
284
*separatorGadget6.orientation: "vertical"
286
*separatorGadget7.class: separatorGadget
287
*separatorGadget7.parent: form27
288
*separatorGadget7.static: true
289
*separatorGadget7.name: separatorGadget7
290
*separatorGadget7.x: 314
291
*separatorGadget7.y: 66
292
*separatorGadget7.width: 12
293
*separatorGadget7.height: 120
294
*separatorGadget7.orientation: "vertical"
296
*separatorGadget8.class: separatorGadget
297
*separatorGadget8.parent: form27
298
*separatorGadget8.static: true
299
*separatorGadget8.name: separatorGadget8
300
*separatorGadget8.x: 318
301
*separatorGadget8.y: 64
302
*separatorGadget8.width: 16
303
*separatorGadget8.height: 10
305
*separatorGadget9.class: separatorGadget
306
*separatorGadget9.parent: form27
307
*separatorGadget9.static: true
308
*separatorGadget9.name: separatorGadget9
309
*separatorGadget9.x: 442
310
*separatorGadget9.y: 64
311
*separatorGadget9.width: 14
312
*separatorGadget9.height: 10
314
*tf_thres2.class: textField
315
*tf_thres2.parent: form27
316
*tf_thres2.static: true
317
*tf_thres2.name: tf_thres2
321
*tf_thres2.height: 34
322
*tf_thres2.background: TextBackground
323
*tf_thres2.fontList: TextFont
324
*tf_thres2.highlightOnEnter: "true"
325
*tf_thres2.foreground: TextForeground
326
*tf_thres2.losingFocusCallback: {\
331
*form28.parent: form27
334
*form28.resizePolicy: "resize_none"
339
*form28.background: ButtonBackground
341
*pb_search_search3.class: pushButton
342
*pb_search_search3.parent: form28
343
*pb_search_search3.static: true
344
*pb_search_search3.name: pb_search_search3
345
*pb_search_search3.x: 8
346
*pb_search_search3.y: 4
347
*pb_search_search3.width: 86
348
*pb_search_search3.height: 30
349
*pb_search_search3.background: ButtonBackground
350
*pb_search_search3.fontList: BoldTextFont
351
*pb_search_search3.foreground: ApplyForeground
352
*pb_search_search3.labelString: "Define"
353
*pb_search_search3.activateCallback: {\
354
MidasCommand(UxThisWidget);\
358
*pushButton3.class: pushButton
359
*pushButton3.parent: form28
360
*pushButton3.static: true
361
*pushButton3.name: pushButton3
364
*pushButton3.width: 86
365
*pushButton3.height: 30
366
*pushButton3.background: ButtonBackground
367
*pushButton3.fontList: BoldTextFont
368
*pushButton3.foreground: CancelForeground
369
*pushButton3.labelString: "Cancel"
370
*pushButton3.activateCallback: {\
371
UxPopdownInterface(UxFindSwidget("OrderShell"));\
374
*pb_search_plot3.class: pushButton
375
*pb_search_plot3.parent: form28
376
*pb_search_plot3.static: true
377
*pb_search_plot3.name: pb_search_plot3
378
*pb_search_plot3.x: 102
379
*pb_search_plot3.y: 4
380
*pb_search_plot3.width: 100
381
*pb_search_plot3.height: 30
382
*pb_search_plot3.background: ButtonBackground
383
*pb_search_plot3.fontList: BoldTextFont
384
*pb_search_plot3.foreground: ButtonForeground
385
*pb_search_plot3.labelString: "Load Orders"
386
*pb_search_plot3.activateCallback: {\
387
MidasCommand(UxThisWidget);\
391
*pb_search_plot4.class: pushButton
392
*pb_search_plot4.parent: form28
393
*pb_search_plot4.static: true
394
*pb_search_plot4.name: pb_search_plot4
395
*pb_search_plot4.x: 214
396
*pb_search_plot4.y: 4
397
*pb_search_plot4.width: 86
398
*pb_search_plot4.height: 30
399
*pb_search_plot4.background: ButtonBackground
400
*pb_search_plot4.fontList: BoldTextFont
401
*pb_search_plot4.foreground: ButtonForeground
402
*pb_search_plot4.labelString: "Save..."
403
*pb_search_plot4.activateCallback: {\
404
MidasCommand(UxThisWidget);\
408
*pb_search_plot5.class: pushButton
409
*pb_search_plot5.parent: form28
410
*pb_search_plot5.static: true
411
*pb_search_plot5.name: pb_search_plot5
412
*pb_search_plot5.x: 304
413
*pb_search_plot5.y: 4
414
*pb_search_plot5.width: 86
415
*pb_search_plot5.height: 30
416
*pb_search_plot5.background: ButtonBackground
417
*pb_search_plot5.fontList: BoldTextFont
418
*pb_search_plot5.foreground: ButtonForeground
419
*pb_search_plot5.labelString: "Help..."
420
*pb_search_plot5.activateCallback: {\
421
GetExtendedHelp(UxWidget);\
424
*shelp_search3.class: text
425
*shelp_search3.parent: form27
426
*shelp_search3.static: true
427
*shelp_search3.name: shelp_search3
429
*shelp_search3.y: 222
430
*shelp_search3.width: 484
431
*shelp_search3.height: 50
432
*shelp_search3.background: SHelpBackground
433
*shelp_search3.cursorPositionVisible: "false"
434
*shelp_search3.editable: "false"
435
*shelp_search3.fontList: TextFont
437
*separator22.class: separator
438
*separator22.parent: form27
439
*separator22.static: true
440
*separator22.name: separator22
443
*separator22.width: 492
444
*separator22.height: 10
445
*separator22.background: WindowBackground
447
*separator23.class: separator
448
*separator23.parent: form27
449
*separator23.static: true
450
*separator23.name: separator23
453
*separator23.width: 492
454
*separator23.height: 10
455
*separator23.background: WindowBackground
457
*separatorGadget10.class: separatorGadget
458
*separatorGadget10.parent: form27
459
*separatorGadget10.static: true
460
*separatorGadget10.name: separatorGadget10
461
*separatorGadget10.x: 318
462
*separatorGadget10.y: 180
463
*separatorGadget10.width: 138
464
*separatorGadget10.height: 10
466
*label65.class: label
467
*label65.parent: form27
468
*label65.static: true
469
*label65.name: label65
474
*label65.background: LabelBackground
475
*label65.fontList: TextFont
476
*label65.labelString: "Order width:"
477
*label65.alignment: "alignment_beginning"
478
*label65.foreground: TextForeground
480
*tf_thres3.class: textField
481
*tf_thres3.parent: form27
482
*tf_thres3.static: true
483
*tf_thres3.name: tf_thres3
486
*tf_thres3.width: 212
487
*tf_thres3.height: 34
488
*tf_thres3.background: TextBackground
489
*tf_thres3.fontList: TextFont
490
*tf_thres3.highlightOnEnter: "true"
491
*tf_thres3.foreground: TextForeground
492
*tf_thres3.losingFocusCallback: {\
496
*label66.class: label
497
*label66.parent: form27
498
*label66.static: true
499
*label66.name: label66
504
*label66.background: LabelBackground
505
*label66.fontList: TextFont
506
*label66.labelString: "Order Definition Frame:"
507
*label66.alignment: "alignment_beginning"
508
*label66.foreground: TextForeground
510
*pb_main_search15.class: pushButton
511
*pb_main_search15.parent: form27
512
*pb_main_search15.static: true
513
*pb_main_search15.name: pb_main_search15
514
*pb_main_search15.x: 426
515
*pb_main_search15.y: 14
516
*pb_main_search15.height: 28
517
*pb_main_search15.background: ButtonBackground
518
*pb_main_search15.fontList: BoldTextFont
519
*pb_main_search15.foreground: ButtonForeground
520
*pb_main_search15.labelString: "..."
521
*pb_main_search15.activateCallback: {\
522
SelectList(UxWidget);\
525
*pb_main_search15.recomputeSize: "true"
526
*pb_main_search15.width: 46