Statistics
| Revision:

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

History | View | Annotate | Download (6.6 kB)

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