Statistics
| Revision:

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

History | View | Annotate | Download (6.8 kB)

1 88 sjacqu01
<?xml version="1.0" encoding="UTF-8"?>
2 88 sjacqu01
<?eclipse version="3.4"?>
3 2217 mdecorde
<plugin>
4 88 sjacqu01
   <extension
5 88 sjacqu01
         point="org.eclipse.ui.editors">
6 88 sjacqu01
      <editor
7 544 sjacqu01
            class="org.txm.specificities.rcp.editors.SpecificitiesSelectionEditor"
8 88 sjacqu01
            default="false"
9 599 mdecorde
            icon="icons/functions/specificities_selection.png"
10 544 sjacqu01
            id="org.txm.specificities.core.functions.SpecificitiesSelection"
11 973 mdecorde
            name="%editor.name.0">
12 88 sjacqu01
      </editor>
13 88 sjacqu01
      <editor
14 536 mdecorde
            class="org.txm.specificities.rcp.editors.SpecificitiesEditor"
15 88 sjacqu01
            default="false"
16 88 sjacqu01
            icon="icons/functions/specificities.png"
17 544 sjacqu01
            id="org.txm.specificities.rcp.editors.SpecificitiesEditor"
18 88 sjacqu01
            name="%editor.name">
19 88 sjacqu01
      </editor>
20 88 sjacqu01
   </extension>
21 88 sjacqu01
   <extension
22 88 sjacqu01
         point="org.eclipse.ui.commands">
23 88 sjacqu01
      <command
24 324 mdecorde
            categoryId="org.txm.rcp.category.txm"
25 88 sjacqu01
            defaultHandler="org.txm.specificities.rcp.handlers.ComputeSpecifities"
26 491 mdecorde
            id="org.txm.specificities.rcp.handlers.ComputeSpecifities"
27 737 sjacqu01
            name="%command.name"
28 737 sjacqu01
            returnTypeId="org.txm.specificities.core.functions.Specificities">
29 88 sjacqu01
      </command>
30 88 sjacqu01
      <command
31 726 sjacqu01
            categoryId="org.txm.rcp.category.txm"
32 544 sjacqu01
            defaultHandler="org.txm.specificities.rcp.handlers.ComputeSpecifictiesSelectionChart"
33 544 sjacqu01
            id="org.txm.specificities.rcp.handlers.ComputeSpecifictiesSelectionChart"
34 737 sjacqu01
            name="%command.name.0"
35 737 sjacqu01
            returnTypeId="org.txm.specificities.core.functions.SpecificitiesSelection">
36 88 sjacqu01
      </command>
37 88 sjacqu01
   </extension>
38 88 sjacqu01
   <extension
39 88 sjacqu01
         point="org.eclipse.ui.menus">
40 88 sjacqu01
      <menuContribution
41 698 mdecorde
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.tools.stat">
42 88 sjacqu01
         <command
43 491 mdecorde
               commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities"
44 88 sjacqu01
               icon="icons/functions/specificities.png"
45 88 sjacqu01
               style="push">
46 88 sjacqu01
            <visibleWhen
47 88 sjacqu01
                  checkEnabled="false">
48 88 sjacqu01
               <or>
49 88 sjacqu01
                  <reference
50 88 sjacqu01
                        definitionId="OnePartitionSelected">
51 88 sjacqu01
                  </reference>
52 88 sjacqu01
                  <reference
53 88 sjacqu01
                        definitionId="OneSubCorpusSelected">
54 88 sjacqu01
                  </reference>
55 88 sjacqu01
                  <reference
56 88 sjacqu01
                        definitionId="OneLexicalTableSelected">
57 88 sjacqu01
                  </reference>
58 1196 mdecorde
                  <reference
59 1196 mdecorde
                        definitionId="OnePartitionIndexSelected">
60 1196 mdecorde
                  </reference>
61 88 sjacqu01
               </or>
62 88 sjacqu01
            </visibleWhen>
63 88 sjacqu01
         </command>
64 88 sjacqu01
      </menuContribution>
65 88 sjacqu01
      <menuContribution
66 1196 mdecorde
            locationURI="menu:menu.tools?after=menu.tools.separator.stats">
67 88 sjacqu01
         <command
68 491 mdecorde
               commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities"
69 88 sjacqu01
               icon="icons/functions/specificities.png"
70 88 sjacqu01
               style="push">
71 88 sjacqu01
            <visibleWhen
72 88 sjacqu01
                  checkEnabled="false">
73 88 sjacqu01
               <or>
74 88 sjacqu01
                  <reference
75 88 sjacqu01
                        definitionId="OnePartitionSelected">
76 88 sjacqu01
                  </reference>
77 88 sjacqu01
                  <reference
78 88 sjacqu01
                        definitionId="OneSubCorpusSelected">
79 88 sjacqu01
                  </reference>
80 88 sjacqu01
                  <reference
81 88 sjacqu01
                        definitionId="OneLexicalTableSelected">
82 88 sjacqu01
                  </reference>
83 1196 mdecorde
                  <reference
84 1196 mdecorde
                        definitionId="OnePartitionIndexSelected">
85 1196 mdecorde
                  </reference>
86 88 sjacqu01
               </or>
87 88 sjacqu01
            </visibleWhen>
88 88 sjacqu01
         </command>
89 88 sjacqu01
      </menuContribution>
90 88 sjacqu01
      <menuContribution
91 88 sjacqu01
            allPopups="false"
92 1196 mdecorde
            locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.rcp.toolbartools.stats">
93 88 sjacqu01
         <command
94 491 mdecorde
               commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities"
95 88 sjacqu01
               icon="icons/functions/specificities.png"
96 1196 mdecorde
               style="push">
97 88 sjacqu01
            <visibleWhen
98 88 sjacqu01
                  checkEnabled="false">
99 88 sjacqu01
               <or>
100 88 sjacqu01
                  <reference
101 1196 mdecorde
                        definitionId="OnePartitionSelected">
102 1196 mdecorde
                  </reference>
103 1196 mdecorde
                  <reference
104 88 sjacqu01
                        definitionId="OneSubCorpusSelected">
105 88 sjacqu01
                  </reference>
106 88 sjacqu01
                  <reference
107 88 sjacqu01
                        definitionId="OneLexicalTableSelected">
108 88 sjacqu01
                  </reference>
109 664 sjacqu01
                  <reference
110 1196 mdecorde
                        definitionId="OnePartitionIndexSelected">
111 664 sjacqu01
                  </reference>
112 664 sjacqu01
               </or>
113 664 sjacqu01
            </visibleWhen>
114 664 sjacqu01
         </command>
115 664 sjacqu01
      </menuContribution>
116 664 sjacqu01
      <menuContribution
117 726 sjacqu01
            locationURI="popup:org.txm.specificities.rcp.editors.SpecificitiesEditor">
118 626 sjacqu01
         <command
119 626 sjacqu01
               commandId="org.txm.specificities.rcp.handlers.ComputeSpecifictiesSelectionChart"
120 726 sjacqu01
               icon="icons/functions/specificities_selection.png"
121 626 sjacqu01
               style="push">
122 626 sjacqu01
         </command>
123 626 sjacqu01
      </menuContribution>
124 88 sjacqu01
   </extension>
125 88 sjacqu01
   <extension
126 88 sjacqu01
         point="org.eclipse.core.runtime.adapters">
127 88 sjacqu01
      <factory
128 544 sjacqu01
            adaptableType="org.txm.specificities.core.functions.Specificities"
129 88 sjacqu01
            class="org.txm.specificities.rcp.adapters.SpecificitiesAdapterFactory">
130 88 sjacqu01
         <adapter
131 88 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
132 88 sjacqu01
         </adapter>
133 1005 sjacqu01
         <adapter
134 1005 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
135 1005 sjacqu01
         </adapter>
136 88 sjacqu01
      </factory>
137 544 sjacqu01
      <factory
138 544 sjacqu01
            adaptableType="org.txm.specificities.core.functions.SpecificitiesSelection"
139 544 sjacqu01
            class="org.txm.specificities.rcp.adapters.SpecificitiesAdapterFactory">
140 544 sjacqu01
         <adapter
141 544 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
142 544 sjacqu01
         </adapter>
143 1005 sjacqu01
         <adapter
144 1005 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
145 1005 sjacqu01
         </adapter>
146 544 sjacqu01
      </factory>
147 88 sjacqu01
   </extension>
148 88 sjacqu01
   <extension
149 88 sjacqu01
         point="org.eclipse.ui.preferencePages">
150 88 sjacqu01
      <page
151 324 mdecorde
            category="org.txm.rcp.preferences.UserPreferencePage"
152 88 sjacqu01
            class="org.txm.specificities.rcp.preferences.SpecificitiesPreferencePage"
153 88 sjacqu01
            id="org.txm.specificities.rcp.preferences.SpecificitiesPreferencePage"
154 88 sjacqu01
            name="%page.name">
155 88 sjacqu01
      </page>
156 88 sjacqu01
   </extension>
157 266 sjacqu01
   <extension
158 266 sjacqu01
         point="org.eclipse.core.expressions.definitions">
159 266 sjacqu01
      <definition
160 266 sjacqu01
            id="OneSpecificitiesResultSelected">
161 266 sjacqu01
         <with
162 266 sjacqu01
               variable="selection">
163 266 sjacqu01
            <iterate
164 266 sjacqu01
                  ifEmpty="false"
165 266 sjacqu01
                  operator="and">
166 266 sjacqu01
               <instanceof
167 266 sjacqu01
                     value="org.txm.functions.specificities.SpecificitesResult">
168 266 sjacqu01
               </instanceof>
169 266 sjacqu01
            </iterate>
170 266 sjacqu01
         </with>
171 266 sjacqu01
      </definition>
172 266 sjacqu01
      <definition
173 266 sjacqu01
            id="SpecificitiesEditorActive">
174 266 sjacqu01
         <with
175 266 sjacqu01
               variable="activePartId">
176 266 sjacqu01
            <equals
177 726 sjacqu01
                  value="org.txm.specificities.rcp.editors.SpecificitiesEditor">
178 266 sjacqu01
            </equals>
179 266 sjacqu01
         </with>
180 266 sjacqu01
      </definition>
181 266 sjacqu01
   </extension>
182 2802 mdecorde
183 88 sjacqu01
</plugin>