Statistics
| Revision:

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

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