~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/clients/qmon/qmon_pe.ad

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
!!___INFO__MARK_BEGIN__
 
2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
3
!!
 
4
!!  The Contents of this file are made available subject to the terms of
 
5
!!  the Sun Industry Standards Source License Version 1.2
 
6
!!
 
7
!!  Sun Microsystems Inc., March, 2001
 
8
!!
 
9
!!
 
10
!!  Sun Industry Standards Source License Version 1.2
 
11
!!  =================================================
 
12
!!  The contents of this file are subject to the Sun Industry Standards
 
13
!!  Source License Version 1.2 (the "License"); You may not use this file
 
14
!!  except in compliance with the License. You may obtain a copy of the
 
15
!!  License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
 
16
!!
 
17
!!  Software provided under this License is provided on an "AS IS" basis,
 
18
!!  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
 
19
!!  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 
20
!!  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 
21
!!  See the License for the specific provisions governing your rights and
 
22
!!  obligations concerning the Software.
 
23
!!
 
24
!!  The Initial Developer of the Original Code is: Sun Microsystems, Inc.
 
25
!!
 
26
!!  Copyright: 2001 by Sun Microsystems, Inc.
 
27
!!
 
28
!!  All Rights Reserved.
 
29
!!
 
30
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
31
!!___INFO__MARK_END__
 
32
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
33
!! Parallel Environment Configuration
 
34
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
35
Qmon*qmon_pe.xmtChildren:  unmanaged XmtLayout pe_layout;
 
36
 
 
37
Qmon*qmon_pe.pe_layout.autoUnmanage:  False
 
38
Qmon*qmon_pe.pe_layout.resizePolicy:  RESIZE_NONE
 
39
Qmon*qmon_pe.pe_layout.dialogTitle:  @{QMON  +++  Parallel Environment Configuration}
 
40
!Qmon*qmon_pe.pe_layout.fontList:   $dialog_font
 
41
 
 
42
Qmon*qmon_pe.pe_layout.xmtChildren: \
 
43
   XmPushButton   pe_main_link; \
 
44
   XmScrolledList pe_names, pe_conf_list; \
 
45
   XmPushButton   pe_delete, pe_add, pe_modify, pe_done, pe_help;
 
46
 
 
47
Qmon*qmon_pe.pe_layout.layout: \
 
48
   Fixed Shadowed Out 4 2 LREvenSpaced Row peconfig_title { \
 
49
      Fixed Centered pe_main_link \
 
50
      Centered Color "$title_fg" "@{@fBParallel Environment Configuration}" \
 
51
   } \
 
52
   # \
 
53
   Row { \
 
54
      Caption tl "@{PE List}" 2 in pe_names \
 
55
      Caption tl "@{Configuration}" 5 in pe_conf_list \
 
56
      Fixed Shadowed Col { \
 
57
         Fixed pe_add \
 
58
         Fixed pe_modify \
 
59
         Fixed pe_delete \
 
60
         Fixed pe_done \
 
61
         Fixed pe_help \
 
62
      } \
 
63
   }
 
64
 
 
65
Qmon*qmon_pe.pe_layout.pe_main_link.labelType:   PIXMAP
 
66
Qmon*qmon_pe.pe_layout.pe_main_link.labelPixmap: logo
 
67
Qmon*qmon_pe.pe_layout.pe_main_link.shadowThickness:    1
 
68
Qmon*qmon_pe.pe_layout.pe_main_link.highlightThickness: 0
 
69
Qmon*qmon_pe.pe_layout.pe_main_link.marginHeight:       0
 
70
Qmon*qmon_pe.pe_layout.pe_main_link.marginWidth:        0
 
71
 
 
72
Qmon*qmon_pe.pe_layout.pe_delete.labelString:    @{Delete}
 
73
Qmon*qmon_pe.pe_layout.pe_add.labelString:       @{Add}
 
74
Qmon*qmon_pe.pe_layout.pe_modify.labelString:    @{Modify}
 
75
Qmon*qmon_pe.pe_layout.pe_done.labelString:      @{Done}
 
76
Qmon*qmon_pe.pe_layout.pe_help.labelString:      @{Help}
 
77
 
 
78
!! We can't directly specify the parent of pe_names or pe_conf_list
 
79
Qmon*qmon_pe.pe_layout*scrollBarDisplayPolicy:          AS_NEEDED
 
80
Qmon*qmon_pe.pe_layout*listSizePolicy:                  CONSTANT
 
81
 
 
82
Qmon*qmon_pe.pe_layout*pe_names.fontList:               $fixed_font
 
83
Qmon*qmon_pe.pe_layout*pe_names.selectionPolicy:        BROWSE_SELECT
 
84
Qmon*qmon_pe.pe_layout*pe_names.visibleItemCount:       8
 
85
 
 
86
Qmon*qmon_pe.pe_layout*pe_conf_list.fontList:           $fixed_font
 
87
Qmon*qmon_pe.pe_layout*pe_conf_list.selectionPolicy:    BROWSE_SELECT
 
88
Qmon*qmon_pe.pe_layout*pe_conf_list.visibleItemCount:   8
 
89
 
 
90
Qmon*pe_help.activateCallback:   XmtHelpDisplayContextHelp(self);
 
91
 
 
92
 
 
93
 
 
94
Qmon*pe_ask_shell.xmtChildren: unmanaged XmtLayout pe_ask_layout;
 
95
 
 
96
Qmon*pe_ask_shell.pe_ask_layout.autoUnmanage:  False
 
97
Qmon*pe_ask_shell.pe_ask_layout.resizePolicy:  RESIZE_NONE
 
98
Qmon*pe_ask_shell.pe_ask_layout.dialogTitle:   @{Add/Modify PE}
 
99
Qmon*pe_ask_shell.pe_ask_layout.fontList:      $dialog_font
 
100
 
 
101
Qmon*pe_ask_shell.pe_ask_layout.XmtInputField.marginWidth:       2
 
102
Qmon*pe_ask_shell.pe_ask_layout.XmtInputField.marginHeight:      2
 
103
 
 
104
Qmon*pe_ask_shell.pe_ask_layout.xmtChildren: \
 
105
   InputField     pe_name; \
 
106
   Spinbox        pe_slots; \
 
107
   XmScrolledList pe_users; \
 
108
   XmScrolledList pe_xusers; \
 
109
   InputField     pe_start_proc_args; \
 
110
   InputField     pe_stop_proc_args; \
 
111
   InputField     pe_allocation_rule; \
 
112
   InputField     pe_urgency_slots; \
 
113
   InputField     pe_qsort_args; \
 
114
   XmToggleButton pe_control_slaves; \
 
115
   XmToggleButton pe_job_is_first_task; \
 
116
   XmToggleButton pe_accounting_summary; \
 
117
   XmPushButton   pe_ok, pe_cancel, pe_usersPB, pe_xusersPB;
 
118
 
 
119
Qmon*pe_ask_layout.layout: \
 
120
   Row { \
 
121
      Shadowed Col { \
 
122
         Fixed Row { \
 
123
            Centered Caption "@{Name}" pe_name \
 
124
            Centered Caption "@{Slots}" pe_slots \
 
125
         } \
 
126
         Equal Row { \
 
127
            Row { \
 
128
               Stretchable Caption tl "@{User Lists}" 2 in pe_users \
 
129
               Fixed Centered pe_usersPB \
 
130
            } \
 
131
            Row { \
 
132
               Stretchable Caption tl "@{Xuser Lists}" 2 in pe_xusers \
 
133
               Fixed Centered pe_xusersPB \
 
134
            } \
 
135
         } \
 
136
         Fixed Caption tl "@{Start Proc Args}" pe_start_proc_args \
 
137
         Fixed Caption tl "@{Stop Proc Args} " pe_stop_proc_args \
 
138
         Fixed Caption tl "@{Allocation Rule}" pe_allocation_rule \
 
139
         Fixed Caption tl "@{Urgency Slots}" pe_urgency_slots \
 
140
         Row { \
 
141
            Fixed pe_control_slaves \
 
142
            Fixed pe_job_is_first_task \
 
143
            Fixed pe_accounting_summary \
 
144
         } \
 
145
         Fixed Caption tl "@{Qsort Args} " pe_qsort_args \
 
146
      } \
 
147
      Fixed Shadowed Col { \
 
148
         Fixed pe_ok \
 
149
         Fixed pe_cancel \
 
150
      } \
 
151
   }
 
152
 
 
153
Qmon*pe_ask_layout.pe_control_slaves.alignment: ALIGNMENT_BEGINNING
 
154
Qmon*pe_ask_layout.pe_control_slaves.labelString: @{@fBControl Slaves}
 
155
 
 
156
Qmon*pe_ask_layout.pe_job_is_first_task.alignment: ALIGNMENT_BEGINNING
 
157
Qmon*pe_ask_layout.pe_job_is_first_task.labelString: @{@fBJob is first task}
 
158
 
 
159
Qmon*pe_ask_layout.pe_accounting_summary.alignment: ALIGNMENT_BEGINNING
 
160
Qmon*pe_ask_layout.pe_accounting_summary.labelString: @{@fBAccounting Summary}
 
161
 
 
162
Qmon*pe_ask_layout.pe_ok.labelString:     @{Ok}
 
163
Qmon*pe_ask_layout.pe_cancel.labelString: @{Cancel}
 
164
 
 
165
Qmon*pe_ask_layout.pe_slots.buttonSizeFixed:   True
 
166
Qmon*pe_ask_layout.pe_slots.minimum:           0
 
167
Qmon*pe_ask_layout.pe_slots.maximum:           10000000
 
168
Qmon*pe_ask_layout.pe_slots.spinboxStyle:      SPINBOX_STACKED_RIGHT
 
169
 
 
170
Qmon*pe_ask_layout*scrollBarDisplayPolicy:     AS_NEEDED
 
171
Qmon*pe_ask_layout*listSizePolicy:             CONSTANT
 
172
 
 
173
Qmon*pe_ask_layout*pe_users.selectionPolicy:   BROWSE_SELECT
 
174
Qmon*pe_ask_layout*pe_users.visibleItemCount:  5
 
175
 
 
176
Qmon*pe_ask_layout*pe_xusers.selectionPolicy:  BROWSE_SELECT
 
177
Qmon*pe_ask_layout*pe_xusers.visibleItemCount: 5
 
178
 
 
179
Qmon*pe_ask_layout.pe_queuesPB.labelType:      PIXMAP
 
180
Qmon*pe_ask_layout.pe_queuesPB.labelPixmap:    qask
 
181
Qmon*pe_ask_layout.pe_queuesPB.labelInsensitivePixmap:    qask
 
182
Qmon*pe_ask_layout.pe_usersPB.labelType:       PIXMAP
 
183
Qmon*pe_ask_layout.pe_usersPB.labelPixmap:     aclask
 
184
Qmon*pe_ask_layout.pe_xusersPB.labelType:      PIXMAP
 
185
Qmon*pe_ask_layout.pe_xusersPB.labelPixmap:    aclask
 
186