Statistics
| Revision:

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

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