Statistics
| Revision:

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

History | View | Annotate | Download (4.2 kB)

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
      </command>
21
   </extension>
22
   <extension
23
         point="org.eclipse.ui.menus">
24
      <menuContribution
25
            allPopups="false"
26
            locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences">
27
         <command
28
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
29
               icon="icons/functions/progression.png"
30
               style="push"
31
               tooltip="%command.tooltip">
32
            <visibleWhen
33
                  checkEnabled="false">
34
               <or>
35
                  <reference
36
                        definitionId="OneCorpusSelected">
37
                  </reference>
38
               </or>
39
            </visibleWhen>
40
         </command>
41
      </menuContribution>
42
      <menuContribution
43
            allPopups="false"
44
            locationURI="popup:org.txm.synopticedition.rcp.views.corpora.CorporaView">
45
         <command
46
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
47
               icon="icons/functions/progression.png"
48
               style="push">
49
            <visibleWhen
50
                  checkEnabled="false">
51
               <or>
52
                  <reference
53
                        definitionId="OneCorpusSelected">
54
                  </reference>
55
               </or>
56
            </visibleWhen>
57
         </command>
58
      </menuContribution>
59
      <menuContribution
60
            locationURI="menu:menu.tools">
61
         <command
62
               commandId="org.txm.progression.rcp.handlers.ComputeProgression"
63
               icon="icons/functions/progression.png"
64
               style="push">
65
            <visibleWhen
66
                  checkEnabled="false">
67
               <or>
68
                  <reference
69
                        definitionId="OneCorpusSelected">
70
                  </reference>
71
               </or>
72
            </visibleWhen>
73
         </command>
74
      </menuContribution>
75
   </extension>
76
   <extension
77
         point="org.txm.chartsengine.eventcallback">
78
      <EventCallBack
79
            chartsEngineName="jfreechart_charts_engine"
80
            class="org.txm.progression.rcp.chartsengine.events.ProgressionEventCallBack"
81
            resultDataClass="org.txm.progression.core.functions.Progression">
82
      </EventCallBack>
83
   </extension>
84
   <extension
85
         point="org.eclipse.core.runtime.adapters">
86
      <factory
87
            adaptableType="org.txm.progression.core.functions.Progression"
88
            class="org.txm.progression.rcp.adapters.ProgressionAdapterFactory">
89
         <adapter
90
               type="org.eclipse.ui.model.IWorkbenchAdapter">
91
         </adapter>
92
      </factory>
93
   </extension>
94
   <extension
95
         point="org.eclipse.ui.editors">
96
      <editor
97
            class="org.txm.progression.rcp.editors.ProgressionEditor"
98
            default="false"
99
            icon="icons/functions/progression.png"
100
            id="org.txm.progression.core.functions.Progression"
101
            name="Progression">
102
      </editor>
103
   </extension>
104
   <extension
105
         point="org.eclipse.core.expressions.definitions">
106
      <definition
107
            id="OneProgressionSelected">
108
         <with
109
               variable="selection">
110
            <iterate
111
                  ifEmpty="false"
112
                  operator="and">
113
               <instanceof
114
                     value="org.txm.progression.core.functions.Progression">
115
               </instanceof>
116
            </iterate>
117
         </with>
118
      </definition>
119
   </extension>
120

    
121
</plugin>