Statistics
| Revision:

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

History | View | Annotate | Download (5.4 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 88 sjacqu01
            class="org.txm.chartsengine.rcp.editors.ChartEditorPart"
8 88 sjacqu01
            default="false"
9 88 sjacqu01
            icon="icons/functions/specificities.png"
10 88 sjacqu01
            id="org.txm.specificities.core.functions.SpecificitesResult"
11 88 sjacqu01
            name="Specificities Chart">
12 88 sjacqu01
      </editor>
13 88 sjacqu01
      <editor
14 88 sjacqu01
            class="org.txm.specificities.rcp.editors.SpecificitiesTableEditor"
15 88 sjacqu01
            default="false"
16 88 sjacqu01
            icon="icons/functions/specificities.png"
17 88 sjacqu01
            id="org.txm.specificities.editors.SpecificitiesTableEditor"
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 88 sjacqu01
            id="ComputeSpecifities"
27 88 sjacqu01
            name="%command.name">
28 88 sjacqu01
      </command>
29 88 sjacqu01
      <command
30 88 sjacqu01
            defaultHandler="org.txm.specificities.rcp.handlers.ComputeSpecifictiesBarChart"
31 88 sjacqu01
            id="ComputeSpecifictiesBarChart"
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 88 sjacqu01
            locationURI="popup:org.txm.specificities.editors.SpecificitiesTableEditor">
39 88 sjacqu01
         <command
40 88 sjacqu01
               commandId="ComputeSpecifictiesBarChart"
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 88 sjacqu01
               commandId="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 88 sjacqu01
         </command>
66 88 sjacqu01
      </menuContribution>
67 88 sjacqu01
      <menuContribution
68 88 sjacqu01
            locationURI="menu:menu.tools">
69 88 sjacqu01
         <command
70 88 sjacqu01
               commandId="ComputeSpecifities"
71 88 sjacqu01
               icon="icons/functions/specificities.png"
72 88 sjacqu01
               style="push">
73 88 sjacqu01
            <visibleWhen
74 88 sjacqu01
                  checkEnabled="false">
75 88 sjacqu01
               <or>
76 88 sjacqu01
                  <reference
77 88 sjacqu01
                        definitionId="OnePartitionSelected">
78 88 sjacqu01
                  </reference>
79 88 sjacqu01
                  <reference
80 88 sjacqu01
                        definitionId="OneSubCorpusSelected">
81 88 sjacqu01
                  </reference>
82 88 sjacqu01
                  <reference
83 88 sjacqu01
                        definitionId="OneLexicalTableSelected">
84 88 sjacqu01
                  </reference>
85 88 sjacqu01
               </or>
86 88 sjacqu01
            </visibleWhen>
87 88 sjacqu01
         </command>
88 88 sjacqu01
      </menuContribution>
89 88 sjacqu01
      <menuContribution
90 88 sjacqu01
            allPopups="false"
91 324 mdecorde
            locationURI="toolbar:org.txm.rcp.toolbartools">
92 88 sjacqu01
         <command
93 88 sjacqu01
               commandId="ComputeSpecifities"
94 88 sjacqu01
               icon="icons/functions/specificities.png"
95 88 sjacqu01
               style="push"
96 88 sjacqu01
               tooltip="%command.tooltip">
97 88 sjacqu01
            <visibleWhen
98 88 sjacqu01
                  checkEnabled="false">
99 88 sjacqu01
               <or>
100 88 sjacqu01
                  <reference
101 88 sjacqu01
                        definitionId="OnePartitionSelected">
102 88 sjacqu01
                  </reference>
103 88 sjacqu01
                  <reference
104 88 sjacqu01
                        definitionId="OneSubCorpusSelected">
105 88 sjacqu01
                  </reference>
106 88 sjacqu01
                  <reference
107 88 sjacqu01
                        definitionId="OneLexicalTableSelected">
108 88 sjacqu01
                  </reference>
109 88 sjacqu01
               </or>
110 88 sjacqu01
            </visibleWhen>
111 88 sjacqu01
         </command>
112 88 sjacqu01
      </menuContribution>
113 88 sjacqu01
   </extension>
114 88 sjacqu01
   <extension
115 88 sjacqu01
         point="org.eclipse.core.runtime.adapters">
116 88 sjacqu01
      <factory
117 88 sjacqu01
            adaptableType="org.txm.specificities.core.functions.SpecificitesResult"
118 88 sjacqu01
            class="org.txm.specificities.rcp.adapters.SpecificitiesAdapterFactory">
119 88 sjacqu01
         <adapter
120 88 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
121 88 sjacqu01
         </adapter>
122 88 sjacqu01
      </factory>
123 88 sjacqu01
   </extension>
124 88 sjacqu01
   <extension
125 88 sjacqu01
         point="org.eclipse.ui.preferencePages">
126 88 sjacqu01
      <page
127 324 mdecorde
            category="org.txm.rcp.preferences.UserPreferencePage"
128 88 sjacqu01
            class="org.txm.specificities.rcp.preferences.SpecificitiesPreferencePage"
129 88 sjacqu01
            id="org.txm.specificities.rcp.preferences.SpecificitiesPreferencePage"
130 88 sjacqu01
            name="%page.name">
131 88 sjacqu01
      </page>
132 88 sjacqu01
   </extension>
133 266 sjacqu01
   <extension
134 266 sjacqu01
         point="org.eclipse.core.expressions.definitions">
135 266 sjacqu01
      <definition
136 266 sjacqu01
            id="OneSpecificitiesResultSelected">
137 266 sjacqu01
         <with
138 266 sjacqu01
               variable="selection">
139 266 sjacqu01
            <iterate
140 266 sjacqu01
                  ifEmpty="false"
141 266 sjacqu01
                  operator="and">
142 266 sjacqu01
               <instanceof
143 266 sjacqu01
                     value="org.txm.functions.specificities.SpecificitesResult">
144 266 sjacqu01
               </instanceof>
145 266 sjacqu01
            </iterate>
146 266 sjacqu01
         </with>
147 266 sjacqu01
      </definition>
148 266 sjacqu01
      <definition
149 266 sjacqu01
            id="SpecificitiesEditorActive">
150 266 sjacqu01
         <with
151 266 sjacqu01
               variable="activePartId">
152 266 sjacqu01
            <equals
153 266 sjacqu01
                  value="org.txm.specificities.rcp.editors.SpecificitiesTableEditor">
154 266 sjacqu01
            </equals>
155 266 sjacqu01
         </with>
156 266 sjacqu01
      </definition>
157 266 sjacqu01
   </extension>
158 88 sjacqu01
159 88 sjacqu01
</plugin>