Statistics
| Revision:

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

History | View | Annotate | Download (4.7 kB)

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