Statistics
| Revision:

root / tmp / org.txm.synopticeditor.rcp / plugin.xml @ 853

History | View | Annotate | Download (5.9 kB)

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

    
173
</plugin>