Statistics
| Revision:

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

History | View | Annotate | Download (5 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension-point id="org.txm.synopticeditor.toolbarbutton" name="Synoptic Editor toolbar button" schema="schema/org.txm.synopticeditor.toolbarbutton.exsd"/>
5
   <extension
6
         point="org.eclipse.ui.menus">
7
      <menuContribution
8
            locationURI="popup:org.txm.rcpapplication.editors.ConcordancesEditor">
9
         <command
10
               commandId="org.txm.rcp.synoptic.commands.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.rcpapplication.commands.OpenBrowser"
19
               icon="icons/objects/edition.png"
20
               label="%command.label"
21
               style="push">
22
            <parameter
23
                  name="org.txm.rcpapplication.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.rcpapplication.toolbarcorpus?before=org.txm.rcpapplication.toolbarcorpus.description">
31
         <command
32
               commandId="org.txm.rcp.synoptic.commands.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.rcpapplication.views.CorporaView?before=corporaview.description">
48
         <command
49
               commandId="org.txm.rcp.synoptic.commands.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?before=menu.corpus.description">
65
         <command
66
               commandId="org.txm.rcp.synoptic.commands.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.rcp.synoptic.editor.SynopticEditionEditor">
82
         <command
83
               commandId="org.txm.rcpapplication.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.rcp.synoptic.commands.OpenEdition"
93
            id="org.txm.rcp.synoptic.commands.OpenEdition"
94
            name="%command.name">
95
      </command>
96
      <command
97
            defaultHandler="org.txm.rcp.synoptic.commands.BackToText"
98
            id="org.txm.rcp.synoptic.commands.BackToText"
99
            name="%command.name.0">
100
      </command>
101
   </extension>
102
   <extension
103
         point="org.eclipse.ui.editors">
104
      <editor
105
            class="org.txm.rcp.synoptic.editor.SynopticEditionEditor"
106
            default="false"
107
            icon="icons/objects/edition.png"
108
            id="org.txm.rcp.synoptic.editor.SynopticEditionEditor"
109
            name="%editor.name">
110
      </editor>
111
   </extension>
112
   <extension
113
         point="org.eclipse.ui.bindings">
114
      <key
115
            commandId="org.txm.rcp.synoptic.commands.BackToText"
116
            contextId="org.eclipse.ui.contexts.window"
117
            schemeId="org.txm.rcp.scheme"
118
            sequence="M1+E">
119
      </key>
120
   </extension>
121
   <extension
122
         point="org.txm.rcp.extensionpoint.backtotext">
123
      <command
124
            class="org.txm.rcp.synoptic.commands.BackToText"
125
            name="Synoptic">
126
      </command>
127
   </extension>
128
   <extension
129
         point="org.eclipse.ui.preferencePages">
130
      <page
131
            category="org.txm.rcpapplication.preferences.UserPreferencePage"
132
            class="org.txm.rcp.synoptic.preferences.EditionPreferencePage"
133
            id="org.txm.rcp.synoptic.preferences.EditionPreferencePage"
134
            name="Edition">
135
      </page>
136
   </extension>
137

    
138
</plugin>