Statistiques
| Révision :

root / tmp / org.txm.progression.rcp / plugin.xml @ 3151

Historique | Voir | Annoter | Télécharger (6,94 ko)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>  
4
   <extension
5
         point="org.eclipse.ui.preferencePages">
6
      <page
7
            category="org.txm.rcp.preferences.UserPreferencePage"
8
            class="org.txm.progression.rcp.preferences.ProgressionPreferencePage"
9
            id="org.txm.progression.rcp.preferences.ProgressionPreferencePage"
10
            name="%page.name">
11
      </page>
12
   </extension>
13
   <extension
14
         point="org.eclipse.ui.commands">
15
      <command
16
            categoryId="org.txm.rcp.category.txm"
17
            defaultHandler="org.txm.progression.rcp.handlers.ComputeProgression"
18
            id="org.txm.progression.rcp.handlers.ComputeProgression"
19
            name="%command.name"
20
            returnTypeId="org.txm.progression.core.functions.Progression">
21
      </command>
22
      <command
23
            id="org.txm.progression.rcp.commands.SendToProgression"
24
            name="%command.name.3">
25
         <commandParameter
26
               id="sendToTargetCommandId"
27
               name="%commandParameter.name"
28
               optional="true">
29
         </commandParameter>
30
      </command>
31
   </extension>
32
   <extension
33
         point="org.eclipse.ui.menus">
34
      <menuContribution
35
            allPopups="false"
36
            locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences">
37
         <command
38
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
39
               icon="icons/functions/progression.png"
40
               style="push">
41
            <visibleWhen
42
                  checkEnabled="false">
43
               <or>
44
                  <reference
45
                        definitionId="OneCorpusSelected">
46
                  </reference>
47
               </or>
48
            </visibleWhen>
49
         </command>
50
      </menuContribution>
51
      <menuContribution
52
            locationURI="menu:menu.tools?after=org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences">
53
         <command
54
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
55
               icon="icons/functions/progression.png"
56
               style="push">
57
            <visibleWhen
58
                  checkEnabled="false">
59
               <or>
60
                  <reference
61
                        definitionId="OneCorpusSelected">
62
                  </reference>
63
               </or>
64
            </visibleWhen>
65
         </command>
66
      </menuContribution>
67
      <menuContribution
68
            allPopups="false"
69
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences">
70
         <command
71
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
72
               icon="icons/functions/progression.png"
73
               style="push">
74
            <visibleWhen
75
                  checkEnabled="false">
76
               <or>
77
                  <reference
78
                        definitionId="OneCorpusSelected">
79
                  </reference>
80
               </or>
81
            </visibleWhen>
82
         </command>
83
      </menuContribution>
84
      <menuContribution
85
            locationURI="popup:org.txm.index.rcp.editors.IndexEditor">
86
         <command
87
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
88
               icon="icons/functions/progression.png"
89
               label="%command.name.3"
90
               style="push">
91
         </command>
92
      </menuContribution>
93
      <menuContribution
94
            locationURI="popup:org.txm.index.rcp.editors.PartitionIndexEditor">
95
         <command
96
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
97
               icon="icons/functions/progression.png"
98
               label="%command.name.3"
99
               style="push">
100
         </command>
101
      </menuContribution>
102
      <menuContribution
103
            locationURI="popup:org.txm.index.rcp.editors.LexiconEditor">
104
         <command
105
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
106
               icon="icons/functions/progression.png"
107
               label="%command.name.3"
108
               style="push">
109
         </command>
110
      </menuContribution>
111
      <menuContribution
112
            locationURI="popup:org.txm.internalview.rcp.editors.InternalViewEditor">
113
         <command
114
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
115
               icon="icons/functions/progression.png"
116
               label="%command.name.3"
117
               style="push">
118
         </command>
119
      </menuContribution>
120
   </extension>
121
   <extension
122
         point="org.txm.chartsengine.eventcallback">
123
      <EventCallBack
124
            chartsEngineName="jfreechart_charts_engine"
125
            class="org.txm.progression.rcp.chartsengine.events.ProgressionEventCallBack"
126
            resultDataClass="org.txm.progression.core.functions.Progression">
127
      </EventCallBack>
128
   </extension>
129
   <extension
130
         point="org.eclipse.core.runtime.adapters">
131
      <factory
132
            adaptableType="org.txm.progression.core.functions.Progression"
133
            class="org.txm.progression.rcp.adapters.ProgressionAdapterFactory">
134
         <adapter
135
               type="org.eclipse.ui.model.IWorkbenchAdapter">
136
         </adapter>
137
         <adapter
138
               type="org.eclipse.ui.model.IWorkbenchAdapter2">
139
         </adapter>
140
      </factory>
141
   </extension>
142
   <extension
143
         point="org.eclipse.ui.editors">
144
      <editor
145
            class="org.txm.progression.rcp.editors.ProgressionEditor"
146
            default="false"
147
            icon="icons/functions/progression.png"
148
            id="org.txm.progression.core.functions.Progression"
149
            name="%editor.name">
150
      </editor>
151
   </extension>
152
   <extension
153
         point="org.eclipse.core.expressions.definitions">
154
      <definition
155
            id="OneProgressionSelected">
156
         <with
157
               variable="selection">
158
            <iterate
159
                  ifEmpty="false"
160
                  operator="and">
161
               <instanceof
162
                     value="org.txm.progression.core.functions.Progression">
163
               </instanceof>
164
            </iterate>
165
         </with>
166
      </definition>
167
      <definition
168
            id="ProgressionEditorActive">
169
         <with
170
               variable="activePart">
171
            <instanceof
172
                  value="org.txm.progression.rcp.editors.ProgressionEditor">
173
            </instanceof>
174
         </with>
175
      </definition>
176
   </extension>
177
   <extension
178
         point="org.eclipse.ui.handlers">
179
      <handler
180
            class="org.txm.progression.rcp.handlers.SendProgressionTo"
181
            commandId="org.txm.index.rcp.handlers.ComputeIndex">
182
         <activeWhen>
183
            <and>
184
               <reference
185
                     definitionId="ProgressionEditorActive">
186
               </reference>
187
               <reference
188
                     definitionId="SendSelectionContextNotActive">
189
               </reference>
190
            </and>
191
         </activeWhen>
192
      </handler>
193
   </extension>
194

    
195
</plugin>