xref: /freebsd/crypto/krb5/src/windows/leash/kfwribbon.xml (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1<?xml version="1.0" encoding="utf-8"?>
2<Application xmlns="http://schemas.microsoft.com/windows/2009/Ribbon">
3  <Application.Commands>
4    <Command Name="cmdAppMenu" LabelTitle="Application Menu" />
5    <Command Name="cmdQAT" LabelTitle="" />
6    <Command Name="cmdHelp" LabelTitle="Help" />
7    <Command Name="cmdAbout" LabelTitle="About MIT Kerberos" />
8    <Command Name="cmdExit" LabelTitle="Exit application" />
9    <Command Name="cmdHomeTab" LabelTitle="Home" Keytip="H" />
10    <Command Name="cmdOptionsTab" LabelTitle="Options" Keytip="O" />
11    <Command Name="cmdChangePasswordGroup" LabelTitle="" />
12    <Command Name="cmdTicketGroup" LabelTitle=" " />
13    <Command Name="cmdViewOptionsGroup" LabelTitle="View Options" />
14    <Command Name="cmdTicketOptionsGroup" LabelTitle="Ticket Options" />
15    <Command Name="cmdGetTicketButton"
16             LabelTitle="Get Ticket"
17             Keytip="T">
18      <Command.LargeImages>
19        <Image>res/getticketlarge.bmp</Image>
20      </Command.LargeImages>
21    </Command>
22    <Command Name="cmdRenewTicketButton"
23             LabelTitle="Renew Ticket"
24             Keytip="R">
25      <Command.LargeImages>
26        <Image>res/renewlarge.bmp</Image>
27      </Command.LargeImages>
28    </Command>
29    <Command Name="cmdDestroyTicketButton"
30             LabelTitle="Destroy Ticket"
31             Keytip="D">
32      <Command.LargeImages>
33        <Image>res/destroylarge.bmp</Image>
34      </Command.LargeImages>
35    </Command>
36    <Command Name="cmdMakeDefaultButton"
37             LabelTitle="Make Default"
38             Keytip="M">
39      <Command.LargeImages>
40        <Image>res/makedefaultlarge.bmp</Image>
41      </Command.LargeImages>
42    </Command>
43    <Command Name="cmdChangePasswordButton"
44             LabelTitle="Change Password"
45             Keytip="C">
46      <Command.LargeImages>
47        <Image>res/cpwlarge.bmp</Image>
48      </Command.LargeImages>
49    </Command>
50    <Command Name="cmdIssuedCheckBox"
51             LabelTitle="Issued"
52             Keytip="I" />
53    <Command Name="cmdRenewUntilCheckBox"
54             LabelTitle="Renewable Until"
55             Keytip="R" />
56    <Command Name="cmdValidUntilCheckBox"
57             LabelTitle="Valid Until"
58             Keytip="V" />
59    <Command Name="cmdEncTypeCheckBox"
60             LabelTitle="Encryption Type"
61             Keytip="E" />
62    <Command Name="cmdFlagsCheckBox"
63             LabelTitle="Flags"
64             Keytip="F" />
65    <Command Name="cmdCcacheNameCheckBox"
66             LabelTitle="Credential Cache Name"
67             Keytip="N" />
68    <Command Name="cmdAutoRenewCheckBox"
69             LabelTitle="Automatic Ticket Renewal"
70             Keytip="R" />
71    <Command Name="cmdExpireAlarmCheckBox"
72             LabelTitle="Expiration Alarm"
73             Keytip="A" />
74    <Command Name="cmdDestroyOnExitCheckBox"
75             LabelTitle="Destroy Tickets on Exit"
76             Keytip="D" />
77    <Command Name="cmdMixedCaseCheckBox"
78             LabelTitle="Allow Mixed Case Realm Names"
79             Keytip="M" />
80  </Application.Commands>
81  <Application.Views>
82    <Ribbon>
83      <Ribbon.ApplicationMenu>
84        <ApplicationMenu CommandName="cmdAppMenu">
85          <MenuGroup>
86            <Button CommandName="cmdHelp" />
87            <Button CommandName="cmdAbout" />
88            <Button CommandName="cmdExit" />
89          </MenuGroup>
90        </ApplicationMenu>
91      </Ribbon.ApplicationMenu>
92      <Ribbon.QuickAccessToolbar>
93        <QuickAccessToolbar CommandName="cmdQAT" />
94      </Ribbon.QuickAccessToolbar>
95      <Ribbon.Tabs>
96        <Tab CommandName="cmdHomeTab">
97          <Tab.ScalingPolicy>
98            <ScalingPolicy>
99              <ScalingPolicy.IdealSizes>
100                <Scale Group="cmdTicketGroup" Size="Large" />
101                <Scale Group="cmdChangePasswordGroup" Size="Large" />
102              </ScalingPolicy.IdealSizes>
103            </ScalingPolicy>
104          </Tab.ScalingPolicy>
105          <Group CommandName="cmdTicketGroup" SizeDefinition="FourButtons">
106            <Button CommandName="cmdGetTicketButton" />
107            <Button CommandName="cmdRenewTicketButton" />
108            <Button CommandName="cmdDestroyTicketButton" />
109            <Button CommandName="cmdMakeDefaultButton" />
110          </Group>
111          <Group CommandName="cmdChangePasswordGroup"
112                 SizeDefinition="OneButton">
113            <Button CommandName="cmdChangePasswordButton" />
114          </Group>
115        </Tab>
116        <Tab CommandName="cmdOptionsTab">
117          <Group CommandName="cmdViewOptionsGroup">
118            <CheckBox CommandName="cmdIssuedCheckBox" />
119            <CheckBox CommandName="cmdRenewUntilCheckBox" />
120            <CheckBox CommandName="cmdValidUntilCheckBox" />
121            <CheckBox CommandName="cmdEncTypeCheckBox" />
122            <CheckBox CommandName="cmdFlagsCheckBox" />
123            <CheckBox CommandName="cmdCcacheNameCheckBox" />
124          </Group>
125          <Group CommandName="cmdTicketOptionsGroup" >
126            <CheckBox CommandName="cmdAutoRenewCheckBox" />
127            <CheckBox CommandName="cmdExpireAlarmCheckBox" />
128            <CheckBox CommandName="cmdDestroyOnExitCheckBox" />
129            <CheckBox CommandName="cmdMixedCaseCheckBox" />
130          </Group>
131        </Tab>
132      </Ribbon.Tabs>
133    </Ribbon>
134  </Application.Views>
135</Application>
136