1
!!___INFO__MARK_BEGIN__
2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
4
!! The Contents of this file are made available subject to the terms of
5
!! the Sun Industry Standards Source License Version 1.2
7
!! Sun Microsystems Inc., March, 2001
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
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.
24
!! The Initial Developer of the Original Code is: Sun Microsystems, Inc.
26
!! Copyright: 2001 by Sun Microsystems, Inc.
28
!! All Rights Reserved.
30
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
32
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
33
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
34
Qmon*qmon_tov.xmtType: TopLevelShell
35
Qmon*qmon_tov.allowShellResize: True
37
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
38
!! Ticket Overview Layout
39
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
40
Qmon*tov_layout.autoUnmanage: False
41
Qmon*tov_layout.dialogTitle: @{QMON +++ Policy Configuration}
42
!Qmon*tov_layout.fontList: $dialog_font
44
Qmon*tov_layout.xmtChildren: \
45
XmPushButton tov_main_link; \
46
InputField weight_deadline=weight_deadline, \
47
weight_urgency=weight_urgency, \
48
weight_priority=weight_priority, \
49
weight_ticket=weight_ticket, \
50
weight_waiting_time=weight_waiting_time, \
51
policy_hierarchy = policy_hierarchy; \
52
Ulong32Field share_tree_tickets_field = total_share_tree_tickets, \
53
functional_tickets_field = total_functional_tickets; \
54
Label share_tree_tickets_label = label_share_tree_tickets, \
55
functional_tickets_label = label_functional_tickets, \
56
override_tickets_label = override_tickets; \
57
XmPushButton tov_users_for_deadline, tov_share_tree_policy, \
58
tov_functional_policy, tov_override_policy, \
59
tov_done, tov_apply, tov_update, tov_help; \
60
XmtMsgLine tov_message;\
61
XmToggleButton share_override_ticket = share_override_ticket, \
62
report_pjob_tickets = report_pjob_tickets, \
63
share_functional_ticket = share_functional_ticket; \
64
Spinbox max_pending_tasks_per_job = max_pending_tasks_per_job, \
65
max_functional_jobs = max_functional_jobs;
67
Qmon*tov_layout.layout: \
68
Fixed Shadowed Out 4 2 LREvenSpaced Row tovcontrol_title { \
69
Fixed Centered tov_main_link \
70
Centered Color "$title_fg" "@{@fBPolicy Configuration}" \
75
FlushLeft Color "blue" "@{@fBPolicy Importance Factor}" \
78
Caption tl "@{Priority}" weight_priority \
81
Caption tl "@{Urgency}" weight_urgency \
84
Caption tl "@{Ticket}" weight_ticket \
90
FlushLeft Color "blue" "@{@fBUrgency Policy}" \
91
Caption tl "@{Weight Deadline}" \
93
Caption tl "@{Weight Waiting Time}" \
98
FlushLeft Color "blue" "@{@fBTicket Policy}" \
102
FlushLeft "@{Current Active Tickets}" \
104
Caption tl "@{@fIShare Tree Tickets}" share_tree_tickets_label \
105
Caption tl "@{@fIFunctional Tickets}" functional_tickets_label \
106
Caption tl "@{@fIOverride Tickets}" override_tickets_label \
111
FlushLeft "@{Edit Tickets}" \
113
Caption tl "@{@fITotal Share Tree Tickets}" share_tree_tickets_field \
114
Caption tl "@{@fITotal Functional Tickets}" functional_tickets_field \
118
share_override_ticket \
119
share_functional_ticket \
120
report_pjob_tickets \
121
Caption tl "@{Maximum Functional Jobs}" \
122
Row { max_functional_jobs <> } \
123
Caption tl "@{Maximum Pending Tasks Per Job}" \
124
Row { max_pending_tasks_per_job <> }\
125
Caption tl "@{Ticket Policy Hierarchy}" \
130
tov_users_for_deadline \
131
tov_share_tree_policy \
132
tov_functional_policy \
133
tov_override_policy \
136
Fixed Shadowed Out Col { \
147
Qmon*tov_layout.tov_main_link.labelType: PIXMAP
148
Qmon*tov_layout.tov_main_link.labelPixmap: logo
149
Qmon*tov_layout.tov_main_link.shadowThickness: 1
150
Qmon*tov_layout.tov_main_link.highlightThickness: 0
151
Qmon*tov_layout.tov_main_link.marginHeight: 0
152
Qmon*tov_layout.tov_main_link.marginWidth: 0
154
Qmon*tov_layout*share_tree_tickets_label.recomputeSize: False
155
Qmon*tov_layout*share_tree_tickets_label.background: $stree_share
156
Qmon*tov_layout*share_tree_tickets_label.alignment: ALIGNMENT_BEGINNING
158
Qmon*tov_layout*functional_tickets_label.recomputeSize: False
159
Qmon*tov_layout*functional_tickets_label.background: $stree_functional
160
Qmon*tov_layout*functional_tickets_label.alignment: ALIGNMENT_BEGINNING
162
Qmon*tov_layout*override_tickets_label.recomputeSize: False
163
Qmon*tov_layout*override_tickets_label.background: $stree_override
164
Qmon*tov_layout*override_tickets_label.alignment: ALIGNMENT_BEGINNING
166
Qmon*tov_layout*share_tree_tickets_field.background: $stree_share
167
Qmon*tov_layout*functional_tickets_field.background: $stree_functional
169
Qmon*tov_layout*tov_users_for_deadline.labelString: @{tov.deadline.Users Allowed\nTo Submit\nDeadline Jobs}
170
Qmon*tov_layout*tov_share_tree_policy.labelString: @{tov.sharetree.Share Tree\nPolicy}
171
Qmon*tov_layout*tov_functional_policy.labelString: @{tov.functional.Functional\nPolicy}
172
Qmon*tov_layout*tov_override_policy.labelString: @{tov.override.Override\nPolicy}
173
Qmon*tov_layout*tov_update.labelString: @{Refresh}
174
Qmon*tov_layout*tov_apply.labelString: @{Apply}
175
Qmon*tov_layout*tov_done.labelString: @{Done}
176
Qmon*tov_layout*tov_help.labelString: @{Help}
178
Qmon*tov_layout*share_override_ticket.labelString: @{Share Override Tickets}
179
Qmon*tov_layout*share_override_ticket.alignment: ALIGNMENT_BEGINNING
181
Qmon*tov_layout*report_pjob_tickets.labelString: @{Report Pending Job Tickets}
182
Qmon*tov_layout*report_pjob_tickets.alignment: ALIGNMENT_BEGINNING
184
Qmon*tov_layout*share_functional_ticket.labelString: @{Share Functional Shares}
185
Qmon*tov_layout*share_functional_ticket.alignment: ALIGNMENT_BEGINNING
187
Qmon*tov_layout*max_functional_jobs.minimum: 0
188
Qmon*tov_layout*max_functional_jobs.spinboxStyle: SPINBOX_STACKED_RIGHT
189
Qmon*tov_layout*max_functional_jobs.buttonSizeFixed: True
190
Qmon*tov_layout*max_functional_jobs.columns: 5
191
Qmon*tov_layout*max_functional_jobs.spinboxUseClosestValue: True
192
Qmon*tov_layout*max_functional_jobs.value: 0
193
Qmon*tov_layout*max_functional_jobs.incrementLarge: 10
195
Qmon*tov_layout*max_pending_tasks_per_job.minimum: 0
196
Qmon*tov_layout*max_pending_tasks_per_job.spinboxStyle: SPINBOX_STACKED_RIGHT
197
Qmon*tov_layout*max_pending_tasks_per_job.buttonSizeFixed: True
198
Qmon*tov_layout*max_pending_tasks_per_job.columns: 5
199
Qmon*tov_layout*max_pending_tasks_per_job.spinboxUseClosestValue: True
200
Qmon*tov_layout*max_pending_tasks_per_job.value: 0
201
Qmon*tov_layout*max_pending_tasks_per_job.incrementLarge: 10
203
Qmon*tov_message*columns: 15
204
Qmon*tov_help.activateCallback: XmtHelpDisplayContextHelp(self);