root / tmp / org.txm.properties.rcp / plugin.xml @ 2801
History | View | Annotate | Download (3.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.properties.rcp.preferences.PropertiesPreferencePage" |
9 |
id="org.txm.properties.rcp.preferences.PropertiesPreferencePage" |
10 |
name="%command.name"> |
11 |
</page>
|
12 |
</extension>
|
13 |
<extension
|
14 |
point="org.eclipse.ui.commands"> |
15 |
<command
|
16 |
defaultHandler="org.txm.properties.rcp.handlers.ComputeProperties" |
17 |
id="org.txm.properties.rcp.handlers.ComputeProperties" |
18 |
name="%command.name" |
19 |
returnTypeId="org.txm.properties.core.functions.Properties"> |
20 |
</command>
|
21 |
</extension>
|
22 |
<extension
|
23 |
point="org.eclipse.ui.editors"> |
24 |
<editor
|
25 |
class="org.txm.properties.rcp.editors.PropertiesEditor" |
26 |
default="false" |
27 |
icon="icons/functions/properties.png" |
28 |
id="org.txm.properties.rcp.editors.PropertiesEditor" |
29 |
name="%command.name"> |
30 |
</editor>
|
31 |
<editor
|
32 |
class="org.txm.properties.rcp.editors.PropertiesPagedEditor" |
33 |
default="false" |
34 |
icon="icons/functions/properties.png" |
35 |
id="org.txm.properties.rcp.editors.PropertiesPagedEditor" |
36 |
name="%command.name"> |
37 |
</editor>
|
38 |
</extension>
|
39 |
<extension
|
40 |
point="org.eclipse.core.runtime.adapters"> |
41 |
<factory
|
42 |
adaptableType="org.txm.properties.core.functions.Properties" |
43 |
class="org.txm.properties.rcp.adapters.PropertiesAdapterFactory"> |
44 |
<adapter
|
45 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
46 |
</adapter>
|
47 |
<adapter
|
48 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
49 |
</adapter>
|
50 |
</factory>
|
51 |
</extension>
|
52 |
<extension
|
53 |
point="org.eclipse.ui.menus"> |
54 |
<menuContribution
|
55 |
locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.edition.rcp.handlers.OpenEdition"> |
56 |
<command
|
57 |
commandId="org.txm.properties.rcp.handlers.ComputeProperties" |
58 |
icon="icons/functions/properties.png" |
59 |
style="push" |
60 |
tooltip="%command.name"> |
61 |
<visibleWhen
|
62 |
checkEnabled="false"> |
63 |
<or>
|
64 |
<reference
|
65 |
definitionId="OneTXMResultSelected"> |
66 |
</reference>
|
67 |
</or>
|
68 |
</visibleWhen>
|
69 |
</command>
|
70 |
</menuContribution>
|
71 |
<menuContribution
|
72 |
locationURI="menu:menu.corpus?after=menu.corpus.read"> |
73 |
<command
|
74 |
commandId="org.txm.properties.rcp.handlers.ComputeProperties" |
75 |
icon="icons/functions/properties.png" |
76 |
style="push"> |
77 |
<visibleWhen
|
78 |
checkEnabled="false"> |
79 |
<reference
|
80 |
definitionId="OneTXMResultSelected"> |
81 |
</reference>
|
82 |
</visibleWhen>
|
83 |
</command>
|
84 |
</menuContribution>
|
85 |
<menuContribution
|
86 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.read"> |
87 |
<command
|
88 |
commandId="org.txm.properties.rcp.handlers.ComputeProperties" |
89 |
icon="icons/functions/properties.png" |
90 |
style="push"> |
91 |
<visibleWhen
|
92 |
checkEnabled="false"> |
93 |
<reference
|
94 |
definitionId="OneTXMResultSelected"> |
95 |
</reference>
|
96 |
</visibleWhen>
|
97 |
</command>
|
98 |
</menuContribution>
|
99 |
</extension>
|
100 |
</plugin>
|