root / tmp / org.txm.properties.rcp / plugin.xml @ 3151
Historique | Voir | Annoter | Télécharger (3,58 ko)
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 |
<visibleWhen
|
61 |
checkEnabled="false"> |
62 |
<or>
|
63 |
<reference
|
64 |
definitionId="OneTXMResultSelected"> |
65 |
</reference>
|
66 |
</or>
|
67 |
</visibleWhen>
|
68 |
</command>
|
69 |
</menuContribution>
|
70 |
<menuContribution
|
71 |
locationURI="menu:menu.corpus?after=menu.corpus.read"> |
72 |
<command
|
73 |
commandId="org.txm.properties.rcp.handlers.ComputeProperties" |
74 |
icon="icons/functions/properties.png" |
75 |
style="push"> |
76 |
<visibleWhen
|
77 |
checkEnabled="false"> |
78 |
<reference
|
79 |
definitionId="OneTXMResultSelected"> |
80 |
</reference>
|
81 |
</visibleWhen>
|
82 |
</command>
|
83 |
</menuContribution>
|
84 |
<menuContribution
|
85 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.read"> |
86 |
<command
|
87 |
commandId="org.txm.properties.rcp.handlers.ComputeProperties" |
88 |
icon="icons/functions/properties.png" |
89 |
style="push"> |
90 |
<visibleWhen
|
91 |
checkEnabled="false"> |
92 |
<reference
|
93 |
definitionId="OneTXMResultSelected"> |
94 |
</reference>
|
95 |
</visibleWhen>
|
96 |
</command>
|
97 |
</menuContribution>
|
98 |
</extension>
|
99 |
|
100 |
</plugin>
|