UI/RibbonCustomizationsExplorer.xml
author Thomas
Tue, 30 Jul 2019 08:18:44 +0200
branchsync
changeset 2687 f7f12cd4dd77
parent 2318 e3b546370116
child 2695 273816414b64
permissions -rw-r--r--
OUT-386: Add Reset Trust context menu entry for contacts
nikolaj@1711
     1
<?xml version="1.0" encoding="UTF-8"?>
nikolaj@1711
     2
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"
nikolaj@1711
     3
          onLoad="Ribbon_Load">
nikolaj@1711
     4
  <ribbon>
Thomas@2172
     5
    <tabs>
nikolaj@1711
     6
      <tab idMso="TabMail">
Thomas@2318
     7
        <group id="GroupPEPHome"
nikolaj@1711
     8
               insertAfterMso="GroupSendReceive"
Thomas@2318
     9
               label="p≡p"
Thomas@2318
    10
               getVisible="GroupPEPHome_GetVisible">
Thomas@2264
    11
          <button id="ButtonPrivacyStatus"
Thomas@2264
    12
                  size="large"
Thomas@2264
    13
                  getImage="ButtonPrivacyStatus_GetImage"
Thomas@2264
    14
                  getVisible="ButtonPrivacyStatus_GetVisible"
Thomas@2264
    15
                  getLabel="ButtonPrivacyStatus_GetLabel"
Thomas@2264
    16
                  getScreentip="ButtonPrivacyStatus_GetScreentip"
Thomas@2264
    17
                  onAction="ButtonPrivacyStatus_Click"/>
nikolaj@1711
    18
          <button id="ButtonUpgradePEPHome"
nikolaj@1711
    19
                  size="large"
nikolaj@1711
    20
                  getEnabled="ButtonUpgradePEP_GetEnabled"
nikolaj@1711
    21
                  getImage="ButtonUpgradePEP_GetImage"
nikolaj@1711
    22
                  getLabel="ButtonUpgradePEP_GetLabel"
nikolaj@1711
    23
                  getSupertip="ButtonUpgradePEP_GetSupertip"
nikolaj@1711
    24
                  getVisible="ButtonUpgradePEP_GetVisible"
nikolaj@1711
    25
                  onAction="ButtonUpgradePEP_Click" />
nikolaj@1711
    26
        </group>
nikolaj@1711
    27
      </tab>
nikolaj@1711
    28
    </tabs>
nikolaj@1711
    29
    <contextualTabs>
nikolaj@1711
    30
      <tabSet idMso="TabComposeTools">
nikolaj@1711
    31
        <tab idMso="TabMessage">
Thomas@2318
    32
          <group id="GroupPEPNewMailMessageInline"
Thomas@2318
    33
                 insertAfterMso="GroupTemplates"
nikolaj@1711
    34
                 label="p≡p"
Thomas@2318
    35
                 getVisible="GroupPEPNewMailMessage_GetVisible">
Thomas@2318
    36
            <splitButton id="PEPButton"
Thomas@2318
    37
                         size="large"
Thomas@2318
    38
                         getVisible="ButtonPrivacyStatus_GetVisible">
Thomas@2318
    39
              <button id="ButtonPrivacyStatusInline"
Thomas@2318
    40
                      getImage="ButtonPrivacyStatus_GetImage"
Thomas@2318
    41
                      getLabel="ButtonPrivacyStatus_GetLabel"
Thomas@2318
    42
                      getScreentip="ButtonPrivacyStatus_GetScreentip"
Thomas@2318
    43
                      onAction="ButtonPrivacyStatus_Click"/>
Thomas@2318
    44
              <menu id="menu">
Thomas@2318
    45
                <toggleButton id="ToggleButtonForceUnencrypted"
Thomas@2318
    46
                              getEnabled="ToggleButtonForceUnencrypted_GetEnabled"
Thomas@2318
    47
                              getLabel="ToggleButtonForceUnencrypted_GetLabel"
Thomas@2318
    48
                              getPressed="ToggleButtonForceUnencrypted_GetPressed"
Thomas@2318
    49
                              getSupertip="ToggleButtonForceUnencrypted_GetSupertip"
Thomas@2318
    50
                              getVisible="ToggleButtonForceUnencrypted_GetVisible"
Thomas@2318
    51
                              onAction="ToggleButtonForceUnencrypted_Click" />
Thomas@2318
    52
                <toggleButton id="ToggleButtonForceProtection"
Thomas@2318
    53
                              getEnabled="ToggleButtonForceProtection_GetEnabled"
Thomas@2318
    54
                              getLabel="ToggleButtonForceProtection_GetLabel"
Thomas@2318
    55
                              getPressed="ToggleButtonForceProtection_GetPressed"
Thomas@2318
    56
                              getSupertip="ToggleButtonForceProtection_GetSupertip"
Thomas@2318
    57
                              getVisible="ToggleButtonForceProtection_GetVisible"
Thomas@2318
    58
                              onAction="ToggleButtonForceProtection_Click" />
Thomas@2318
    59
                <toggleButton id="ToggleButtonEnableProtection"
Thomas@2318
    60
                              getEnabled="ToggleButtonEnableProtection_GetEnabled"
Thomas@2318
    61
                              getLabel="ToggleButtonEnableProtection_GetLabel"
Thomas@2318
    62
                              getPressed="ToggleButtonEnableProtection_GetPressed"
Thomas@2318
    63
                              getSupertip="ToggleButtonEnableProtection_GetSupertip"
Thomas@2318
    64
                              getVisible="ToggleButtonEnableProtection_GetVisible"
Thomas@2318
    65
                              onAction="ToggleButtonEnableProtection_Click" />
Thomas@2318
    66
                <toggleButton id="ToggleButtonNeverUnsecure"
Thomas@2318
    67
                              getEnabled="ToggleButtonNeverUnsecure_GetEnabled"
Thomas@2318
    68
                              getLabel="ToggleButtonNeverUnsecure_GetLabel"
Thomas@2318
    69
                              getPressed="ToggleButtonNeverUnsecure_GetPressed"
Thomas@2318
    70
                              getSupertip="ToggleButtonNeverUnsecure_GetSupertip"
Thomas@2318
    71
                              getVisible="ToggleButtonNeverUnsecure_GetVisible"
Thomas@2318
    72
                              onAction="ToggleButtonNeverUnsecure_Click" />
Thomas@2318
    73
              </menu>
Thomas@2318
    74
            </splitButton>
nikolaj@1711
    75
            <button id="ButtonUpgradePEPComposeMessageInline"
nikolaj@1711
    76
                    size="large"
nikolaj@1711
    77
                    getEnabled="ButtonUpgradePEP_GetEnabled"
nikolaj@1711
    78
                    getImage="ButtonUpgradePEP_GetImage"
nikolaj@1711
    79
                    getLabel="ButtonUpgradePEP_GetLabel"
nikolaj@1711
    80
                    getSupertip="ButtonUpgradePEP_GetSupertip"
nikolaj@1711
    81
                    getVisible="ButtonUpgradePEP_GetVisible"
nikolaj@1711
    82
                    onAction="ButtonUpgradePEP_Click" />
nikolaj@1711
    83
          </group>
nikolaj@1711
    84
        </tab>
nikolaj@1711
    85
      </tabSet>
nikolaj@1711
    86
    </contextualTabs>
nikolaj@1711
    87
  </ribbon>
nikolaj@1711
    88
  <backstage>
nikolaj@1711
    89
    <!-- Available Mso for insertAfterMso: FileSaveAs, TabRecent, TabPrint, TabHelp, ApplicationOptionsDialog -->
nikolaj@1711
    90
    <tab id="BackstagePEP"
nikolaj@1711
    91
         label="p≡p"
nikolaj@1711
    92
         title="p≡p for Outlook"
nikolaj@1711
    93
         columnWidthPercent="65"
nikolaj@1711
    94
         insertAfterMso="ApplicationOptionsDialog"
nikolaj@1711
    95
         visible="true" >
nikolaj@1711
    96
      <firstColumn>
nikolaj@1711
    97
        <!-- Account Options -->
nikolaj@1711
    98
        <group id="GroupAccounts"
nikolaj@1711
    99
               getLabel="GroupAccounts_GetLabel"
nikolaj@1711
   100
               getHelperText="GroupAccounts_GetHelperText">
nikolaj@1711
   101
          <primaryItem>
nikolaj@1711
   102
            <button id="ButtonAccounts"
nikolaj@1711
   103
                    isDefinitive="true"
nikolaj@1711
   104
                    onAction="ButtonAccounts_Click"
nikolaj@1711
   105
                    getImage="ButtonAccounts_GetImage"
nikolaj@1711
   106
                    getLabel="ButtonAccounts_GetLabel" />
nikolaj@1711
   107
          </primaryItem>
nikolaj@1711
   108
        </group>
nikolaj@1711
   109
        <!-- Compatibility options -->
nikolaj@1711
   110
        <group id="GroupCompatibility"
nikolaj@1711
   111
               getLabel="GroupCompatibility_GetLabel"
nikolaj@1711
   112
               getHelperText="GroupCompatibility_GetHelperText">
nikolaj@1711
   113
          <primaryItem>
nikolaj@1711
   114
            <button id="ButtonCompatibility"
nikolaj@1711
   115
                    isDefinitive="true"
nikolaj@1711
   116
                    onAction="ButtonCompatibility_Click"
nikolaj@1711
   117
                    getImage="ButtonCompatibility_GetImage"
nikolaj@1711
   118
                    getLabel="ButtonCompatibility_GetLabel"/>
nikolaj@1711
   119
          </primaryItem>
nikolaj@1711
   120
        </group>
nikolaj@1711
   121
      </firstColumn>
nikolaj@1711
   122
      <secondColumn>
nikolaj@1711
   123
        <!-- About -->
nikolaj@1711
   124
        <group id="GroupAbout">
nikolaj@1711
   125
          <topItems>
nikolaj@1711
   126
            <layoutContainer id="LayoutContainer3"
nikolaj@1711
   127
                             layoutChildren="vertical">
nikolaj@1711
   128
              <imageControl id="ImageControlLogo"
nikolaj@1711
   129
                            getImage="ImageControlLogo_GetImage"
nikolaj@1711
   130
                            visible="true" />
nikolaj@1711
   131
              <labelControl id="Spacer1"
nikolaj@1711
   132
                            label=" " />
nikolaj@1711
   133
              <labelControl id="LabelControlName"
nikolaj@1711
   134
                            getLabel="LabelControlName_GetLabel"
nikolaj@1711
   135
                            alignLabel="right" />
nikolaj@1711
   136
              <labelControl id="LabelControlCopyright"
nikolaj@1711
   137
                            getLabel="LabelControlCopyright_GetLabel"
nikolaj@1711
   138
                            alignLabel="right"/>
nikolaj@1711
   139
              <labelControl id="LabelControlVersion"
nikolaj@1711
   140
                            getLabel="LabelControlVersion_GetLabel"
nikolaj@1711
   141
                            alignLabel="right"/>
nikolaj@1711
   142
            </layoutContainer>
nikolaj@1711
   143
          </topItems>
nikolaj@1711
   144
          <bottomItems>
nikolaj@1711
   145
            <labelControl id="LabelSpacer1"
nikolaj@1711
   146
                          label=" "/>
nikolaj@1711
   147
            <hyperlink id="HyperlinkPEP"
nikolaj@1711
   148
                       label="www.prettyeasyprivacy.com"
nikolaj@1711
   149
                       target="https://prettyeasyprivacy.com"/>
nikolaj@1711
   150
          </bottomItems>
nikolaj@1711
   151
        </group>
nikolaj@1711
   152
      </secondColumn>
nikolaj@1711
   153
    </tab>
nikolaj@1711
   154
  </backstage>
Thomas@2172
   155
  <contextMenus>
Thomas@2687
   156
    
Thomas@2687
   157
    <!--The manual Key Import context menu entry-->
Thomas@2172
   158
    <contextMenu idMso="ContextMenuStore">
Thomas@2177
   159
      <menu id="ContextMenuKeyImport"
Thomas@2177
   160
            getImage="ContextMenuKeyImport_GetImage"
Thomas@2264
   161
            getVisible="ContextMenuKeyImport_GetVisible"
Thomas@2177
   162
            getLabel="ContextMenuKeyImport_GetLabel">
Thomas@2177
   163
        <button id="ContextMenuKeyImportButtonPEP"
Thomas@2177
   164
                getLabel="ContextMenuKeyImportButtonPEP_GetLabel"
Thomas@2177
   165
                imageMso="AdpPrimaryKey"
Thomas@2177
   166
                onAction="ContextMenuKeyImportButton_Click"/>
Thomas@2264
   167
        <button id="ContextMenuKeyImportButtonPGP"
Thomas@2264
   168
                getLabel="ContextMenuKeyImportButtonPGP_GetLabel"
Thomas@2264
   169
                imageMso="AdpPrimaryKey"
Thomas@2264
   170
                onAction="ContextMenuKeyImportButton_Click"/>
Thomas@2177
   171
      </menu>
Thomas@2172
   172
    </contextMenu>
Thomas@2687
   173
    
Thomas@2687
   174
    <!--The Contact context menu to reset trust-->
Thomas@2687
   175
    <contextMenu idMso="ContextMenuContactItem">
Thomas@2687
   176
      <button id="ContextMenuResetContactTrust"
Thomas@2687
   177
            getImage="ContextMenuResetContactTrust_GetImage"            
Thomas@2687
   178
            getLabel="ContextMenuResetContactTrust_GetLabel"
Thomas@2687
   179
            onAction="ContextMenuResetContactTrustButton_Click"/>       
Thomas@2687
   180
    </contextMenu>
Thomas@2172
   181
  </contextMenus>
nikolaj@1711
   182
</customUI>
nikolaj@1711
   183