Statistics
| Revision:

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

History | View | Annotate | Download (4.6 kB)

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