Statistiques
| Révision :

root / TXM / trunk / org.txm.treesearch.rcp / plugin.xml @ 3548

Historique | Voir | Annoter | Télécharger (4,85 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="%editor.name">
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="%category.name">
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="%command.name"
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="%command.name.0">
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?before=org.txm.rcp.corporaview.corpus.manage">
63
         <command
64
               commandId="org.txm.treesearch.command.ComputeTreeSearch"
65
               icon="icons/functions/Tree.png"
66
               style="push">
67
            <visibleWhen
68
                  checkEnabled="true">
69
               <or>
70
                  <test
71
                        forcePluginActivation="true"
72
                        property="org.txm.rcp.testers.TreeSearchReady"
73
                        value="TreeSearchReady">
74
                  </test>
75
               </or>
76
            </visibleWhen>
77
         </command>
78
      </menuContribution>
79
      <menuContribution
80
            allPopups="false"
81
            locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.rcp.toolbarcorpus.read">
82
         <command
83
               commandId="org.txm.treesearch.command.ComputeTreeSearch"
84
               icon="icons/functions/Tree.png"
85
               style="push">
86
            <visibleWhen
87
                  checkEnabled="false">
88
               <or>
89
                  <test
90
                        forcePluginActivation="true"
91
                        property="org.txm.rcp.testers.TreeSearchReady"
92
                        value="TreeSearchReady">
93
                  </test>
94
               </or>
95
            </visibleWhen>
96
         </command>
97
      </menuContribution>
98
      <menuContribution
99
            allPopups="false"
100
            locationURI="menu:menu.corpus?before=menu.corpus.build">
101
         <command
102
               commandId="org.txm.treesearch.command.ComputeTreeSearch"
103
               icon="icons/functions/Tree.png"
104
               style="push">
105
            <visibleWhen
106
                  checkEnabled="false">
107
               <or>
108
                  <test
109
                        forcePluginActivation="true"
110
                        property="org.txm.rcp.testers.TreeSearchReady"
111
                        value="TreeSearchReady">
112
                  </test>
113
               </or>
114
            </visibleWhen>
115
         </command>
116
      </menuContribution>
117
      
118
   </extension>
119
   <extension
120
         point="org.eclipse.ui.preferencePages">
121
      <page
122
            category="org.txm.rcp.preferences.UserPreferencePage"
123
            class="org.txm.treesearch.preferences.TreeSearchPreferencePage"
124
            id="org.txm.treesearch.preferences.TreeSearchPreferencePage"
125
            name="%page.name">
126
      </page>
127
      <page
128
            category="org.txm.rcp.preferences.AdvancePreferencePage"
129
            class="org.txm.treesearch.preferences.SyntacticAnnotationPreferencePage"
130
            id="org.txm.treesearch.preferences.SyntacticAnnotationPreferencePage"
131
            name="%page.name2">
132
      </page>
133
   </extension>
134

    
135
</plugin>