Statistics
| Revision:

root / tmp / org.txm.cooccurrence.rcp / plugin.xml @ 204

History | View | Annotate | Download (3.7 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.eclipse.ui.commands">
6
      <command
7
            categoryId="org.txm.rcpapplication.category.txm"
8
            defaultHandler="org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"
9
            id="ComputeCooccurrences"
10
            name="%command.name.35">
11
      </command>
12
   </extension>
13
   <extension
14
         point="org.eclipse.ui.preferencePages">
15
      <page
16
            category="org.txm.rcpapplication.preferences.UserPreferencePage"
17
            class="org.txm.cooccurrence.rcp.preferences.CoocPreferencePage"
18
            id="org.txm.cooccurrence.rcp.preferences.CoocPreferencePage"
19
            name="%page.name.11">
20
      </page>
21
   </extension>
22
   <extension
23
         point="org.eclipse.core.runtime.adapters">
24
      <factory
25
            adaptableType="org.txm.functions.cooccurrence.Cooccurrence"
26
            class="org.txm.cooccurrence.rcp.adapters.CooccurrenceAdapterFactory">
27
         <adapter
28
               type="org.eclipse.ui.model.IWorkbenchAdapter">
29
         </adapter>
30
      </factory>
31
   </extension>
32
   <extension
33
         point="org.eclipse.ui.menus">
34
      <menuContribution
35
            allPopups="false"
36
            locationURI="popup:org.txm.rcpapplication.views.CorporaView">
37
         <command
38
               commandId="ComputeCooccurrences"
39
               icon="icons/cooccurrences.png"
40
               label="%command.label.96"
41
               style="push"
42
               tooltip="%command.tooltip.57">
43
            <visibleWhen
44
                  checkEnabled="false">
45
               <or>
46
                  <reference
47
                        definitionId="OneCorpusSelected">
48
                  </reference>
49
                  <reference
50
                        definitionId="OneConcordanceSelected">
51
                  </reference>
52
               </or>
53
            </visibleWhen>
54
         </command>
55
      </menuContribution>
56
      <menuContribution
57
            locationURI="menu:menu.tools">
58
         <command
59
               commandId="ComputeCooccurrences"
60
               icon="icons/cooccurrences.png"
61
               label="%command.label.91"
62
               style="push"
63
               tooltip="%command.tooltip.53">
64
            <visibleWhen
65
                  checkEnabled="false">
66
               <or>
67
                  <reference
68
                        definitionId="OneCorpusSelected">
69
                  </reference>
70
                  <reference
71
                        definitionId="OneConcordanceSelected">
72
                  </reference>
73
               </or>
74
            </visibleWhen>
75
         </command>
76
      </menuContribution>
77
      <menuContribution
78
            allPopups="false"
79
            locationURI="toolbar:org.txm.rcpapplication.toolbartools">
80
         <command
81
               commandId="ComputeCooccurrences"
82
               icon="icons/cooccurrences.png"
83
               label="%command.label.96"
84
               style="push"
85
               tooltip="%command.tooltip.57">
86
            <visibleWhen
87
                  checkEnabled="false">
88
               <or>
89
                  <reference
90
                        definitionId="OneCorpusSelected">
91
                  </reference>
92
                  <reference
93
                        definitionId="OneConcordanceSelected">
94
                  </reference>
95
               </or>
96
            </visibleWhen>
97
         </command>
98
      </menuContribution>
99
   </extension>
100
   <extension
101
         point="org.eclipse.ui.editors">
102
      <editor
103
            class="org.txm.cooccurrence.rcp.editors.CooccurrencesEditor"
104
            default="false"
105
            icon="icons/cooccurrences.png"
106
            id="CooccurrencesEditor"
107
            name="%editor.name.9">
108
      </editor>
109
   </extension>
110

    
111
</plugin>