Statistics
| Revision:

root / tmp / org.txm.backtomedia.rcp / plugin.xml @ 2367

History | View | Annotate | Download (4.3 kB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>  
4

    
5
   <extension
6
         id="application"
7
         point="org.eclipse.core.runtime.applications">
8
      <application>
9
         <run
10
               class="vlcplayerrcp.Application">
11
         </run>
12
      </application>
13
   </extension>
14
   <extension
15
         point="org.eclipse.ui.menus">
16
      <menuContribution
17
            locationURI="menu:menu.file?after=menu.file.separator.open">
18
         <command
19
               commandId="org.txm.backtomedia.commands.function.OpenVLCPlayer"
20
               style="push">
21
         </command>
22
      </menuContribution>
23
      <menuContribution
24
            locationURI="popup:org.txm.concordance.rcp.editors.ConcordanceEditor">
25
         <command
26
               commandId="org.txm.backtomedia.commands.function.BackToMedia"
27
               style="push">
28
         </command>
29
      </menuContribution>
30
      <menuContribution
31
            locationURI="menu:menu.help.plugins">
32
         <command
33
               commandId="org.txm.rcp.commands.OpenBrowser"
34
               label="%command.label"
35
               style="push">
36
            <parameter
37
                  name="org.txm.rcp.commands.commandParameter2"
38
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions#media_player">
39
            </parameter>
40
         </command>
41
      </menuContribution>
42
      <menuContribution
43
            locationURI="menu:menu.edit?after=org.txm.rcp.separator1">
44
         <command
45
               commandId="org.txm.backtomedia.commands.function.MediaPreferences"
46
               style="push">
47
            <visibleWhen
48
                  checkEnabled="false">
49
               <reference
50
                     definitionId="OneMainCorpusSelected">
51
               </reference>
52
            </visibleWhen>
53
         </command>
54
      </menuContribution>
55
   </extension>
56
   <extension
57
         point="org.eclipse.ui.commands">
58
      <command
59
            defaultHandler="org.txm.backtomedia.commands.function.OpenVLCPlayer"
60
            description="%command.description"
61
            id="org.txm.backtomedia.commands.function.OpenVLCPlayer"
62
            name="%command.name">
63
      </command>
64
      <command
65
            defaultHandler="org.txm.backtomedia.commands.function.BackToMedia"
66
            id="org.txm.backtomedia.commands.function.BackToMedia"
67
            name="%command.name.0">
68
         <commandParameter
69
               id="corpus"
70
               name="corpus"
71
               optional="true">
72
         </commandParameter>
73
         <commandParameter
74
               id="text"
75
               name="text"
76
               optional="true">
77
         </commandParameter>
78
         <commandParameter
79
               id="word"
80
               name="word"
81
               optional="true">
82
         </commandParameter>
83
         <commandParameter
84
               id="time"
85
               name="time"
86
               optional="true">
87
         </commandParameter>
88
      </command>
89
      <command
90
            defaultHandler="org.txm.backtomedia.commands.function.MediaPreferences"
91
            id="org.txm.backtomedia.commands.function.MediaPreferences"
92
            name="%command.name.1">
93
      </command>
94
   </extension>
95
   <extension
96
         point="org.eclipse.ui.editors">
97
      <editor
98
            class="org.txm.backtomedia.editors.vlcplayer.VLCPlayerEditor"
99
            default="false"
100
            id="org.txm.backtomedia.editors.vlcplayer.VLCPlayerEditor"
101
            name="%editor.name">
102
      </editor>
103
   </extension>
104
   <extension
105
         point="org.eclipse.ui.bindings">
106
      <key
107
            commandId="org.txm.backtomedia.commands.function.BackToMedia"
108
            contextId="org.eclipse.ui.contexts.window"
109
            schemeId="org.txm.rcp.scheme"
110
            sequence="M1+M2+M">
111
      </key>
112
   </extension>
113
   <extension
114
         point="org.eclipse.ui.preferencePages">
115
      <page
116
            category="org.txm.rcp.preferences.UserPreferencePage"
117
            class="org.txm.backtomedia.preferences.BackToMediaPreferencePage"
118
            id="org.txm.backtomedia.preferences.BackToMediaPreferencePage"
119
            name="%page.name">
120
      </page>
121
   </extension>
122
   <extension
123
         point="org.eclipse.core.runtime.preferences">
124
      <initializer
125
            class="org.txm.backtomedia.preferences.BackToMediaPreferences">
126
      </initializer>
127
   </extension>
128

    
129
</plugin>