Révision 3548 TXM/trunk/org.txm.treesearch.rcp/plugin.xml

plugin.xml (revision 3548)
59 59
         point="org.eclipse.ui.menus">
60 60
         <menuContribution
61 61
            allPopups="false"
62
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.annotation">
62
            locationURI="popup:org.txm.rcp.views.corpora.CorporaView?before=org.txm.rcp.corporaview.corpus.manage">
63 63
         <command
64 64
               commandId="org.txm.treesearch.command.ComputeTreeSearch"
65 65
               icon="icons/functions/Tree.png"
66
               label="%command.label"
67 66
               style="push">
68 67
            <visibleWhen
69 68
                  checkEnabled="true">
......
79 78
      </menuContribution>
80 79
      <menuContribution
81 80
            allPopups="false"
82
            locationURI="toolbar:org.txm.rcp.toolbartools">
81
            locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.rcp.toolbarcorpus.read">
83 82
         <command
84 83
               commandId="org.txm.treesearch.command.ComputeTreeSearch"
85 84
               icon="icons/functions/Tree.png"
86
               label="%command.label"
87 85
               style="push">
88 86
            <visibleWhen
89 87
                  checkEnabled="false">
......
97 95
            </visibleWhen>
98 96
         </command>
99 97
      </menuContribution>
98
      <menuContribution
99
            allPopups="false"
100
            locationURI="menu:menu.corpus?before=menu.corpus.build">
101
         <command
102
               commandId="org.txm.treesearch.command.ComputeTreeSearch"
103
               icon="icons/functions/Tree.png"
104
               style="push">
105
            <visibleWhen
106
                  checkEnabled="false">
107
               <or>
108
                  <test
109
                        forcePluginActivation="true"
110
                        property="org.txm.rcp.testers.TreeSearchReady"
111
                        value="TreeSearchReady">
112
                  </test>
113
               </or>
114
            </visibleWhen>
115
         </command>
116
      </menuContribution>
100 117
      
101 118
   </extension>
102 119
   <extension

Formats disponibles : Unified diff