Statistiques
| Révision :

root / trunk / org.txm.texts.rcp / plugin.xml @ 3424

Historique | Voir | Annoter | Télécharger (2,94 ko)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.eclipse.ui.commands">
6
      <command
7
            defaultHandler="org.txm.texts.rcp.ComputeTextView"
8
            id="org.txm.texts.rcp.ComputeTextView"
9
            name="%command.name"
10
            returnTypeId="org.txm.texts.core.TextsView">
11
      </command>
12
   </extension>
13
   <extension
14
         point="org.eclipse.ui.menus">
15
      <menuContribution
16
            locationURI="menu:menu.corpus">
17
         <command
18
               commandId="org.txm.texts.rcp.ComputeTextView"
19
               icon="platform:/plugin/org.txm.rcp/icons/objects/books.png"
20
               style="push"
21
               tooltip="%command.name">
22
            <visibleWhen
23
                  checkEnabled="false">
24
               <or>
25
                  <reference
26
                        definitionId="OneMainCorpusSelected">
27
                  </reference>
28
               </or>
29
            </visibleWhen>
30
         </command>
31
      </menuContribution>
32
      <menuContribution
33
            allPopups="false"
34
            locationURI="toolbar:org.txm.rcp.toolbarcorpus">
35
         <command
36
               commandId="org.txm.texts.rcp.ComputeTextView"
37
               icon="platform:/plugin/org.txm.rcp/icons/objects/books.png"
38
               style="push"
39
               tooltip="%command.name">
40
            <visibleWhen
41
                  checkEnabled="false">
42
               <or>
43
                  <reference
44
                        definitionId="OneMainCorpusSelected">
45
                  </reference>
46
               </or>
47
            </visibleWhen>
48
         </command>
49
      </menuContribution>
50
      <menuContribution
51
            allPopups="false"
52
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
53
         <command
54
               commandId="org.txm.texts.rcp.ComputeTextView"
55
               icon="platform:/plugin/org.txm.rcp/icons/objects/books.png"
56
               style="push"
57
               tooltip="%command.name">
58
            <visibleWhen
59
                  checkEnabled="false">
60
               <or>
61
                  <reference
62
                        definitionId="OneMainCorpusSelected">
63
                  </reference>
64
               </or>
65
            </visibleWhen>
66
         </command>
67
      </menuContribution>
68
   </extension>
69
   <extension
70
         point="org.eclipse.ui.editors">
71
      <editor
72
            class="org.txm.texts.rcp.TextsViewEditor"
73
            default="false"
74
            icon="platform:/plugin/org.txm.rcp/icons/objects/books.png"
75
            id="org.txm.texts.rcp.TextsViewEditor"
76
            name="%editor.name">
77
      </editor>
78
   </extension>
79
   <extension
80
         point="org.eclipse.core.runtime.adapters">
81
      <factory
82
            adaptableType="org.txm.texts.core.TextsView"
83
            class="org.txm.texts.rcp.TextsViewAdapterFactory">
84
         <adapter
85
               type="org.eclipse.ui.model.IWorkbenchAdapter">
86
         </adapter>
87
      </factory>
88
   </extension>
89

    
90
</plugin>