Révision 3819 TXM/trunk/bundles/org.txm.lexicaltable.rcp/plugin.xml
plugin.xml (revision 3819) | ||
---|---|---|
12 | 12 |
</extension> |
13 | 13 |
<extension |
14 | 14 |
point="org.eclipse.ui.menus"> |
15 |
<menuContribution |
|
16 |
locationURI="menu:menu.file.import"> |
|
17 |
<command |
|
18 |
commandId="org.txm.lexicaltable.rcp.handlers.ImportTable" |
|
19 |
icon="platform:/plugin/org.txm.rcp/icons/functions/import_data.png" |
|
20 |
label="Data..." |
|
21 |
style="push"> |
|
22 |
<visibleWhen |
|
23 |
checkEnabled="false"> |
|
24 |
<reference |
|
25 |
definitionId="OneLexicalTableSelected"> |
|
26 |
</reference> |
|
27 |
</visibleWhen> |
|
28 |
</command> |
|
29 |
</menuContribution> |
|
15 | 30 |
<menuContribution |
16 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.manage">
|
|
31 |
locationURI="menu:menu.corpus">
|
|
17 | 32 |
<command |
18 | 33 |
commandId="org.txm.lexicaltable.rcp.handlers.ComputeLexicalTable" |
19 | 34 |
icon="icons/lexicaltable.png" |
... | ... | |
33 | 48 |
</or> |
34 | 49 |
</visibleWhen> |
35 | 50 |
</command> |
36 |
<command |
|
37 |
commandId="org.txm.lexicaltable.rcp.handlers.ImportTable" |
|
38 |
icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png" |
|
39 |
style="push"> |
|
40 |
<visibleWhen |
|
41 |
checkEnabled="false"> |
|
42 |
<reference |
|
43 |
definitionId="OneLexicalTableSelected"> |
|
44 |
</reference> |
|
45 |
</visibleWhen> |
|
46 |
</command> |
|
47 | 51 |
</menuContribution> |
48 | 52 |
<menuContribution |
49 |
locationURI="menu:menu.corpus"> |
|
53 |
allPopups="false" |
|
54 |
locationURI="toolbar:org.txm.rcp.toolbartools"> |
|
50 | 55 |
<command |
51 | 56 |
commandId="org.txm.lexicaltable.rcp.handlers.ComputeLexicalTable" |
52 | 57 |
icon="icons/lexicaltable.png" |
... | ... | |
55 | 60 |
checkEnabled="false"> |
56 | 61 |
<or> |
57 | 62 |
<reference |
58 |
definitionId="OnePartitionSelected"> |
|
59 |
</reference> |
|
60 |
<reference |
|
61 | 63 |
definitionId="OnePartitionIndexSelected"> |
62 | 64 |
</reference> |
63 | 65 |
<reference |
... | ... | |
68 | 70 |
</command> |
69 | 71 |
<command |
70 | 72 |
commandId="org.txm.lexicaltable.rcp.handlers.ImportTable" |
71 |
icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png"
|
|
73 |
icon="platform:/plugin/org.txm.rcp/icons/functions/import_data.png"
|
|
72 | 74 |
style="push"> |
73 | 75 |
<visibleWhen |
74 | 76 |
checkEnabled="false"> |
... | ... | |
80 | 82 |
</menuContribution> |
81 | 83 |
<menuContribution |
82 | 84 |
allPopups="false" |
83 |
locationURI="toolbar:org.txm.rcp.toolbartools"> |
|
85 |
locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart">
|
|
84 | 86 |
<command |
85 | 87 |
commandId="org.txm.lexicaltable.rcp.handlers.ComputeLexicalTable" |
86 | 88 |
icon="icons/lexicaltable.png" |
89 |
id="ComputeLexicalTableFromPartition" |
|
87 | 90 |
style="push"> |
88 | 91 |
<visibleWhen |
89 | 92 |
checkEnabled="false"> |
90 | 93 |
<or> |
91 | 94 |
<reference |
92 |
definitionId="OnePartitionIndexSelected">
|
|
95 |
definitionId="OnePartitionSelected"> |
|
93 | 96 |
</reference> |
94 |
<reference |
|
95 |
definitionId="OneLexicalTableAbleSelected"> |
|
96 |
</reference> |
|
97 | 97 |
</or> |
98 | 98 |
</visibleWhen> |
99 | 99 |
</command> |
100 |
<command |
|
101 |
commandId="org.txm.lexicaltable.rcp.handlers.ImportTable" |
|
102 |
icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png" |
|
103 |
style="push"> |
|
104 |
<visibleWhen |
|
105 |
checkEnabled="false"> |
|
106 |
<reference |
|
107 |
definitionId="OneLexicalTableSelected"> |
|
108 |
</reference> |
|
109 |
</visibleWhen> |
|
110 |
</command> |
|
111 | 100 |
</menuContribution> |
112 | 101 |
<menuContribution |
113 |
allPopups="false" |
|
114 |
locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"> |
|
102 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.manage"> |
|
115 | 103 |
<command |
116 | 104 |
commandId="org.txm.lexicaltable.rcp.handlers.ComputeLexicalTable" |
117 | 105 |
icon="icons/lexicaltable.png" |
118 |
id="ComputeLexicalTableFromPartition" |
|
119 | 106 |
style="push"> |
120 | 107 |
<visibleWhen |
121 | 108 |
checkEnabled="false"> |
... | ... | |
123 | 110 |
<reference |
124 | 111 |
definitionId="OnePartitionSelected"> |
125 | 112 |
</reference> |
113 |
<reference |
|
114 |
definitionId="OnePartitionIndexSelected"> |
|
115 |
</reference> |
|
116 |
<reference |
|
117 |
definitionId="OneLexicalTableAbleSelected"> |
|
118 |
</reference> |
|
126 | 119 |
</or> |
127 | 120 |
</visibleWhen> |
128 | 121 |
</command> |
129 | 122 |
</menuContribution> |
130 | 123 |
<menuContribution |
124 |
locationURI="popup:org.txm.rcp.corporaview.import"> |
|
125 |
<command |
|
126 |
commandId="org.txm.lexicaltable.rcp.handlers.ImportTable" |
|
127 |
icon="platform:/plugin/org.txm.rcp/icons/functions/import_data.png" |
|
128 |
label="Data..." |
|
129 |
style="push"> |
|
130 |
<visibleWhen |
|
131 |
checkEnabled="false"> |
|
132 |
<reference |
|
133 |
definitionId="OneLexicalTableSelected"> |
|
134 |
</reference> |
|
135 |
</visibleWhen> |
|
136 |
</command> |
|
137 |
</menuContribution> |
|
138 |
<menuContribution |
|
131 | 139 |
locationURI="popup:org.txm.lexicaltable.rcp.editors.LexicalTableEditor"> |
132 | 140 |
<command |
133 | 141 |
commandId="org.txm.lexicaltable.rcp.handlers.CopyLines" |
... | ... | |
149 | 157 |
</separator> |
150 | 158 |
<command |
151 | 159 |
commandId="org.txm.lexicaltable.rcp.handlers.ImportTable" |
152 |
icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png"
|
|
160 |
icon="platform:/plugin/org.txm.rcp/icons/functions/import_data.png"
|
|
153 | 161 |
style="push"> |
154 | 162 |
</command> |
163 |
<command |
|
164 |
commandId="org.txm.rcp.commands.function.ExportResultFromEditor" |
|
165 |
icon="platform:/plugin/org.txm.rcp/icons/functions/export_data.png" |
|
166 |
label="Data..." |
|
167 |
style="push"> |
|
168 |
<visibleWhen |
|
169 |
checkEnabled="false"> |
|
170 |
<and> |
|
171 |
<reference |
|
172 |
definitionId="OneTXMResultSelected"> |
|
173 |
</reference> |
|
174 |
<not> |
|
175 |
<or> |
|
176 |
<reference |
|
177 |
definitionId="OnePartitionSelected"> |
|
178 |
</reference> |
|
179 |
<reference |
|
180 |
definitionId="OneCorpusSelected"> |
|
181 |
</reference> |
|
182 |
</or> |
|
183 |
</not> |
|
184 |
</and> |
|
185 |
</visibleWhen> |
|
186 |
</command> |
|
155 | 187 |
</menuContribution> |
156 | 188 |
|
157 | 189 |
</extension> |
Formats disponibles : Unified diff