Statistics
| Revision:

root / tmp / org.txm.concordance.rcp / plugin.xml @ 499

History | View | Annotate | Download (4.3 kB)

1 363 sjacqu01
<?xml version="1.0" encoding="UTF-8"?>
2 363 sjacqu01
<?eclipse version="3.4"?>
3 363 sjacqu01
<plugin>
4 399 mdecorde
  <extension-point id="org.txm.rcp.extensionpoint.backtotext" name="Back to text" schema="schema/org.txm.rcp.extensionpoint.backtotext.exsd"/>
5 399 mdecorde
6 363 sjacqu01
   <extension
7 363 sjacqu01
         point="org.eclipse.core.runtime.adapters">
8 363 sjacqu01
      <factory
9 363 sjacqu01
            adaptableType="org.txm.concordance.core.functions.Concordance"
10 363 sjacqu01
            class="org.txm.concordance.rcp.adapters.ConcordanceAdapterFactory">
11 363 sjacqu01
         <adapter
12 363 sjacqu01
               type="org.eclipse.ui.model.IWorkbenchAdapter">
13 363 sjacqu01
         </adapter>
14 363 sjacqu01
      </factory>
15 363 sjacqu01
   </extension>
16 363 sjacqu01
   <extension
17 363 sjacqu01
         point="org.eclipse.core.expressions.definitions">
18 363 sjacqu01
      <definition
19 363 sjacqu01
            id="OneConcordanceSelected">
20 363 sjacqu01
         <with
21 363 sjacqu01
               variable="selection">
22 363 sjacqu01
            <iterate
23 363 sjacqu01
                  ifEmpty="false"
24 363 sjacqu01
                  operator="and">
25 363 sjacqu01
               <instanceof
26 363 sjacqu01
                     value="org.txm.concordance.core.functions.Concordance">
27 363 sjacqu01
               </instanceof>
28 363 sjacqu01
            </iterate>
29 363 sjacqu01
         </with>
30 363 sjacqu01
      </definition>
31 363 sjacqu01
   </extension>
32 363 sjacqu01
   <extension
33 363 sjacqu01
         point="org.eclipse.ui.menus">
34 363 sjacqu01
      <menuContribution
35 363 sjacqu01
            allPopups="false"
36 363 sjacqu01
            locationURI="popup:org.txm.rcp.views.CorporaView">
37 363 sjacqu01
         <command
38 491 mdecorde
               commandId="org.txm.concordance.rcp.handlers.ComputeConcordance"
39 363 sjacqu01
               icon="icons/concordance.png"
40 363 sjacqu01
               style="push">
41 363 sjacqu01
            <visibleWhen
42 363 sjacqu01
                  checkEnabled="false">
43 363 sjacqu01
               <or>
44 363 sjacqu01
                  <reference
45 363 sjacqu01
                        definitionId="OneCorpusSelected">
46 363 sjacqu01
                  </reference>
47 363 sjacqu01
               </or>
48 363 sjacqu01
            </visibleWhen>
49 363 sjacqu01
         </command>
50 363 sjacqu01
      </menuContribution>
51 363 sjacqu01
      <menuContribution
52 363 sjacqu01
            locationURI="menu:menu.tools">
53 363 sjacqu01
         <command
54 491 mdecorde
               commandId="org.txm.concordance.rcp.handlers.ComputeConcordance"
55 363 sjacqu01
               icon="icons/concordance.png"
56 363 sjacqu01
               style="push">
57 363 sjacqu01
            <visibleWhen
58 363 sjacqu01
                  checkEnabled="false">
59 363 sjacqu01
               <or>
60 363 sjacqu01
                  <reference
61 363 sjacqu01
                        definitionId="OneCorpusSelected">
62 363 sjacqu01
                  </reference>
63 363 sjacqu01
               </or>
64 363 sjacqu01
            </visibleWhen>
65 363 sjacqu01
         </command>
66 363 sjacqu01
      </menuContribution>
67 363 sjacqu01
      <menuContribution
68 363 sjacqu01
            allPopups="false"
69 363 sjacqu01
            locationURI="toolbar:org.txm.rcp.toolbartools">
70 363 sjacqu01
         <command
71 491 mdecorde
               commandId="org.txm.concordance.rcp.handlers.ComputeConcordance"
72 363 sjacqu01
               icon="icons/concordance.png"
73 363 sjacqu01
               style="push"
74 363 sjacqu01
               tooltip="%command.tooltip">
75 363 sjacqu01
            <visibleWhen
76 363 sjacqu01
                  checkEnabled="false">
77 363 sjacqu01
               <or>
78 363 sjacqu01
                  <reference
79 363 sjacqu01
                        definitionId="OneCorpusSelected">
80 363 sjacqu01
                  </reference>
81 363 sjacqu01
               </or>
82 363 sjacqu01
            </visibleWhen>
83 363 sjacqu01
         </command>
84 363 sjacqu01
      </menuContribution>
85 363 sjacqu01
      <menuContribution
86 363 sjacqu01
            locationURI="popup:org.txm.rcp.editors.ConcordancesEditor">
87 363 sjacqu01
         <command
88 491 mdecorde
               commandId="org.txm.concordance.rcp.handlers.DeleteLines"
89 491 mdecorde
               icon="platform:/plugin/org.txm.rcp/icons/cross.png"
90 363 sjacqu01
               style="push">
91 363 sjacqu01
         </command>
92 363 sjacqu01
      </menuContribution>
93 363 sjacqu01
   </extension>
94 363 sjacqu01
   <extension
95 363 sjacqu01
         point="org.eclipse.ui.commands">
96 363 sjacqu01
      <command
97 363 sjacqu01
            categoryId="org.txm.rcp.category.txm"
98 363 sjacqu01
            defaultHandler="org.txm.concordance.rcp.handlers.ComputeConcordance"
99 491 mdecorde
            id="org.txm.concordance.rcp.handlers.ComputeConcordance"
100 363 sjacqu01
            name="%command.name">
101 363 sjacqu01
      </command>
102 363 sjacqu01
      <command
103 363 sjacqu01
            defaultHandler="org.txm.concordance.rcp.handlers.DeleteLines"
104 491 mdecorde
            id="org.txm.concordance.rcp.handlers.DeleteLines"
105 363 sjacqu01
            name="%command.name.37">
106 363 sjacqu01
      </command>
107 363 sjacqu01
   </extension>
108 363 sjacqu01
   <extension
109 363 sjacqu01
         point="org.eclipse.ui.preferencePages">
110 363 sjacqu01
      <page
111 363 sjacqu01
            category="org.txm.rcp.preferences.UserPreferencePage"
112 363 sjacqu01
            class="org.txm.concordance.rcp.preferences.ConcordancePreferencePage"
113 363 sjacqu01
            id="ConcordancePreferencePage"
114 363 sjacqu01
            name="%page.name">
115 363 sjacqu01
      </page>
116 363 sjacqu01
   </extension>
117 363 sjacqu01
   <extension
118 363 sjacqu01
         point="org.eclipse.ui.editors">
119 363 sjacqu01
      <editor
120 363 sjacqu01
            class="org.txm.concordance.rcp.editors.ConcordanceEditor"
121 363 sjacqu01
            default="false"
122 363 sjacqu01
            icon="icons/concordance.png"
123 499 mdecorde
            id="org.txm.concordance.rcp.editors.ConcordanceEditor"
124 363 sjacqu01
            name="%editor.name">
125 363 sjacqu01
      </editor>
126 363 sjacqu01
   </extension>
127 363 sjacqu01
128 363 sjacqu01
</plugin>