Statistics
| Revision:

root / tmp / org.txm.cooccurrence.rcp / plugin.xml @ 2802

History | View | Annotate | Download (6.3 kB)

1 204 sjacqu01
<?xml version="1.0" encoding="UTF-8"?>
2 204 sjacqu01
<?eclipse version="3.4"?>
3 2217 mdecorde
<plugin>
4 204 sjacqu01
   <extension
5 204 sjacqu01
         point="org.eclipse.ui.commands">
6 204 sjacqu01
      <command
7 324 mdecorde
            categoryId="org.txm.rcp.category.txm"
8 204 sjacqu01
            defaultHandler="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"
9 491 mdecorde
            id="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"
10 737 sjacqu01
            name="%command.name"
11 737 sjacqu01
            returnTypeId="org.txm.cooccurrence.core.functions.Cooccurrence">
12 204 sjacqu01
      </command>
13 204 sjacqu01
   </extension>
14 204 sjacqu01
   <extension
15 204 sjacqu01
         point="org.eclipse.ui.preferencePages">
16 204 sjacqu01
      <page
17 324 mdecorde
            category="org.txm.rcp.preferences.UserPreferencePage"
18 204 sjacqu01
            class="org.txm.cooccurrence.rcp.preferences.CoocPreferencePage"
19 204 sjacqu01
            id="org.txm.cooccurrence.rcp.preferences.CoocPreferencePage"
20 260 sjacqu01
            name="%page.name">
21 204 sjacqu01
      </page>
22 204 sjacqu01
   </extension>
23 204 sjacqu01
   <extension
24 204 sjacqu01
         point="org.eclipse.core.runtime.adapters">
25 204 sjacqu01
      <factory
26 260 sjacqu01
            adaptableType="org.txm.cooccurrence.core.functions.Cooccurrence"
27 204 sjacqu01
            class="org.txm.cooccurrence.rcp.adapters.CooccurrenceAdapterFactory">
28 204 sjacqu01
         <adapter
29 204 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
30 204 sjacqu01
         </adapter>
31 1005 sjacqu01
         <adapter
32 1005 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
33 1005 sjacqu01
         </adapter>
34 204 sjacqu01
      </factory>
35 204 sjacqu01
   </extension>
36 204 sjacqu01
   <extension
37 204 sjacqu01
         point="org.eclipse.ui.menus">
38 204 sjacqu01
      <menuContribution
39 204 sjacqu01
            allPopups="false"
40 698 mdecorde
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.concordance.rcp.handlers.ComputeConcordance">
41 204 sjacqu01
         <command
42 491 mdecorde
               commandId="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"
43 204 sjacqu01
               icon="icons/cooccurrences.png"
44 260 sjacqu01
               style="push">
45 204 sjacqu01
            <visibleWhen
46 204 sjacqu01
                  checkEnabled="false">
47 204 sjacqu01
               <or>
48 204 sjacqu01
                  <reference
49 204 sjacqu01
                        definitionId="OneCorpusSelected">
50 204 sjacqu01
                  </reference>
51 204 sjacqu01
                  <reference
52 204 sjacqu01
                        definitionId="OneConcordanceSelected">
53 204 sjacqu01
                  </reference>
54 204 sjacqu01
               </or>
55 204 sjacqu01
            </visibleWhen>
56 204 sjacqu01
         </command>
57 204 sjacqu01
      </menuContribution>
58 204 sjacqu01
      <menuContribution
59 698 mdecorde
            locationURI="menu:menu.tools?after=org.txm.concordance.rcp.handlers.ComputeConcordance">
60 204 sjacqu01
         <command
61 491 mdecorde
               commandId="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"
62 204 sjacqu01
               icon="icons/cooccurrences.png"
63 260 sjacqu01
               style="push">
64 204 sjacqu01
            <visibleWhen
65 204 sjacqu01
                  checkEnabled="false">
66 204 sjacqu01
               <or>
67 204 sjacqu01
                  <reference
68 204 sjacqu01
                        definitionId="OneCorpusSelected">
69 204 sjacqu01
                  </reference>
70 204 sjacqu01
                  <reference
71 204 sjacqu01
                        definitionId="OneConcordanceSelected">
72 204 sjacqu01
                  </reference>
73 204 sjacqu01
               </or>
74 204 sjacqu01
            </visibleWhen>
75 204 sjacqu01
         </command>
76 204 sjacqu01
      </menuContribution>
77 204 sjacqu01
      <menuContribution
78 204 sjacqu01
            allPopups="false"
79 653 sjacqu01
            locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.concordance.rcp.handlers.ComputeConcordance">
80 204 sjacqu01
         <command
81 491 mdecorde
               commandId="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"
82 204 sjacqu01
               icon="icons/cooccurrences.png"
83 204 sjacqu01
               style="push"
84 260 sjacqu01
               tooltip="%command.tooltip">
85 204 sjacqu01
            <visibleWhen
86 204 sjacqu01
                  checkEnabled="false">
87 204 sjacqu01
               <or>
88 204 sjacqu01
                  <reference
89 204 sjacqu01
                        definitionId="OneCorpusSelected">
90 204 sjacqu01
                  </reference>
91 204 sjacqu01
                  <reference
92 204 sjacqu01
                        definitionId="OneConcordanceSelected">
93 204 sjacqu01
                  </reference>
94 204 sjacqu01
               </or>
95 204 sjacqu01
            </visibleWhen>
96 204 sjacqu01
         </command>
97 204 sjacqu01
      </menuContribution>
98 364 sjacqu01
      <menuContribution
99 845 sjacqu01
            locationURI="popup:org.txm.index.rcp.editors.IndexEditor">
100 364 sjacqu01
         <command
101 859 sjacqu01
               commandId="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"
102 845 sjacqu01
               icon="icons/cooccurrences.png"
103 845 sjacqu01
               label="%command.name.4"
104 364 sjacqu01
               style="push">
105 364 sjacqu01
         </command>
106 364 sjacqu01
      </menuContribution>
107 1005 sjacqu01
      <menuContribution
108 1221 sjacqu01
            locationURI="popup:org.txm.index.rcp.editors.PartitionIndexEditor">
109 1221 sjacqu01
         <command
110 1221 sjacqu01
               commandId="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"
111 1221 sjacqu01
               icon="icons/cooccurrences.png"
112 1221 sjacqu01
               label="%command.name.4"
113 1221 sjacqu01
               style="push">
114 1221 sjacqu01
         </command>
115 1221 sjacqu01
      </menuContribution>
116 1221 sjacqu01
      <menuContribution
117 1398 mdecorde
            locationURI="popup:org.txm.index.rcp.editors.LexiconEditor">
118 1005 sjacqu01
         <command
119 1005 sjacqu01
               commandId="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"
120 1005 sjacqu01
               icon="icons/cooccurrences.png"
121 1005 sjacqu01
               label="%command.name.4"
122 1005 sjacqu01
               style="push">
123 1005 sjacqu01
         </command>
124 1005 sjacqu01
      </menuContribution>
125 204 sjacqu01
   </extension>
126 204 sjacqu01
   <extension
127 204 sjacqu01
         point="org.eclipse.ui.editors">
128 204 sjacqu01
      <editor
129 204 sjacqu01
            class="org.txm.cooccurrence.rcp.editors.CooccurrencesEditor"
130 204 sjacqu01
            default="false"
131 204 sjacqu01
            icon="icons/cooccurrences.png"
132 491 mdecorde
            id="org.txm.cooccurrence.rcp.editors.CooccurrencesEditor"
133 260 sjacqu01
            name="%editor.name">
134 204 sjacqu01
      </editor>
135 204 sjacqu01
   </extension>
136 260 sjacqu01
   <extension
137 260 sjacqu01
         point="org.eclipse.core.expressions.definitions">
138 260 sjacqu01
      <definition
139 260 sjacqu01
            id="OneCooccurrenceSelected">
140 260 sjacqu01
         <with
141 260 sjacqu01
               variable="selection">
142 260 sjacqu01
            <iterate
143 260 sjacqu01
                  ifEmpty="false"
144 260 sjacqu01
                  operator="and">
145 260 sjacqu01
               <instanceof
146 260 sjacqu01
                     value="org.txm.cooccurrence.core.functions.Cooccurrence">
147 260 sjacqu01
               </instanceof>
148 260 sjacqu01
            </iterate>
149 260 sjacqu01
         </with>
150 260 sjacqu01
      </definition>
151 842 sjacqu01
      <definition
152 842 sjacqu01
            id="CooccurrenceEditorActive">
153 842 sjacqu01
         <with
154 842 sjacqu01
               variable="activePart">
155 842 sjacqu01
            <instanceof
156 842 sjacqu01
                  value="org.txm.cooccurrence.rcp.editors.CooccurrencesEditor">
157 842 sjacqu01
            </instanceof>
158 842 sjacqu01
         </with>
159 842 sjacqu01
      </definition>
160 260 sjacqu01
   </extension>
161 842 sjacqu01
   <extension
162 842 sjacqu01
         point="org.eclipse.ui.handlers">
163 842 sjacqu01
      <handler
164 845 sjacqu01
            class="org.txm.cooccurrence.rcp.handlers.SendCooccurrenceTo"
165 859 sjacqu01
            commandId="org.txm.concordance.rcp.handlers.ComputeConcordance">
166 842 sjacqu01
         <activeWhen>
167 845 sjacqu01
            <and>
168 845 sjacqu01
               <reference
169 845 sjacqu01
                     definitionId="CooccurrenceEditorActive">
170 845 sjacqu01
               </reference>
171 845 sjacqu01
               <reference
172 859 sjacqu01
                     definitionId="SendSelectionContextNotActive">
173 845 sjacqu01
               </reference>
174 845 sjacqu01
            </and></activeWhen>
175 842 sjacqu01
      </handler>
176 842 sjacqu01
   </extension>
177 2802 mdecorde
178 204 sjacqu01
</plugin>