Statistics
| Revision:

root / tmp / org.txm.referencer.rcp / plugin.xml @ 399

History | View | Annotate | Download (4.7 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.eclipse.ui.editors">
6
               <editor
7
            class="org.txm.rcp.editors.referencer.ReferencerEditor"
8
            default="false"
9
            icon="icons/functions/Referencer.png"
10
            id="org.txm.rcp.editors.referencer.ReferencerEditor"
11
            name="%editor.name.14">
12
      </editor>
13
   </extension>
14
   <extension
15
         point="org.eclipse.ui.menus">
16
               <menuContribution
17
            locationURI="popup:org.txm.rcp.editors.referencer.ReferencerEditor">
18
         <command
19
               commandId="org.txm.rcp.commands.link.ReferencerToConc"
20
               label="%command.label.73"
21
               style="push">
22
         </command>
23
      </menuContribution>
24
               <menuContribution
25
                     locationURI="menu:menu.tools">
26
                     <command
27
                  commandId="org.txm.rcp.commands.function.ComputeReferencer"
28
                  icon="icons/functions/Referencer.png"
29
                  label="%command.label.108"
30
                  style="push"
31
                  tooltip="%command.tooltip.62">
32
               <visibleWhen
33
                     checkEnabled="false">
34
                  <reference
35
                        definitionId="OneCorpusSelected">
36
                  </reference>
37
               </visibleWhen>
38
            </command>
39
               </menuContribution>
40
               <menuContribution
41
                     allPopups="false"
42
                     locationURI="toolbar:org.txm.rcp.toolbartools">
43
                  <command
44
                        commandId="org.txm.rcp.commands.function.ComputeReferencer"
45
                        icon="icons/functions/Referencer.png"
46
                        label="%command.label.108"
47
                        style="push"
48
                        tooltip="%command.tooltip.62">
49
                     <visibleWhen
50
                           checkEnabled="false">
51
                        <reference
52
                              definitionId="OneCorpusSelected">
53
                        </reference>
54
                     </visibleWhen>
55
                  </command>
56
               </menuContribution>
57
               <menuContribution
58
                     allPopups="false"
59
                     locationURI="popup:org.txm.rcp.views.CorporaView">
60
                  <command
61
                        commandId="org.txm.rcp.commands.function.ComputeReferencer"
62
                        icon="icons/functions/Referencer.png"
63
                        label="%command.label.108"
64
                        style="push"
65
                        tooltip="%command.tooltip.62">
66
                     <visibleWhen
67
                           checkEnabled="false">
68
                        <reference
69
                              definitionId="OneCorpusSelected">
70
                        </reference>
71
                     </visibleWhen>
72
                  </command>
73
               </menuContribution>
74
   </extension>
75
   <extension
76
         point="org.eclipse.ui.commands">
77
         <command
78
            defaultHandler="org.txm.rcp.commands.link.ReferencerToConc"
79
            id="org.txm.rcp.commands.link.ReferencerToConc"
80
            name="%command.name.57">
81
      </command>
82
      
83
            <command
84
            categoryId="org.txm.rcp.category.txm"
85
            defaultHandler="org.txm.referencer.rcp.commands.ComputeReferencer"
86
            id="org.txm.rcp.commands.function.ComputeReferencer"
87
            name="%command.name.44">
88
      </command>
89
   </extension>
90
   <extension
91
         point="org.eclipse.core.expressions.definitions">
92
       <definition
93
                  id="OneReferencerSelected">
94
               <with
95
                     variable="selection">
96
                  <iterate
97
                        ifEmpty="false"
98
                        operator="and">
99
                     <instanceof
100
                           value="org.txm.functions.referencer.Referencer">
101
                     </instanceof>
102
                  </iterate>
103
               </with>
104
            </definition>
105
   </extension>
106
   <extension
107
         point="org.eclipse.core.runtime.adapters">
108
       <factory
109
       adaptableType="org.txm.functions.referencer.Referencer"
110
       class="org.txm.rcp.AdapterFactory">
111
    <adapter
112
          type="org.eclipse.ui.model.IWorkbenchAdapter">
113
    </adapter>
114
 </factory>
115
   </extension>
116
   <extension
117
         point="org.eclipse.ui.preferencePages">
118
            <page
119
            category="org.txm.rcp.preferences.UserPreferencePage"
120
            class="org.txm.rcp.preferences.ReferencerPreferencePage"
121
            id="org.txm.rcp.preferences.ReferencerPreferencePage"
122
            name="%page.name.16">
123
      </page>
124
   </extension>
125
</plugin>