Statistics
| Revision:

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

History | View | Annotate | Download (5.7 kB)

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

    
158
</plugin>