Statistics
| Revision:

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

History | View | Annotate | Download (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.information.rcp.preferences.InformationPreferencePage"
9
            id="org.txm.information.rcp.preferences.InformationPreferencePage"
10
            name="%page.name.9">
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="Information">
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="Information">
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">
45
         <command
46
               commandId="org.txm.information.rcp.handlers.ComputeInformation"
47
               icon="icons/functions/information.png"
48
               style="push"
49
               tooltip="Information">
50
            <visibleWhen
51
                  checkEnabled="false">
52
               <reference
53
                     definitionId="OneCorpusSelected">
54
               </reference>
55
            </visibleWhen>
56
         </command>
57
      </menuContribution>
58
      <menuContribution
59
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
60
         <command
61
               commandId="org.txm.information.rcp.handlers.ComputeInformation"
62
               icon="icons/functions/information.png"
63
               style="push">
64
            <visibleWhen
65
                  checkEnabled="false">
66
               <reference
67
                     definitionId="OneCorpusSelected">
68
               </reference>
69
            </visibleWhen>
70
         </command>
71
      </menuContribution>
72
      <menuContribution
73
            locationURI="menu:menu.corpus">
74
         <command
75
               commandId="org.txm.information.rcp.handlers.ComputeInformation"
76
               icon="icons/functions/information.png"
77
               style="push">
78
            <visibleWhen
79
                  checkEnabled="false">
80
               <reference
81
                     definitionId="OneCorpusSelected">
82
               </reference>
83
            </visibleWhen>
84
         </command>
85
      </menuContribution>
86
   </extension>
87
</plugin>