Statistics
| Revision:

root / tmp / org.txm.index.rcp / plugin.xml @ 209

History | View | Annotate | Download (3.4 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.eclipse.ui.menus">
6
      <menuContribution
7
            locationURI="popup:org.txm.rcpapplication.views.CorporaView">
8
         <command
9
               commandId="ComputeIndex"
10
               icon="icons/index.png"
11
               label="%command.label.66"
12
               style="push">
13
            <visibleWhen
14
                  checkEnabled="false">
15
               <or>
16
                  <reference
17
                        definitionId="OnePartitionSelected">
18
                  </reference>
19
                  <reference
20
                        definitionId="OneCorpusSelected">
21
                  </reference>
22
               </or>
23
            </visibleWhen>
24
         </command>
25
      </menuContribution>
26
      <menuContribution
27
            locationURI="menu:menu.tools">
28
         <command
29
               commandId="ComputeIndex"
30
               icon="icons/index.png"
31
               label="%command.label.66"
32
               style="push">
33
            <visibleWhen
34
                  checkEnabled="false">
35
               <or>
36
                  <reference
37
                        definitionId="OnePartitionSelected">
38
                  </reference>
39
                  <reference
40
                        definitionId="OneCorpusSelected">
41
                  </reference>
42
               </or>
43
            </visibleWhen>
44
         </command>
45
      </menuContribution>
46
      <menuContribution
47
            allPopups="false"
48
            locationURI="toolbar:org.txm.rcpapplication.toolbartools">
49
         <command
50
               commandId="ComputeIndex"
51
               icon="icons/index.png"
52
               label="%command.label.66"
53
               style="push"
54
               tooltip="%command.tooltip.62">
55
            <visibleWhen
56
                  checkEnabled="false">
57
               <or>
58
                  <reference
59
                        definitionId="OnePartitionSelected">
60
                  </reference>
61
                  <reference
62
                        definitionId="OneCorpusSelected">
63
                  </reference>
64
               </or>
65
            </visibleWhen>
66
         </command>
67
      </menuContribution>
68
   </extension>
69
   <extension
70
         point="org.eclipse.ui.preferencePages">
71
   </extension>
72
   <extension
73
         point="org.eclipse.ui.editors">
74
      <editor
75
            class="org.txm.rcpapplication.editors.TableEditor"
76
            default="false"
77
            icon="icons/index.png"
78
            id="org.txm.rcpapplication.editors.TableEditor"
79
            name="%editor.name.0">
80
      </editor>
81
      <editor
82
            class="org.txm.index.rcp.editors.IndexEditor"
83
            default="false"
84
            icon="icons/index.png"
85
            id="IndexEditor"
86
            name="%editor.name.7">
87
      </editor>
88
   </extension>
89
   <extension
90
         point="org.eclipse.core.runtime.adapters">
91
      <factory
92
            adaptableType="org.txm.index.core.functions.Index"
93
            class="org.txm.rcpapplication.AdapterFactory">
94
         <adapter
95
               type="org.eclipse.ui.model.IWorkbenchAdapter">
96
         </adapter>
97
      </factory>
98
   </extension>
99
   <extension
100
         point="org.eclipse.ui.commands">
101
      <command
102
            categoryId="org.txm.rcpapplication.category.txm"
103
            defaultHandler="org.txm.index.rcp.handlers.ComputeIndex"
104
            id="ComputeIndex"
105
            name="%command.name.27">
106
      </command>
107
   </extension>
108

    
109
</plugin>