Statistics
| Revision:

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

History | View | Annotate | Download (3.1 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.rcpapplication.category.txm"
9
            defaultHandler="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"
10
            id="ComputePartitionDimensionsBarChart"
11
            name="%command.name">
12
      </command>
13
   </extension>
14
   <extension
15
         point="org.eclipse.ui.handlers">
16
      <handler
17
            commandId="ComputePartitionDimensionsBarChart"
18
            class="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart">
19
      </handler>
20
   </extension>
21
   <extension
22
         point="org.eclipse.ui.menus">
23
      <menuContribution
24
            allPopups="false"
25
            locationURI="toolbar:org.txm.rcpapplication.toolbartools">
26
         <command
27
               commandId="ComputePartitionDimensionsBarChart"
28
               icon="icons/dimensions.png"
29
               style="push"
30
               tooltip="%command.tooltip">
31
            <visibleWhen
32
                  checkEnabled="false">
33
               <or>
34
                  <reference
35
                        definitionId="OnePartitionSelected">
36
                  </reference>
37
               </or>
38
            </visibleWhen>
39
         </command>
40
      </menuContribution>
41
      <menuContribution
42
            allPopups="false"
43
            locationURI="popup:org.txm.rcpapplication.views.CorporaView">
44
         <command
45
               commandId="ComputePartitionDimensionsBarChart"
46
               icon="icons/dimensions.png"
47
               style="push">
48
            <visibleWhen
49
                  checkEnabled="false">
50
               <or>
51
                  <reference
52
                        definitionId="OnePartitionSelected">
53
                  </reference>
54
               </or>
55
            </visibleWhen>
56
         </command>
57
      </menuContribution>
58
      <menuContribution
59
            locationURI="menu:menu.tools">
60
         <command
61
               commandId="ComputePartitionDimensionsBarChart"
62
               icon="icons/dimensions.png"
63
               style="push">
64
            <visibleWhen
65
                  checkEnabled="false">
66
               <or>
67
                  <reference
68
                        definitionId="OnePartitionSelected">
69
                  </reference>
70
               </or>
71
            </visibleWhen>
72
         </command>
73
      </menuContribution>
74
   </extension>
75
   <extension
76
         point="org.eclipse.ui.preferencePages">
77
      <page
78
            category="org.txm.rcpapplication.preferences.UserPreferencePage"
79
            class="org.txm.partition.rcp.preferences.PartitionPreferencePage"
80
            id="org.txm.rcp.partition.preferences.PartitionPreferencePage"
81
            name="%page.name">
82
      </page>
83
   </extension>
84
   <extension
85
         point="org.eclipse.ui.editors">
86
      <editor
87
            class="org.txm.chartsengine.rcp.editors.ChartEditorPart"
88
            default="false"
89
            icon="icons/dimensions.png"
90
            id="org.txm.searchengine.cqp.corpus.Partition"
91
            name="%editor.name">
92
      </editor>
93
   </extension>
94

    
95
</plugin>