Statistics
| Revision:

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

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