1 !######################################################################
5 !# Dialog description file for the dtcreate client.
7 !# Hewlett-Packard Visual User Environment
9 !# Copyright (c) 1990 Hewlett-Packard Company
11 !# $XConsortium: dtcreate.ddf /main/3 1995/11/01 16:12:22 rswiston $
13 !######################################################################
15 ! The dialogs defined in this file are used by dtcreate. To display
16 ! the main Create Action dialog:
17 ! 1) Open the General toolbox from the tools slide-up
19 ! 2) Open the Utilities container.
20 ! 3) Double-click the CreateAction icon.
23 ! In this block, localize title and helpTitle. If the online help has
24 ! been localized, the helpLocation resource may also require localization.
26 createAction.type: CustomFormDialog
27 createAction.useApplicationShell: True
28 createAction.title: %|nls-1-#Create Action#|
29 createAction.helpTitle: %|nls-2-#Create Action - Help#|
30 createAction.helpType: Topic
31 createAction.helpVolume: Dtmisc
32 createAction.helpLocation: ToUseMakeActionTA
33 createAction.hasInitialFocus: name
35 createAction.dialogButtons: apply,close,help
36 createAction.subfields: \
38 commandLineLabel,commandLine,\
42 largeIconLabel,largeIcon,\
43 smallIconLabel,smallIcon,\
44 descriptionLabel,description
47 ! In this block, localize label.
49 createAction.apply.label: %|nls-5-#Apply#|
50 createAction.apply.isDefault: True
51 createAction.apply.action: f.returnValues
54 ! In this block, localize label.
56 createAction.close.label: %|nls-6-#Close#|
57 createAction.close.isDefault: False
58 createAction.close.action: f.returnValues
61 ! In this block, localize label.
63 createAction.help.label: %|nls-7-#Help#|
64 createAction.help.isDefault: False
65 createAction.help.action: f.help
68 ! In this block, localize label.
70 createAction.nameLabel.type: LabelField
71 createAction.nameLabel.topOffset: 20
72 createAction.nameLabel.leftOffset: 20
73 createAction.nameLabel.topAttachment: XmATTACH_FORM
74 createAction.nameLabel.leftAttachment: XmATTACH_FORM
75 createAction.nameLabel.label: %|nls-10-#Name:#|
77 createAction.name.type: TextField
78 createAction.name.crMovesToNextTextField: True
79 createAction.name.topAttachment: XmATTACH_OPPOSITE_WIDGET
80 createAction.name.topWidget: nameLabel
81 createAction.name.topOffset: -7
82 createAction.name.leftAttachment: XmATTACH_WIDGET
83 createAction.name.leftWidget: nameLabel
84 createAction.name.leftOffset: 10
85 createAction.name.rightAttachment: XmATTACH_FORM
86 createAction.name.rightOffset: 10
89 ! In this block, localize label.
91 createAction.commandLineLabel.type: LabelField
92 createAction.commandLineLabel.topOffset: 20
93 createAction.commandLineLabel.leftOffset: 20
94 createAction.commandLineLabel.topAttachment: XmATTACH_WIDGET
95 createAction.commandLineLabel.topWidget: nameLabel
96 createAction.commandLineLabel.leftAttachment: XmATTACH_FORM
97 createAction.commandLineLabel.label: %|nls-11-#Command Line:#|
99 createAction.commandLine.type: TextField
100 createAction.commandLine.crMovesToNextTextField: True
101 createAction.commandLine.lines: 1
102 createAction.commandLine.topAttachment: XmATTACH_WIDGET
103 createAction.commandLine.topWidget: commandLineLabel
104 createAction.commandLine.topOffset: 5
105 createAction.commandLine.leftAttachment: XmATTACH_FORM
106 createAction.commandLine.leftOffset: 40
107 createAction.commandLine.rightAttachment: XmATTACH_FORM
108 createAction.commandLine.rightOffset: 10
111 ! In this block, localize label, xWin.label, noOut.label,
112 ! term.label, and termClose.label
114 createAction.commandType.type: OptionMenuField
115 createAction.commandType.topAttachment: XmATTACH_WIDGET
116 createAction.commandType.topWidget: commandLine
117 createAction.commandType.topOffset: 20
118 createAction.commandType.leftAttachment: XmATTACH_FORM
119 createAction.commandType.leftOffset: 20
120 createAction.commandType.rightAttachment: XmATTACH_FORM
121 createAction.commandType.rightOffset: 10
122 createAction.commandType.label: %|nls-12-#Window Type:#|
123 createAction.commandType.options: xWin,noOut,term,termClose
124 createAction.commandType.xWin.label: %|nls-13-#X Windows#|
125 createAction.commandType.noOut.label: %|nls-14-#No Output#|
126 createAction.commandType.term.label: %|nls-15-#Terminal#|
127 createAction.commandType.termClose.label: %|nls-16-#Terminal (auto-close)#|
128 createAction.commandType.active: term
129 createAction.commandType.spacing: 35
132 ! In this block, localize label
134 createAction.optLabel.type: LabelField
135 createAction.optLabel.topOffset: 30
136 createAction.optLabel.leftOffset: 100
137 createAction.optLabel.topAttachment: XmATTACH_WIDGET
138 createAction.optLabel.topWidget: commandType
139 createAction.optLabel.leftAttachment: XmATTACH_FORM
140 createAction.optLabel.label: %|nls-17-#Optional Fields#|
142 createAction.sep1.type: SeparatorField
143 createAction.sep1.orientation: Horizontal
144 createAction.sep1.separatorType: SHADOW_ETCHED_OUT
145 createAction.sep1.topAttachment: XmATTACH_OPPOSITE_WIDGET
146 createAction.sep1.topWidget: optLabel
147 createAction.sep1.topOffset: 10
148 createAction.sep1.leftAttachment: XmATTACH_FORM
149 createAction.sep1.rightAttachment: XmATTACH_WIDGET
150 createAction.sep1.rightWidget: optLabel
151 createAction.sep1.rightOffset: 5
153 createAction.sep2.type: SeparatorField
154 createAction.sep2.orientation: Horizontal
155 createAction.sep2.separatorType: SHADOW_ETCHED_OUT
156 createAction.sep2.topAttachment: XmATTACH_OPPOSITE_WIDGET
157 createAction.sep2.topWidget: optLabel
158 createAction.sep2.topOffset: 10
159 createAction.sep2.leftAttachment: XmATTACH_WIDGET
160 createAction.sep2.leftWidget: optLabel
161 createAction.sep2.leftOffset: 5
162 createAction.sep2.rightAttachment: XmATTACH_FORM
165 ! In this block, localize label
167 createAction.promptLabel.type: LabelField
168 createAction.promptLabel.topOffset: 20
169 createAction.promptLabel.leftOffset: 20
170 createAction.promptLabel.topAttachment: XmATTACH_WIDGET
171 createAction.promptLabel.topWidget: optLabel
172 createAction.promptLabel.leftAttachment: XmATTACH_FORM
173 createAction.promptLabel.label: %|nls-18-#Filename Prompt:#|
175 createAction.prompt.type: TextField
176 createAction.prompt.crMovesToNextTextField: True
177 createAction.prompt.lines: 1
178 createAction.prompt.topAttachment: XmATTACH_WIDGET
179 createAction.prompt.topWidget: promptLabel
180 createAction.prompt.topOffset: 5
181 createAction.prompt.leftAttachment: XmATTACH_FORM
182 createAction.prompt.leftOffset: 40
183 createAction.prompt.rightAttachment: XmATTACH_FORM
184 createAction.prompt.rightOffset: 10
187 ! In this block, localize label
189 createAction.largeIconLabel.type: LabelField
190 createAction.largeIconLabel.topOffset: 30
191 createAction.largeIconLabel.leftOffset: 20
192 createAction.largeIconLabel.topAttachment: XmATTACH_WIDGET
193 createAction.largeIconLabel.topWidget: prompt
194 createAction.largeIconLabel.leftAttachment: XmATTACH_FORM
195 createAction.largeIconLabel.label: %|nls-19-#Large Icon:#|
197 createAction.largeIcon.type: TextField
198 createAction.largeIcon.crMovesToNextTextField: True
199 createAction.largeIcon.topAttachment: XmATTACH_OPPOSITE_WIDGET
200 createAction.largeIcon.topWidget: largeIconLabel
201 createAction.largeIcon.topOffset: -7
202 createAction.largeIcon.leftAttachment: XmATTACH_WIDGET
203 createAction.largeIcon.leftWidget: largeIconLabel
204 createAction.largeIcon.leftOffset: 20
205 createAction.largeIcon.rightAttachment: XmATTACH_FORM
206 createAction.largeIcon.rightOffset: 10
209 ! In this block, localize label
211 createAction.smallIconLabel.type: LabelField
212 createAction.smallIconLabel.topOffset: 20
213 createAction.smallIconLabel.leftOffset: 20
214 createAction.smallIconLabel.topAttachment: XmATTACH_WIDGET
215 createAction.smallIconLabel.topWidget: largeIconLabel
216 createAction.smallIconLabel.leftAttachment: XmATTACH_FORM
217 createAction.smallIconLabel.label: %|nls-20-#Small Icon:#|
219 createAction.smallIcon.type: TextField
220 createAction.smallIcon.topAttachment: XmATTACH_OPPOSITE_WIDGET
221 createAction.smallIcon.topWidget: smallIconLabel
222 createAction.smallIcon.topOffset: -7
223 createAction.smallIcon.leftAttachment: XmATTACH_OPPOSITE_WIDGET
224 createAction.smallIcon.leftWidget: largeIcon
225 createAction.smallIcon.rightAttachment: XmATTACH_FORM
226 createAction.smallIcon.rightOffset: 10
229 ! In this block, localize label
231 createAction.descriptionLabel.type: LabelField
232 createAction.descriptionLabel.topOffset: 20
233 createAction.descriptionLabel.leftOffset: 20
234 createAction.descriptionLabel.topAttachment: XmATTACH_WIDGET
235 createAction.descriptionLabel.topWidget: smallIconLabel
236 createAction.descriptionLabel.leftAttachment: XmATTACH_FORM
237 createAction.descriptionLabel.label: %|nls-21-#Description:#|
239 createAction.description.type: TextField
240 createAction.description.lines: 4
241 createAction.description.topAttachment: XmATTACH_WIDGET
242 createAction.description.topWidget: descriptionLabel
243 createAction.description.topOffset: 5
244 createAction.description.leftAttachment: XmATTACH_FORM
245 createAction.description.leftOffset: 40
246 createAction.description.rightAttachment: XmATTACH_FORM
247 createAction.description.rightOffset: 10
248 createAction.description.bottomAttachment: XmATTACH_FORM
249 createAction.description.bottomOffset: 20
252 ! To display this dialog:
253 ! 1. Run CreateAction
254 ! 2. Type something in the 'Command Line:' field but not
258 ! In this block, localize title, ok.label, and message.
260 noName.type: ErrorDialog
261 noName.title: %|nls-3-#Create Action - Error#|
262 noName.helpTitle: %|nls-2-#Create Action - Help#|
263 noName.helpType: Topic
264 noName.helpVolume: Dtmisc
265 noName.helpLocation: ToUseMakeActionTA
266 noName.dialogButtons: ok
267 noName.ok.label: %|nls-8-#OK#|
268 noName.ok.isDefault: True
269 noName.ok.action: f.unpost
270 noName.message: %|nls-22-#You must supply a name....#|
273 ! To display this dialog:
274 ! 1. Run CreateAction
275 ! 2. Type something in the 'Name:' field but not
276 ! the 'Command Line:' field.
279 ! In this block, localize title, ok.label, and message.
281 noExecString.type: ErrorDialog
282 noExecString.title: %|nls-3-#Create Action - Error#|
283 noExecString.helpTitle: %|nls-2-#Create Action - Help#|
284 noExecString.helpType: Topic
285 noExecString.helpVolume: Dtmisc
286 noExecString.helpLocation: ToUseMakeActionTA
287 noExecString.dialogButtons: ok
288 noExecString.ok.label: %|nls-8-#OK#|
289 noExecString.ok.isDefault: True
290 noExecString.ok.action: f.unpost
291 noExecString.message: %|nls-23-#You must supply a command....#|
294 ! To display this dialog:
295 ! 1. Run CreateAction
296 ! 2. Do not type in anything
299 ! In this block, localize title, ok.label, and message.
301 noNameOrExec.type: ErrorDialog
302 noNameOrExec.title: %|nls-3-#Create Action - Error#|
303 noNameOrExec.helpTitle: %|nls-2-#Create Action - Help#|
304 noNameOrExec.helpType: Topic
305 noNameOrExec.helpVolume: Dtmisc
306 noNameOrExec.helpLocation: ToUseMakeActionTA
307 noNameOrExec.dialogButtons: ok
308 noNameOrExec.ok.label: %|nls-8-#OK#|
309 noNameOrExec.ok.isDefault: True
310 noNameOrExec.ok.action: f.unpost
311 noNameOrExec.message: \
312 %|nls-24-#You must supply a name and....#|
316 ! To display this dialog:
317 ! 1. Run CreateAction
318 ! 2. Type something in the 'Name:' field that contains
322 ! In this block, localize title, ok.label, and message.
324 foundBlank.type: ErrorDialog
325 foundBlank.title: %|nls-3-#Create Action - Error#|
326 foundBlank.helpTitle: %|nls-2-#Create Action - Help#|
327 foundBlank.helpType: Topic
328 foundBlank.helpVolume: Dtmisc
329 foundBlank.helpLocation: ToUseMakeActionTA
330 foundBlank.dialogButtons: ok
331 foundBlank.ok.label: %|nls-8-#OK#|
332 foundBlank.ok.isDefault: True
333 foundBlank.ok.action: f.unpost
334 foundBlank.message: %|nls-25-#The action name....#|
337 ! To display this dialog:
338 ! 1. Run CreateAction
339 ! 2. Type something longer than 11 characters in the 'Name:' field.
340 ! 3. Type something in the 'Command Line:' field.
343 ! In this block, localize title, ok.label, cancel.label, and message.
345 longName.type: WarningDialog
346 longName.title: %|nls-4-#Create Action - Warning#|
347 longName.helpTitle: %|nls-2-#Create Action - Help#|
348 longName.helpType: Topic
349 longName.helpVolume: Dtmisc
350 longName.helpLocation: ToUseMakeActionTA
351 longName.dialogButtons: ok,cancel
352 longName.ok.label: %|nls-8-#OK#|
353 longName.ok.isDefault: True
354 longName.ok.action: f.unpost
355 longName.cancel.label: %|nls-9-#Cancel#|
356 longName.cancel.action: f.unpost
358 %|nls-26-#The following action name....#|
361 ! To display this dialog:
362 ! 1. Run CreateAction
363 ! 2. Fill out the 'Name:' field.
364 ! 3. Type 'foo | bar' in the 'Command Line:' field.
367 ! In this block, localize title, ok.label, and message.
369 needShell.type: ErrorDialog
370 needShell.title: %|nls-3-#Create Action - Error#|
371 needShell.helpTitle: %|nls-2-#Create Action - Help#|
372 needShell.helpType: Topic
373 needShell.helpVolume: Dtmisc
374 needShell.helpLocation: ToUseMakeActionTA
375 needShell.dialogButtons: ok
376 needShell.ok.label: %|nls-8-#OK#|
377 needShell.ok.isDefault: True
378 needShell.ok.action: f.unpost
380 %|nls-27-#The command line for your....#|
384 ! To display this dialog:
385 ! 1. Run CreateAction
386 ! 2. Fill out the 'Name:' field.
387 ! 3. Type 'echo $*' in the 'Command Line:' field.
388 ! 4. Type 'Quote "' in the 'Filename Prompt:' field.
391 ! In this block, localize title, ok.label, and message.
393 promptQuote.type: ErrorDialog
394 promptQuote.title: %|nls-3-#Create Action - Error#|
395 promptQuote.helpTitle: %|nls-2-#Create Action - Help#|
396 promptQuote.helpType: Topic
397 promptQuote.helpVolume: Dtmisc
398 promptQuote.helpLocation: ToUseMakeActionTA
399 promptQuote.dialogButtons: ok
400 promptQuote.ok.label: %|nls-8-#OK#|
401 promptQuote.ok.isDefault: True
402 promptQuote.ok.action: f.unpost
403 promptQuote.message: \
404 %|nls-28-#The 'Filename Prompt:' field....#|
407 ! To display this dialog:
408 ! 1. Run CreateAction
409 ! 2. Fill out the 'Name:' field.
410 ! 3. Type 'echo hi' in the 'Command Line:' field.
411 ! 4. Type 'Filename:' in the 'Filename Prompt:' field.
414 ! In this block, localize title, ok.label, and message.
416 unusedPrompt.type: ErrorDialog
417 unusedPrompt.title: %|nls-3-#Create Action - Error#|
418 unusedPrompt.helpTitle: %|nls-2-#Create Action - Help#|
419 unusedPrompt.helpType: Topic
420 unusedPrompt.helpVolume: Dtmisc
421 unusedPrompt.helpLocation: ToUseMakeActionTA
422 unusedPrompt.dialogButtons: ok
423 unusedPrompt.ok.label: %|nls-8-#OK#|
424 unusedPrompt.ok.isDefault: True
425 unusedPrompt.ok.action: f.unpost
426 unusedPrompt.message: \
427 %|nls-29-#The cmd line must use....#|
431 ! To display this dialog:
432 ! 1. Touch $HOME/.dt/types/test.vf
433 ! 2. chmod 444 $HOME/.dt/types/test.vf
434 ! 3. Run CreateAction
435 ! 4. Type 'test' in the 'Name:' field.
436 ! 5. Type 'echo hi' in the 'Command Line:' field.
439 ! In this block, localize title, ok.label, and message
441 notWritable.type: ErrorDialog
442 notWritable.title: %|nls-3-#Create Action - Error#|
443 notWritable.helpTitle: %|nls-2-#Create Action - Help#|
444 notWritable.helpType: Topic
445 notWritable.helpVolume: Dtmisc
446 notWritable.helpLocation: ToUseMakeActionTA
447 notWritable.dialogButtons: ok
448 notWritable.ok.label: %|nls-8-#OK#|
449 notWritable.ok.isDefault: True
450 notWritable.ok.action: f.unpost
451 notWritable.message: \
452 %|nls-30-#The following action definition....#|
455 ! To display this dialog:
456 ! 1. rm $HOME/.dt/types/test.vf $HOME/.dt/types/tools/test
457 ! 2. Run CreateAction
458 ! 3. Type 'test' in the 'Name:' field.
459 ! 4. Type 'echo hi' in the 'Command Line:' field.
462 ! In this block, localize title, ok.label, and message.
464 actionExists.type: InformationDialog
465 actionExists.title: %|nls-1-#Create Action#|
466 actionExists.helpTitle: %|nls-2-#Create Action - Help#|
467 actionExists.helpType: Topic
468 actionExists.helpVolume: Dtmisc
469 actionExists.helpLocation: ToUseMakeActionTA
470 actionExists.dialogButtons: ok
471 actionExists.ok.label: %|nls-8-#OK#|
472 actionExists.ok.isDefault: True
473 actionExists.ok.action: f.unpost
474 actionExists.message: \
475 %|nls-32-#You have defined....#|\
477 %|nls-33-#If you are running....#|
480 ! To display this dialog:
481 ! 1. rm $HOME/.dt/types/test.vf
482 ! 2. touch $HOME/.dt/types/tools/test
483 ! 3. chmod 444 $HOME/.dt/types/tools/test
484 ! 4. Run CreateAction
485 ! 5. Type 'test' in the 'Name:' field.
486 ! 6. Type 'echo hi' in the 'Command Line:' field.
489 ! In this block, localize title, ok.label, and message
491 actionDoesntExist.type: InformationDialog
492 actionDoesntExist.title: %|nls-1-#Create Action#|
493 actionDoesntExist.helpTitle: %|nls-2-#Create Action - Help#|
494 actionDoesntExist.helpType: Topic
495 actionDoesntExist.helpVolume: Dtmisc
496 actionDoesntExist.helpLocation: ToUseMakeActionTA
497 actionDoesntExist.dialogButtons: ok
498 actionDoesntExist.ok.label: %|nls-8-#OK#|
499 actionDoesntExist.ok.isDefault: True
500 actionDoesntExist.ok.action: f.unpost
501 actionDoesntExist.message: \
502 %|nls-32-#You have defined....#|\
504 %|nls-31-#An icon for this action....#|