Statistics
| Revision:

root / tmp / org.txm.edition.rcp / plugin.xml @ 2651

History | View | Annotate | Download (5.8 kB)

1 88 sjacqu01
<?xml version="1.0" encoding="UTF-8"?>
2 88 sjacqu01
<?eclipse version="3.4"?>
3 2217 mdecorde
<plugin>
4 88 sjacqu01
   <extension
5 88 sjacqu01
         point="org.eclipse.ui.menus">
6 88 sjacqu01
      <menuContribution
7 88 sjacqu01
            allPopups="true"
8 711 mdecorde
            locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.rcp.toolbarcorpus.read">
9 88 sjacqu01
         <command
10 836 mdecorde
               commandId="org.txm.edition.rcp.handlers.OpenEdition"
11 88 sjacqu01
               icon="icons/objects/edition.png"
12 88 sjacqu01
               style="push"
13 88 sjacqu01
               tooltip="%command.tooltip.0">
14 88 sjacqu01
            <visibleWhen
15 88 sjacqu01
                  checkEnabled="false">
16 88 sjacqu01
               <or>
17 88 sjacqu01
                  <reference
18 88 sjacqu01
                        definitionId="OneCorpusSelected">
19 88 sjacqu01
                  </reference>
20 88 sjacqu01
               </or>
21 88 sjacqu01
            </visibleWhen>
22 88 sjacqu01
         </command>
23 88 sjacqu01
      </menuContribution>
24 88 sjacqu01
      <menuContribution
25 698 mdecorde
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.read">
26 88 sjacqu01
         <command
27 836 mdecorde
               commandId="org.txm.edition.rcp.handlers.OpenEdition"
28 88 sjacqu01
               icon="icons/objects/edition.png"
29 88 sjacqu01
               style="push"
30 88 sjacqu01
               tooltip="%command.tooltip.0">
31 88 sjacqu01
            <visibleWhen
32 88 sjacqu01
                  checkEnabled="false">
33 88 sjacqu01
               <or>
34 88 sjacqu01
                  <reference
35 88 sjacqu01
                        definitionId="OneCorpusSelected">
36 88 sjacqu01
                  </reference>
37 88 sjacqu01
               </or>
38 88 sjacqu01
            </visibleWhen>
39 88 sjacqu01
         </command>
40 88 sjacqu01
      </menuContribution>
41 88 sjacqu01
      <menuContribution
42 698 mdecorde
            locationURI="menu:menu.corpus?after=menu.corpus.read">
43 88 sjacqu01
         <command
44 836 mdecorde
               commandId="org.txm.edition.rcp.handlers.OpenEdition"
45 88 sjacqu01
               icon="icons/objects/edition.png"
46 88 sjacqu01
               style="push"
47 88 sjacqu01
               tooltip="%command.tooltip.0">
48 88 sjacqu01
            <visibleWhen
49 88 sjacqu01
                  checkEnabled="false">
50 88 sjacqu01
               <or>
51 88 sjacqu01
                  <reference
52 88 sjacqu01
                        definitionId="OneCorpusSelected">
53 88 sjacqu01
                  </reference>
54 88 sjacqu01
               </or>
55 88 sjacqu01
            </visibleWhen>
56 88 sjacqu01
         </command>
57 88 sjacqu01
      </menuContribution>
58 88 sjacqu01
      <menuContribution
59 845 sjacqu01
            locationURI="popup:org.txm.concordance.rcp.editors.ConcordanceEditor">
60 88 sjacqu01
         <command
61 845 sjacqu01
               commandId="org.txm.edition.rcp.handlers.BackToText"
62 845 sjacqu01
               icon="icons/objects/edition.png"
63 88 sjacqu01
               style="push">
64 88 sjacqu01
         </command>
65 88 sjacqu01
      </menuContribution>
66 88 sjacqu01
   </extension>
67 88 sjacqu01
   <extension
68 88 sjacqu01
         point="org.eclipse.ui.commands">
69 88 sjacqu01
      <command
70 836 mdecorde
            defaultHandler="org.txm.edition.rcp.handlers.OpenEdition"
71 836 mdecorde
            id="org.txm.edition.rcp.handlers.OpenEdition"
72 88 sjacqu01
            name="%command.name">
73 88 sjacqu01
      </command>
74 88 sjacqu01
      <command
75 836 mdecorde
            defaultHandler="org.txm.edition.rcp.handlers.BackToText"
76 836 mdecorde
            id="org.txm.edition.rcp.handlers.BackToText"
77 88 sjacqu01
            name="%command.name.0">
78 837 mdecorde
         <commandParameter
79 837 mdecorde
               id="org.txm.edition.rcp.handlers.BackToText.wordid"
80 973 mdecorde
               name="%commandParameter.name"
81 837 mdecorde
               optional="true">
82 837 mdecorde
         </commandParameter>
83 837 mdecorde
         <commandParameter
84 837 mdecorde
               id="org.txm.edition.rcp.handlers.BackToText.textid"
85 973 mdecorde
               name="%commandParameter.name.0"
86 837 mdecorde
               optional="true">
87 837 mdecorde
         </commandParameter>
88 837 mdecorde
         <commandParameter
89 837 mdecorde
               id="org.txm.edition.rcp.handlers.BackToText.corpusid"
90 973 mdecorde
               name="%commandParameter.name.1"
91 837 mdecorde
               optional="true">
92 837 mdecorde
         </commandParameter>
93 837 mdecorde
         <commandParameter
94 837 mdecorde
               id="org.txm.edition.rcp.handlers.BackToText.editionid"
95 973 mdecorde
               name="%commandParameter.name.2"
96 837 mdecorde
               optional="true">
97 837 mdecorde
         </commandParameter>
98 88 sjacqu01
      </command>
99 88 sjacqu01
   </extension>
100 88 sjacqu01
   <extension
101 88 sjacqu01
         point="org.eclipse.ui.editors">
102 88 sjacqu01
      <editor
103 836 mdecorde
            class="org.txm.edition.rcp.editors.SynopticEditionEditor"
104 88 sjacqu01
            default="false"
105 88 sjacqu01
            icon="icons/objects/edition.png"
106 836 mdecorde
            id="org.txm.edition.rcp.editors.SynopticEditionEditor"
107 88 sjacqu01
            name="%editor.name">
108 88 sjacqu01
      </editor>
109 88 sjacqu01
   </extension>
110 88 sjacqu01
   <extension
111 88 sjacqu01
         point="org.eclipse.ui.bindings">
112 88 sjacqu01
      <key
113 836 mdecorde
            commandId="org.txm.edition.rcp.handlers.BackToText"
114 88 sjacqu01
            contextId="org.eclipse.ui.contexts.window"
115 88 sjacqu01
            schemeId="org.txm.rcp.scheme"
116 1918 mdecorde
            sequence="M1+e">
117 88 sjacqu01
      </key>
118 88 sjacqu01
   </extension>
119 88 sjacqu01
   <extension
120 88 sjacqu01
         point="org.txm.rcp.extensionpoint.backtotext">
121 88 sjacqu01
      <command
122 836 mdecorde
            class="org.txm.edition.rcp.handlers.BackToText"
123 88 sjacqu01
            name="Synoptic">
124 88 sjacqu01
      </command>
125 88 sjacqu01
   </extension>
126 88 sjacqu01
   <extension
127 88 sjacqu01
         point="org.eclipse.ui.preferencePages">
128 88 sjacqu01
      <page
129 324 mdecorde
            category="org.txm.rcp.preferences.UserPreferencePage"
130 836 mdecorde
            class="org.txm.edition.rcp.preferences.SynopticEditionPreferencePage"
131 836 mdecorde
            id="org.txm.edition.rcp.preferences.SynopticEditionPreferencePage"
132 973 mdecorde
            name="%page.name">
133 88 sjacqu01
      </page>
134 88 sjacqu01
   </extension>
135 845 sjacqu01
   <extension
136 845 sjacqu01
         point="org.eclipse.ui.handlers">
137 845 sjacqu01
      <handler
138 845 sjacqu01
            class="org.txm.edition.rcp.handlers.SendEditionTo"
139 995 mdecorde
            commandId="org.txm.concordance.rcp.handlers.ComputeConcordance">
140 845 sjacqu01
         <activeWhen>
141 995 mdecorde
            <and>
142 995 mdecorde
               <reference
143 995 mdecorde
                     definitionId="SendSelectionContextNotActive">
144 995 mdecorde
               </reference>
145 995 mdecorde
               <reference
146 995 mdecorde
                     definitionId="EditionEditorActive">
147 995 mdecorde
               </reference>
148 995 mdecorde
            </and>
149 845 sjacqu01
         </activeWhen>
150 845 sjacqu01
      </handler>
151 845 sjacqu01
   </extension>
152 845 sjacqu01
   <extension
153 845 sjacqu01
         point="org.eclipse.core.expressions.definitions">
154 845 sjacqu01
      <definition
155 845 sjacqu01
            id="EditionEditorActive">
156 845 sjacqu01
         <with
157 845 sjacqu01
               variable="activePart">
158 845 sjacqu01
            <instanceof
159 845 sjacqu01
                  value="org.txm.edition.rcp.editors.SynopticEditionEditor">
160 845 sjacqu01
            </instanceof>
161 845 sjacqu01
         </with>
162 845 sjacqu01
      </definition>
163 845 sjacqu01
   </extension>
164 1481 mdecorde
   <extension
165 1481 mdecorde
         point="org.eclipse.core.runtime.preferences">
166 1481 mdecorde
      <initializer
167 1481 mdecorde
            class="org.txm.edition.rcp.preferences.SynopticEditionPreferences">
168 1481 mdecorde
      </initializer>
169 1481 mdecorde
   </extension>
170 88 sjacqu01
171 88 sjacqu01
</plugin>