root / TXM / trunk / org.txm.treesearch.rcp / plugin.xml @ 3405
Historique | Voir | Annoter | Télécharger (4,32 ko)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<?eclipse version="3.4"?>
|
3 |
<plugin>
|
4 |
<extension
|
5 |
point="org.eclipse.core.expressions.propertyTesters"> |
6 |
<propertyTester
|
7 |
class="org.txm.treesearch.rcp.tester.TreeSearchTester" |
8 |
id="org.txm.rcp.testers.TreeSearchTester" |
9 |
namespace="org.txm.rcp.testers" |
10 |
properties="TreeSearchReady" |
11 |
type="java.lang.Object"> |
12 |
</propertyTester>
|
13 |
</extension>
|
14 |
<extension
|
15 |
point="org.eclipse.core.runtime.adapters"> |
16 |
<factory
|
17 |
adaptableType="org.txm.treesearch.function.TreeSearch" |
18 |
class="org.txm.treesearch.command.TreeSearchAdapterFactory"> |
19 |
<adapter
|
20 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
21 |
</adapter>
|
22 |
<adapter
|
23 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
24 |
</adapter>
|
25 |
</factory>
|
26 |
</extension>
|
27 |
<extension
|
28 |
point="org.eclipse.ui.editors"> |
29 |
<editor
|
30 |
class="org.txm.treesearch.editor.TreeSearchEditor" |
31 |
default="false" |
32 |
icon="icons/functions/Tree.png" |
33 |
id="org.txm.treesearch.editor.TreeSearchEditor" |
34 |
name="Syntactic Tree"> |
35 |
</editor>
|
36 |
</extension>
|
37 |
<extension
|
38 |
point="org.eclipse.ui.commands"> |
39 |
<category
|
40 |
description="%category.description" |
41 |
id="TreeSearch4TXM.commands.category" |
42 |
name="Syntactic Tree"> |
43 |
</category>
|
44 |
<command
|
45 |
categoryId="TreeSearch4TXM.commands.category" |
46 |
defaultHandler="org.txm.treesearch.command.ComputeTreeSearch" |
47 |
id="org.txm.treesearch.command.ComputeTreeSearch" |
48 |
name="Syntactic Tree" |
49 |
returnTypeId="org.txm.treesearch.function.TreeSearch"> |
50 |
</command>
|
51 |
<command
|
52 |
categoryId="TreeSearch4TXM.commands.category" |
53 |
defaultHandler="org.txm.treesearch.command.ConcordanceLineToTreeSearch" |
54 |
id="org.txm.treesearch.command.ConcordanceLineToTreeSearch" |
55 |
name="Syntactic Tree concordance link"> |
56 |
</command>
|
57 |
</extension>
|
58 |
<extension
|
59 |
point="org.eclipse.ui.menus"> |
60 |
<menuContribution
|
61 |
allPopups="false" |
62 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.annotation"> |
63 |
<command
|
64 |
commandId="org.txm.tigersearch.commands.ComputeTreeSearch" |
65 |
icon="icons/functions/Tree.png" |
66 |
label="%command.label" |
67 |
style="push"> |
68 |
<visibleWhen
|
69 |
checkEnabled="false"> |
70 |
<or>
|
71 |
<test
|
72 |
forcePluginActivation="true" |
73 |
property="org.txm.rcp.testers.TreeSearchReady" |
74 |
value="TreeSearchReady"> |
75 |
</test>
|
76 |
</or>
|
77 |
</visibleWhen>
|
78 |
</command>
|
79 |
</menuContribution>
|
80 |
<menuContribution
|
81 |
allPopups="false" |
82 |
locationURI="toolbar:org.txm.rcp.toolbartools"> |
83 |
<command
|
84 |
commandId="org.txm.treesearch.command.ComputeTreeSearch" |
85 |
icon="icons/functions/Tree.png" |
86 |
label="%command.label" |
87 |
style="push"> |
88 |
<visibleWhen
|
89 |
checkEnabled="false"> |
90 |
<or>
|
91 |
<test
|
92 |
forcePluginActivation="true" |
93 |
property="org.txm.rcp.testers.TreeSearchReady" |
94 |
value="TreeSearchReady"> |
95 |
</test>
|
96 |
</or>
|
97 |
</visibleWhen>
|
98 |
</command>
|
99 |
</menuContribution>
|
100 |
|
101 |
<menuContribution
|
102 |
locationURI="popup:org.txm.concordance.rcp.editors.ConcordanceEditor"> |
103 |
<command
|
104 |
commandId="org.txm.treesearch.command.ConcordanceLineToTreeSearch" |
105 |
icon="icons/functions/Tree.png" |
106 |
label="Send To TreeSearch" |
107 |
style="push"> |
108 |
</command>
|
109 |
</menuContribution>
|
110 |
</extension>
|
111 |
<extension
|
112 |
point="org.eclipse.ui.preferencePages"> |
113 |
<page
|
114 |
category="org.txm.rcp.preferences.AdvancePreferencePage" |
115 |
class="org.txm.treesearch.preferences.TreeSearchPreferencePage" |
116 |
id="org.txm.treesearch.preferences.TreeSearchPreferencePage" |
117 |
name="Syntactic annotation"> |
118 |
</page>
|
119 |
</extension>
|
120 |
|
121 |
</plugin>
|