root / tmp / org.txm.lexicaltable.rcp / plugin.xml @ 364
History | View | Annotate | Download (5.6 kB)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<?eclipse version="3.4"?>
|
3 |
<plugin>
|
4 |
<extension
|
5 |
point="org.eclipse.ui.preferencePages"> |
6 |
<page
|
7 |
category="org.txm.rcp.preferences.UserPreferencePage" |
8 |
class="org.txm.lexicaltable.rcp.preferences.LexicalTablePreferencePage" |
9 |
id="org.txm.lexicaltable.rcp.preferences.LexicalTablePreferencePage" |
10 |
name="%page.name"> |
11 |
</page>
|
12 |
</extension>
|
13 |
<extension
|
14 |
point="org.eclipse.ui.menus"> |
15 |
<menuContribution
|
16 |
locationURI="popup:org.txm.rcp.views.CorporaView"> |
17 |
<command
|
18 |
commandId="ComputeLexicalTable" |
19 |
icon="icons/lexicaltable.png" |
20 |
style="push"> |
21 |
<visibleWhen
|
22 |
checkEnabled="false"> |
23 |
<or>
|
24 |
<reference
|
25 |
definitionId="OnePartitionSelected"> |
26 |
</reference>
|
27 |
<reference
|
28 |
definitionId="OneIndexSelected"> |
29 |
</reference>
|
30 |
<reference
|
31 |
definitionId="OneLexicalTableAbleSelected"> |
32 |
</reference>
|
33 |
</or>
|
34 |
</visibleWhen>
|
35 |
</command>
|
36 |
</menuContribution>
|
37 |
<menuContribution
|
38 |
locationURI="menu:menu.tools"> |
39 |
<command
|
40 |
commandId="ComputeLexicalTable" |
41 |
icon="icons/lexicaltable.png" |
42 |
style="push"> |
43 |
<visibleWhen
|
44 |
checkEnabled="false"> |
45 |
<or>
|
46 |
<reference
|
47 |
definitionId="OnePartitionSelected"> |
48 |
</reference>
|
49 |
<reference
|
50 |
definitionId="OneIndexSelected"> |
51 |
</reference>
|
52 |
<reference
|
53 |
definitionId="OneLexicalTableAbleSelected"> |
54 |
</reference>
|
55 |
</or>
|
56 |
</visibleWhen>
|
57 |
</command>
|
58 |
</menuContribution>
|
59 |
<menuContribution
|
60 |
allPopups="false" |
61 |
locationURI="toolbar:org.txm.rcp.toolbartools"> |
62 |
<command
|
63 |
commandId="ComputeLexicalTable" |
64 |
icon="icons/lexicaltable.png" |
65 |
style="push" |
66 |
tooltip="%command.tooltip"> |
67 |
<visibleWhen
|
68 |
checkEnabled="false"> |
69 |
<or>
|
70 |
<reference
|
71 |
definitionId="OnePartitionSelected"> |
72 |
</reference>
|
73 |
<reference
|
74 |
definitionId="OneIndexSelected"> |
75 |
</reference>
|
76 |
<reference
|
77 |
definitionId="OneLexicalTableAbleSelected"> |
78 |
</reference>
|
79 |
</or>
|
80 |
</visibleWhen>
|
81 |
</command>
|
82 |
</menuContribution>
|
83 |
<menuContribution
|
84 |
locationURI="popup:LexicalTableEditor"> |
85 |
<command
|
86 |
commandId="DeleteLexicalTableLines" |
87 |
style="push"> |
88 |
</command>
|
89 |
<command
|
90 |
commandId="MergeLines" |
91 |
style="push"> |
92 |
</command>
|
93 |
<separator
|
94 |
name="org.txm.rcp.LT.separator1" |
95 |
visible="true"> |
96 |
</separator>
|
97 |
<command
|
98 |
commandId="ExportLexicalTable" |
99 |
style="push"> |
100 |
</command>
|
101 |
<command
|
102 |
commandId="ImportTable" |
103 |
style="push"> |
104 |
</command>
|
105 |
</menuContribution>
|
106 |
|
107 |
</extension>
|
108 |
<extension
|
109 |
point="org.eclipse.ui.commands"> |
110 |
<command
|
111 |
categoryId="org.txm.rcp.category.txm" |
112 |
defaultHandler="org.txm.lexicaltable.rcp.handlers.ComputeLexicalTable" |
113 |
id="ComputeLexicalTable" |
114 |
name="%command.name"> |
115 |
</command>
|
116 |
<command
|
117 |
defaultHandler="org.txm.lexicaltable.rcp.handlers.DeleteLines" |
118 |
id="DeleteLexicalTableLines" |
119 |
name="%command.name.37"> |
120 |
</command>
|
121 |
|
122 |
<command
|
123 |
defaultHandler="org.txm.lexicaltable.rcp.handlers.MergeLines" |
124 |
id="MergeLines" |
125 |
name="%command.name.38"> |
126 |
</command>
|
127 |
<command
|
128 |
defaultHandler="org.txm.lexicaltable.rcp.handlers.ExportLexicalTable" |
129 |
id="ExportLexicalTable" |
130 |
name="%command.name.39"> |
131 |
</command>
|
132 |
<command
|
133 |
defaultHandler="org.txm.lexicaltable.rcp.handlers.ImportTable" |
134 |
id="ImportTable" |
135 |
name="%command.name.40"> |
136 |
</command>
|
137 |
</extension>
|
138 |
<extension
|
139 |
point="org.eclipse.ui.editors"> |
140 |
<editor
|
141 |
class="org.txm.lexicaltable.rcp.editors.LexicalTableEditor2" |
142 |
default="false" |
143 |
icon="icons/lexicaltable.png" |
144 |
id="LexicalTableEditor" |
145 |
name="%editor.name"> |
146 |
</editor>
|
147 |
</extension>
|
148 |
<extension
|
149 |
point="org.eclipse.core.runtime.adapters"> |
150 |
<factory
|
151 |
adaptableType="org.txm.lexicaltable.core.functions.LexicalTable" |
152 |
class="org.txm.lexicaltable.rcp.adapters.LexicalTableAdapterFactory"> |
153 |
<adapter
|
154 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
155 |
</adapter>
|
156 |
</factory>
|
157 |
</extension>
|
158 |
<extension
|
159 |
point="org.eclipse.core.expressions.definitions"> |
160 |
<definition
|
161 |
id="OneLexicalTableSelected"> |
162 |
<with
|
163 |
variable="selection"> |
164 |
<iterate
|
165 |
ifEmpty="false" |
166 |
operator="and"> |
167 |
<instanceof
|
168 |
value="org.txm.lexicaltable.core.functions.LexicalTable"> |
169 |
</instanceof>
|
170 |
</iterate>
|
171 |
</with>
|
172 |
</definition>
|
173 |
</extension>
|
174 |
|
175 |
</plugin>
|