Statistics
| Revision:

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

History | View | Annotate | Download (4.5 kB)

1 120 sjacqu01
<?xml version="1.0" encoding="UTF-8"?>
2 120 sjacqu01
<?eclipse version="3.4"?>
3 120 sjacqu01
<plugin>
4 120 sjacqu01
5 120 sjacqu01
   <extension
6 120 sjacqu01
         point="org.eclipse.ui.commands">
7 120 sjacqu01
      <command
8 324 mdecorde
            categoryId="org.txm.rcp.category.txm"
9 120 sjacqu01
            defaultHandler="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"
10 528 sjacqu01
            id="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"
11 120 sjacqu01
            name="%command.name">
12 120 sjacqu01
      </command>
13 120 sjacqu01
   </extension>
14 120 sjacqu01
   <extension
15 120 sjacqu01
         point="org.eclipse.ui.menus">
16 120 sjacqu01
      <menuContribution
17 698 mdecorde
            locationURI="menu:menu.corpus">
18 120 sjacqu01
         <command
19 528 sjacqu01
               commandId="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"
20 230 sjacqu01
               icon="icons/silk_dimensions.png"
21 664 sjacqu01
               style="push">
22 120 sjacqu01
            <visibleWhen
23 120 sjacqu01
                  checkEnabled="false">
24 120 sjacqu01
               <or>
25 120 sjacqu01
                  <reference
26 120 sjacqu01
                        definitionId="OnePartitionSelected">
27 120 sjacqu01
                  </reference>
28 120 sjacqu01
               </or>
29 120 sjacqu01
            </visibleWhen>
30 120 sjacqu01
         </command>
31 120 sjacqu01
      </menuContribution>
32 120 sjacqu01
      <menuContribution
33 120 sjacqu01
            allPopups="false"
34 664 sjacqu01
            locationURI="toolbar:org.txm.rcp.toolbartools">
35 120 sjacqu01
         <command
36 528 sjacqu01
               commandId="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"
37 230 sjacqu01
               icon="icons/silk_dimensions.png"
38 664 sjacqu01
               style="push"
39 664 sjacqu01
               tooltip="%command.tooltip">
40 120 sjacqu01
            <visibleWhen
41 120 sjacqu01
                  checkEnabled="false">
42 120 sjacqu01
               <or>
43 120 sjacqu01
                  <reference
44 120 sjacqu01
                        definitionId="OnePartitionSelected">
45 120 sjacqu01
                  </reference>
46 120 sjacqu01
               </or>
47 120 sjacqu01
            </visibleWhen>
48 120 sjacqu01
         </command>
49 664 sjacqu01
      </menuContribution>
50 664 sjacqu01
      <menuContribution
51 664 sjacqu01
            allPopups="false"
52 698 mdecorde
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.read">
53 230 sjacqu01
         <command
54 664 sjacqu01
               commandId="org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"
55 664 sjacqu01
               icon="icons/silk_dimensions.png"
56 230 sjacqu01
               style="push">
57 230 sjacqu01
            <visibleWhen
58 230 sjacqu01
                  checkEnabled="false">
59 230 sjacqu01
               <or>
60 230 sjacqu01
                  <reference
61 664 sjacqu01
                        definitionId="OnePartitionSelected">
62 230 sjacqu01
                  </reference>
63 230 sjacqu01
               </or>
64 230 sjacqu01
            </visibleWhen>
65 230 sjacqu01
         </command>
66 120 sjacqu01
         <command
67 664 sjacqu01
               commandId="CloneTXMResult"
68 120 sjacqu01
               style="push">
69 120 sjacqu01
            <visibleWhen
70 120 sjacqu01
                  checkEnabled="false">
71 120 sjacqu01
               <or>
72 120 sjacqu01
                  <reference
73 664 sjacqu01
                        definitionId="OneChartResultSelected">
74 120 sjacqu01
                  </reference>
75 120 sjacqu01
               </or>
76 120 sjacqu01
            </visibleWhen>
77 120 sjacqu01
         </command>
78 120 sjacqu01
      </menuContribution>
79 120 sjacqu01
   </extension>
80 120 sjacqu01
   <extension
81 120 sjacqu01
         point="org.eclipse.ui.preferencePages">
82 120 sjacqu01
      <page
83 324 mdecorde
            category="org.txm.rcp.preferences.UserPreferencePage"
84 120 sjacqu01
            class="org.txm.partition.rcp.preferences.PartitionPreferencePage"
85 120 sjacqu01
            id="org.txm.rcp.partition.preferences.PartitionPreferencePage"
86 120 sjacqu01
            name="%page.name">
87 120 sjacqu01
      </page>
88 120 sjacqu01
   </extension>
89 120 sjacqu01
   <extension
90 120 sjacqu01
         point="org.eclipse.ui.editors">
91 120 sjacqu01
      <editor
92 528 sjacqu01
            class="org.txm.partition.rcp.editors.PartitionDimensionsEditor"
93 120 sjacqu01
            default="false"
94 230 sjacqu01
            icon="icons/silk_dimensions.png"
95 230 sjacqu01
            id="org.txm.partition.core.functions.PartitionDimensions"
96 120 sjacqu01
            name="%editor.name">
97 120 sjacqu01
      </editor>
98 120 sjacqu01
   </extension>
99 230 sjacqu01
   <extension
100 230 sjacqu01
         point="org.eclipse.core.runtime.adapters">
101 230 sjacqu01
      <factory
102 230 sjacqu01
            adaptableType="org.txm.partition.core.functions.PartitionDimensions"
103 230 sjacqu01
            class="org.txm.partition.rcp.adapters.PartitionDimensionsAdapterFactory">
104 230 sjacqu01
         <adapter
105 230 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
106 230 sjacqu01
         </adapter>
107 230 sjacqu01
      </factory>
108 564 sjacqu01
      <factory
109 564 sjacqu01
            adaptableType="org.txm.searchengine.cqp.corpus.Partition"
110 564 sjacqu01
            class="org.txm.partition.rcp.adapters.PartitionAdapterFactory">
111 564 sjacqu01
         <adapter
112 564 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
113 564 sjacqu01
         </adapter>
114 564 sjacqu01
      </factory>
115 230 sjacqu01
   </extension>
116 667 sjacqu01
   <extension
117 667 sjacqu01
         point="org.eclipse.core.expressions.definitions">
118 667 sjacqu01
      <definition
119 667 sjacqu01
            id="OnePartitionSelected">
120 667 sjacqu01
         <with
121 667 sjacqu01
               variable="selection">
122 667 sjacqu01
            <iterate
123 667 sjacqu01
                  ifEmpty="false"
124 667 sjacqu01
                  operator="and">
125 667 sjacqu01
               <instanceof
126 667 sjacqu01
                     value="org.txm.searchengine.cqp.corpus.Partition">
127 667 sjacqu01
               </instanceof>
128 667 sjacqu01
            </iterate>
129 667 sjacqu01
         </with>
130 667 sjacqu01
      </definition>
131 667 sjacqu01
   </extension>
132 120 sjacqu01
133 120 sjacqu01
</plugin>