Statistics
| Revision:

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

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 324 mdecorde
            locationURI="popup:org.txm.rcp.views.CorporaView">
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 544 sjacqu01
            <parameter
58 544 sjacqu01
                  name="org.txm.specificities.rcp.parameter1"
59 544 sjacqu01
                  value="org.txm.specificities.rcp.parameter1">
60 544 sjacqu01
            </parameter>
61 88 sjacqu01
         </command>
62 88 sjacqu01
      </menuContribution>
63 88 sjacqu01
      <menuContribution
64 88 sjacqu01
            locationURI="menu:menu.tools">
65 88 sjacqu01
         <command
66 491 mdecorde
               commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities"
67 88 sjacqu01
               icon="icons/functions/specificities.png"
68 88 sjacqu01
               style="push">
69 88 sjacqu01
            <visibleWhen
70 88 sjacqu01
                  checkEnabled="false">
71 88 sjacqu01
               <or>
72 88 sjacqu01
                  <reference
73 88 sjacqu01
                        definitionId="OnePartitionSelected">
74 88 sjacqu01
                  </reference>
75 88 sjacqu01
                  <reference
76 88 sjacqu01
                        definitionId="OneSubCorpusSelected">
77 88 sjacqu01
                  </reference>
78 88 sjacqu01
                  <reference
79 88 sjacqu01
                        definitionId="OneLexicalTableSelected">
80 88 sjacqu01
                  </reference>
81 88 sjacqu01
               </or>
82 88 sjacqu01
            </visibleWhen>
83 88 sjacqu01
         </command>
84 88 sjacqu01
      </menuContribution>
85 88 sjacqu01
      <menuContribution
86 88 sjacqu01
            allPopups="false"
87 324 mdecorde
            locationURI="toolbar:org.txm.rcp.toolbartools">
88 88 sjacqu01
         <command
89 491 mdecorde
               commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities"
90 88 sjacqu01
               icon="icons/functions/specificities.png"
91 88 sjacqu01
               style="push"
92 88 sjacqu01
               tooltip="%command.tooltip">
93 88 sjacqu01
            <visibleWhen
94 88 sjacqu01
                  checkEnabled="false">
95 88 sjacqu01
               <or>
96 88 sjacqu01
                  <reference
97 88 sjacqu01
                        definitionId="OnePartitionSelected">
98 88 sjacqu01
                  </reference>
99 88 sjacqu01
                  <reference
100 88 sjacqu01
                        definitionId="OneSubCorpusSelected">
101 88 sjacqu01
                  </reference>
102 88 sjacqu01
                  <reference
103 88 sjacqu01
                        definitionId="OneLexicalTableSelected">
104 88 sjacqu01
                  </reference>
105 88 sjacqu01
               </or>
106 88 sjacqu01
            </visibleWhen>
107 88 sjacqu01
         </command>
108 88 sjacqu01
      </menuContribution>
109 626 sjacqu01
      <menuContribution
110 626 sjacqu01
            locationURI="popup:SpecificitiesEditorContextMenu">
111 626 sjacqu01
         <command
112 626 sjacqu01
               commandId="org.txm.specificities.rcp.handlers.ComputeSpecifictiesSelectionChart"
113 626 sjacqu01
               icon="icons/functions/specificities.png"
114 626 sjacqu01
               style="push">
115 626 sjacqu01
         </command>
116 626 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>