Statistics
| Revision:

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

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

    
122
</plugin>