Statistics
| Revision:

root / tmp / org.txm.xmleditor.rcp / plugin.xml @ 1107

History | View | Annotate | Download (2.6 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.eclipse.ui.commands">
6
      <command
7
            categoryId="org.txm.rcp.category.txm"
8
            defaultHandler="org.txm.xmleditor.OpenXMLEditor"
9
            id="org.txm.xmleditor.OpenXMLEditor"
10
            name="%command.name">
11
      </command>
12
   </extension>
13
   <extension
14
         point="org.eclipse.ui.menus">
15
      <menuContribution
16
            locationURI="menu:menu.file?after=menu.file.separator.open">
17
         <command
18
               commandId="org.txm.xmleditor.OpenXMLEditor"
19
               style="push">
20
         </command>
21
      </menuContribution>
22
      <menuContribution
23
            locationURI="menu:menu.help.plugins">
24
         <command
25
               commandId="org.txm.rcp.commands.OpenBrowser"
26
               label="%command.label"
27
               style="push">
28
            <parameter
29
                  name="org.txm.rcp.commands.commandParameter2"
30
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions#xmleditor">
31
            </parameter>
32
         </command>
33
      </menuContribution>
34
      <menuContribution
35
            locationURI="popup:org.txm.rcp.views.fileexplorer.Explorer">
36
         <command
37
               commandId="org.txm.xmleditor.OpenXMLEditor"
38
               style="push"
39
               tooltip="%command.tooltip">
40
            <visibleWhen
41
                  checkEnabled="false">
42
               <reference
43
                     definitionId="OneFileSelected">
44
               </reference>
45
            </visibleWhen>
46
         </command>
47
      </menuContribution>
48
   </extension>
49
   <extension
50
         point="org.eclipse.ui.activities">
51
         
52
  <activityPatternBinding
53
        activityId="arm.activity.disabled"
54
        pattern=".*org\.eclipse\.search\..*">
55
  </activityPatternBinding>
56
  <activityPatternBinding
57
        activityId="arm.activity.disabled"
58
        pattern=".*ValidationPreferencePage.*">
59
  </activityPatternBinding>
60
  <activityPatternBinding
61
        activityId="arm.activity.disabled"
62
        pattern=".*org\.eclipse\.debug\.ui\.DebugPreferencePage.*">
63
  </activityPatternBinding>
64
      <activityPatternBinding
65
        activityId="arm.activity.disabled"
66
        pattern=".*org\.eclipse\.team\.ui\.TeamPreferences.*">
67
  </activityPatternBinding>
68
  
69
      <activity
70
            id="arm.activity.disabled"
71
            name="%activity.name">
72
            <enabledWhen>
73
        <with
74
              variable="selection">
75
           <count
76
                 value="-1">
77
           </count>
78
        </with>
79
     </enabledWhen>
80
      </activity>
81
   </extension>
82
</plugin>