Statistics
| Revision:

root / tmp / org.txm.lexicon.rcp / plugin.xml @ 597

History | View | Annotate | Download (3.7 kB)

1 299 sjacqu01
<?xml version="1.0" encoding="UTF-8"?>
2 299 sjacqu01
<?eclipse version="3.4"?>
3 299 sjacqu01
<plugin>
4 299 sjacqu01
   <extension
5 299 sjacqu01
         point="org.eclipse.ui.menus">
6 299 sjacqu01
      <menuContribution
7 299 sjacqu01
            allPopups="false"
8 324 mdecorde
            locationURI="toolbar:org.txm.rcp.toolbartools">
9 299 sjacqu01
         <command
10 491 mdecorde
               commandId="org.txm.lexicon.rcp.handlers.ComputeLexicon"
11 299 sjacqu01
               icon="icons/lexicon.png"
12 299 sjacqu01
               style="push"
13 299 sjacqu01
               tooltip="%command.tooltip">
14 299 sjacqu01
            <visibleWhen
15 299 sjacqu01
                  checkEnabled="false">
16 299 sjacqu01
               <reference
17 299 sjacqu01
                     definitionId="OneCorpusSelected">
18 299 sjacqu01
               </reference>
19 299 sjacqu01
            </visibleWhen>
20 299 sjacqu01
         </command>
21 299 sjacqu01
      </menuContribution>
22 299 sjacqu01
      <menuContribution
23 299 sjacqu01
            allPopups="false"
24 324 mdecorde
            locationURI="popup:org.txm.rcp.views.CorporaView">
25 299 sjacqu01
         <command
26 491 mdecorde
               commandId="org.txm.lexicon.rcp.handlers.ComputeLexicon"
27 299 sjacqu01
               icon="icons/lexicon.png"
28 299 sjacqu01
               style="push">
29 299 sjacqu01
            <visibleWhen
30 299 sjacqu01
                  checkEnabled="false">
31 299 sjacqu01
               <reference
32 299 sjacqu01
                     definitionId="OneCorpusSelected">
33 299 sjacqu01
               </reference>
34 299 sjacqu01
            </visibleWhen>
35 299 sjacqu01
         </command>
36 299 sjacqu01
      </menuContribution>
37 299 sjacqu01
      <menuContribution
38 299 sjacqu01
            locationURI="menu:menu.tools">
39 299 sjacqu01
         <command
40 491 mdecorde
               commandId="org.txm.lexicon.rcp.handlers.ComputeLexicon"
41 299 sjacqu01
               icon="icons/lexicon.png"
42 299 sjacqu01
               style="push">
43 299 sjacqu01
            <visibleWhen
44 299 sjacqu01
                  checkEnabled="false">
45 299 sjacqu01
               <reference
46 299 sjacqu01
                     definitionId="OneCorpusSelected">
47 299 sjacqu01
               </reference>
48 299 sjacqu01
            </visibleWhen>
49 299 sjacqu01
         </command>
50 299 sjacqu01
      </menuContribution>
51 364 sjacqu01
      <menuContribution
52 364 sjacqu01
            locationURI="popup:LexiconEditor">
53 364 sjacqu01
         <command
54 364 sjacqu01
               commandId="org.txm.rcp.commands.link.IndexToConcordance"
55 364 sjacqu01
               style="push">
56 364 sjacqu01
         </command>
57 364 sjacqu01
         <command
58 364 sjacqu01
               commandId="org.txm.rcp.commands.link.LexiconToIndex"
59 364 sjacqu01
               style="push">
60 364 sjacqu01
         </command>
61 364 sjacqu01
         <command
62 364 sjacqu01
               commandId="org.txm.rcp.commands.link.IndexToProgression"
63 364 sjacqu01
               style="push">
64 364 sjacqu01
         </command>
65 364 sjacqu01
      </menuContribution>
66 299 sjacqu01
   </extension>
67 299 sjacqu01
   <extension
68 299 sjacqu01
         point="org.eclipse.ui.commands">
69 299 sjacqu01
               <command
70 324 mdecorde
            categoryId="org.txm.rcp.category.txm"
71 299 sjacqu01
            defaultHandler="org.txm.lexicon.rcp.handlers.ComputeLexicon"
72 491 mdecorde
            id="org.txm.lexicon.rcp.handlers.ComputeLexicon"
73 299 sjacqu01
            name="%command.name">
74 299 sjacqu01
      </command>
75 299 sjacqu01
76 299 sjacqu01
   </extension>
77 299 sjacqu01
   <extension
78 299 sjacqu01
         point="org.eclipse.ui.editors">
79 299 sjacqu01
               <editor
80 299 sjacqu01
            class="org.txm.lexicon.rcp.editors.DictionnaryEditor"
81 299 sjacqu01
            default="false"
82 299 sjacqu01
            icon="icons/lexicon.png"
83 491 mdecorde
            id="org.txm.lexicon.rcp.editors.DictionnaryEditor"
84 299 sjacqu01
            name="%editor.name">
85 299 sjacqu01
      </editor>
86 299 sjacqu01
87 299 sjacqu01
   </extension>
88 299 sjacqu01
   <extension
89 299 sjacqu01
         point="org.eclipse.core.runtime.adapters">
90 299 sjacqu01
      <factory
91 299 sjacqu01
            adaptableType="org.txm.lexicon.core.corpusengine.cqp.Lexicon"
92 299 sjacqu01
            class="org.txm.lexicon.rcp.adapters.LexiconAdapterFactory">
93 299 sjacqu01
         <adapter
94 299 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
95 299 sjacqu01
         </adapter>
96 299 sjacqu01
      </factory>
97 299 sjacqu01
   </extension>
98 299 sjacqu01
   <extension
99 299 sjacqu01
         point="org.eclipse.core.expressions.definitions">
100 299 sjacqu01
      <definition
101 299 sjacqu01
            id="OneLexiconSelected">
102 299 sjacqu01
         <with
103 299 sjacqu01
               variable="selection">
104 299 sjacqu01
            <iterate
105 299 sjacqu01
                  ifEmpty="false"
106 299 sjacqu01
                  operator="and">
107 299 sjacqu01
               <instanceof
108 299 sjacqu01
                     value="org.txm.lexicon.core.corpusengine.cqp.Lexicon">
109 299 sjacqu01
               </instanceof>
110 299 sjacqu01
            </iterate>
111 299 sjacqu01
         </with>
112 299 sjacqu01
      </definition>
113 299 sjacqu01
   </extension>
114 299 sjacqu01
115 299 sjacqu01
</plugin>