Statistics
| Revision:

root / tmp / org.txm.information.rcp / plugin.xml @ 709

History | View | Annotate | Download (3.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.information.rcp.preferences.InformationPreferencePage"
9
            id="org.txm.information.rcp.preferences.InformationPreferencePage"
10
            name="%command.name">
11
      </page>
12
   </extension>
13
   <extension
14
         point="org.eclipse.ui.commands">
15
      <command
16
            defaultHandler="org.txm.information.rcp.handlers.ComputeInformation"
17
            id="org.txm.information.rcp.handlers.ComputeInformation"
18
            name="%command.name">
19
      </command>
20
   </extension>
21
   <extension
22
         point="org.eclipse.ui.editors">
23
      <editor
24
            class="org.txm.information.rcp.editors.InformationEditor"
25
            default="false"
26
            icon="icons/functions/information.png"
27
            id="org.txm.information.rcp.editors.InformationEditor"
28
            name="%command.name">
29
      </editor>
30
   </extension>
31
   <extension
32
         point="org.eclipse.core.runtime.adapters">
33
      <factory
34
            adaptableType="org.txm.information.core.functions.Information"
35
            class="org.txm.information.rcp.adapters.InformationAdapterFactory">
36
         <adapter
37
               type="org.eclipse.ui.model.IWorkbenchAdapter">
38
         </adapter>
39
      </factory>
40
   </extension>
41
   <extension
42
         point="org.eclipse.ui.menus">
43
      <menuContribution
44
            locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.synopticedition.rcp.handlers.OpenEdition">
45
         <command
46
               commandId="org.txm.information.rcp.handlers.ComputeInformation"
47
               icon="icons/functions/information.png"
48
               style="push"
49
               tooltip="%command.name">
50
            <visibleWhen
51
                  checkEnabled="false">
52
               <or>
53
                  <reference
54
                        definitionId="OneCorpusSelected">
55
                  </reference>
56
               </or>
57
            </visibleWhen>
58
         </command>
59
      </menuContribution>
60
      <menuContribution
61
            locationURI="menu:menu.corpus?after=menu.corpus.read">
62
         <command
63
               commandId="org.txm.information.rcp.handlers.ComputeInformation"
64
               icon="icons/functions/information.png"
65
               style="push">
66
            <visibleWhen
67
                  checkEnabled="false">
68
               <reference
69
                     definitionId="OneCorpusSelected">
70
               </reference>
71
            </visibleWhen>
72
         </command>
73
      </menuContribution>
74
      <menuContribution
75
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.read">
76
         <command
77
               commandId="org.txm.information.rcp.handlers.ComputeInformation"
78
               icon="icons/functions/information.png"
79
               style="push">
80
            <visibleWhen
81
                  checkEnabled="false">
82
               <reference
83
                     definitionId="OneCorpusSelected">
84
               </reference>
85
            </visibleWhen>
86
         </command>
87
      </menuContribution>
88
   </extension>
89
</plugin>