root / tmp / org.txm.partition.rcp / plugin.xml @ 2558
History | View | Annotate | Download (4.4 kB)
1 | 120 | sjacqu01 | <?xml version="1.0" encoding="UTF-8"?>
|
---|---|---|---|
2 | 120 | sjacqu01 | <?eclipse version="3.4"?>
|
3 | 2217 | mdecorde | <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 | </menuContribution>
|
68 | 120 | sjacqu01 | </extension>
|
69 | 120 | sjacqu01 | <extension
|
70 | 120 | sjacqu01 | point="org.eclipse.ui.preferencePages"> |
71 | 120 | sjacqu01 | <page
|
72 | 324 | mdecorde | category="org.txm.rcp.preferences.UserPreferencePage" |
73 | 120 | sjacqu01 | class="org.txm.partition.rcp.preferences.PartitionPreferencePage" |
74 | 120 | sjacqu01 | id="org.txm.rcp.partition.preferences.PartitionPreferencePage" |
75 | 120 | sjacqu01 | name="%page.name"> |
76 | 120 | sjacqu01 | </page>
|
77 | 120 | sjacqu01 | </extension>
|
78 | 120 | sjacqu01 | <extension
|
79 | 120 | sjacqu01 | point="org.eclipse.ui.editors"> |
80 | 120 | sjacqu01 | <editor
|
81 | 528 | sjacqu01 | class="org.txm.partition.rcp.editors.PartitionDimensionsEditor" |
82 | 120 | sjacqu01 | default="false" |
83 | 932 | sjacqu01 | icon="icons/dimensions.png" |
84 | 230 | sjacqu01 | id="org.txm.partition.core.functions.PartitionDimensions" |
85 | 120 | sjacqu01 | name="%editor.name"> |
86 | 120 | sjacqu01 | </editor>
|
87 | 120 | sjacqu01 | </extension>
|
88 | 230 | sjacqu01 | <extension
|
89 | 230 | sjacqu01 | point="org.eclipse.core.runtime.adapters"> |
90 | 230 | sjacqu01 | <factory
|
91 | 230 | sjacqu01 | adaptableType="org.txm.partition.core.functions.PartitionDimensions" |
92 | 230 | sjacqu01 | class="org.txm.partition.rcp.adapters.PartitionDimensionsAdapterFactory"> |
93 | 230 | sjacqu01 | <adapter
|
94 | 230 | sjacqu01 | type="org.eclipse.ui.model.IWorkbenchAdapter"> |
95 | 230 | sjacqu01 | </adapter>
|
96 | 1005 | sjacqu01 | <adapter
|
97 | 1005 | sjacqu01 | type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
98 | 1005 | sjacqu01 | </adapter>
|
99 | 230 | sjacqu01 | </factory>
|
100 | 564 | sjacqu01 | <factory
|
101 | 564 | sjacqu01 | adaptableType="org.txm.searchengine.cqp.corpus.Partition" |
102 | 564 | sjacqu01 | class="org.txm.partition.rcp.adapters.PartitionAdapterFactory"> |
103 | 564 | sjacqu01 | <adapter
|
104 | 564 | sjacqu01 | type="org.eclipse.ui.model.IWorkbenchAdapter"> |
105 | 564 | sjacqu01 | </adapter>
|
106 | 1005 | sjacqu01 | <adapter
|
107 | 1005 | sjacqu01 | type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
108 | 1005 | sjacqu01 | </adapter>
|
109 | 564 | sjacqu01 | </factory>
|
110 | 230 | sjacqu01 | </extension>
|
111 | 667 | sjacqu01 | <extension
|
112 | 667 | sjacqu01 | point="org.eclipse.core.expressions.definitions"> |
113 | 667 | sjacqu01 | <definition
|
114 | 667 | sjacqu01 | id="OnePartitionSelected"> |
115 | 667 | sjacqu01 | <with
|
116 | 667 | sjacqu01 | variable="selection"> |
117 | 667 | sjacqu01 | <iterate
|
118 | 667 | sjacqu01 | ifEmpty="false" |
119 | 667 | sjacqu01 | operator="and"> |
120 | 667 | sjacqu01 | <instanceof
|
121 | 667 | sjacqu01 | value="org.txm.searchengine.cqp.corpus.Partition"> |
122 | 667 | sjacqu01 | </instanceof>
|
123 | 667 | sjacqu01 | </iterate>
|
124 | 667 | sjacqu01 | </with>
|
125 | 667 | sjacqu01 | </definition>
|
126 | 667 | sjacqu01 | </extension>
|
127 | 120 | sjacqu01 | |
128 | 120 | sjacqu01 | </plugin> |