Statistics
| Revision:

root / tmp / org.txm.partition.rcp / plugin.xml @ 564

History | View | Annotate | Download (4 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4

    
5
   <extension
6
         point="org.eclipse.ui.commands">
7
      <command
8
            categoryId="org.txm.rcp.category.txm"
9
            defaultHandler="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"
10
            id="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"
11
            name="%command.name">
12
      </command>
13
   </extension>
14
   <extension
15
         point="org.eclipse.ui.menus">
16
      <menuContribution
17
            allPopups="false"
18
            locationURI="toolbar:org.txm.rcp.toolbartools">
19
         <command
20
               commandId="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"
21
               icon="icons/silk_dimensions.png"
22
               style="push"
23
               tooltip="%command.tooltip">
24
            <visibleWhen
25
                  checkEnabled="false">
26
               <or>
27
                  <reference
28
                        definitionId="OnePartitionSelected">
29
                  </reference>
30
               </or>
31
            </visibleWhen>
32
         </command>
33
      </menuContribution>
34
      <menuContribution
35
            allPopups="false"
36
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
37
         <command
38
               commandId="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"
39
               icon="icons/silk_dimensions.png"
40
               style="push">
41
            <visibleWhen
42
                  checkEnabled="false">
43
               <or>
44
                  <reference
45
                        definitionId="OnePartitionSelected">
46
                  </reference>
47
               </or>
48
            </visibleWhen>
49
         </command>
50
         <command
51
               commandId="CloneTXMResult"
52
               style="push">
53
            <visibleWhen
54
                  checkEnabled="false">
55
               <or>
56
                  <reference
57
                        definitionId="OneChartResultSelected">
58
                  </reference>
59
               </or>
60
            </visibleWhen>
61
         </command>
62
      </menuContribution>
63
      <menuContribution
64
            locationURI="menu:menu.tools">
65
         <command
66
               commandId="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"
67
               icon="icons/silk_dimensions.png"
68
               style="push">
69
            <visibleWhen
70
                  checkEnabled="false">
71
               <or>
72
                  <reference
73
                        definitionId="OnePartitionSelected">
74
                  </reference>
75
               </or>
76
            </visibleWhen>
77
         </command>
78
      </menuContribution>
79
   </extension>
80
   <extension
81
         point="org.eclipse.ui.preferencePages">
82
      <page
83
            category="org.txm.rcp.preferences.UserPreferencePage"
84
            class="org.txm.partition.rcp.preferences.PartitionPreferencePage"
85
            id="org.txm.rcp.partition.preferences.PartitionPreferencePage"
86
            name="%page.name">
87
      </page>
88
   </extension>
89
   <extension
90
         point="org.eclipse.ui.editors">
91
      <editor
92
            class="org.txm.partition.rcp.editors.PartitionDimensionsEditor"
93
            default="false"
94
            icon="icons/silk_dimensions.png"
95
            id="org.txm.partition.core.functions.PartitionDimensions"
96
            name="%editor.name">
97
      </editor>
98
   </extension>
99
   <extension
100
         point="org.eclipse.core.runtime.adapters">
101
      <factory
102
            adaptableType="org.txm.partition.core.functions.PartitionDimensions"
103
            class="org.txm.partition.rcp.adapters.PartitionDimensionsAdapterFactory">
104
         <adapter
105
               type="org.eclipse.ui.model.IWorkbenchAdapter">
106
         </adapter>
107
      </factory>
108
      <factory
109
            adaptableType="org.txm.searchengine.cqp.corpus.Partition"
110
            class="org.txm.partition.rcp.adapters.PartitionAdapterFactory">
111
         <adapter
112
               type="org.eclipse.ui.model.IWorkbenchAdapter">
113
         </adapter>
114
      </factory>
115
   </extension>
116

    
117
</plugin>