Revision 1094 tmp/org.txm.rcp/plugin.xml

plugin.xml (revision 1094)
132 132
            restorable="true">
133 133
      </view>
134 134
      <view
135
            allowMultiple="false"
136
            category="org.txm.rcp"
137
            class="org.txm.rcp.views.GroovyConsole"
138
            id="org.txm.rcp.views.GroovyConsole"
139
            name="%view.name.2"
140
            restorable="true">
141
      </view>
142
      <view
143
            category="org.txm.rcp"
135
            category="org.txm.rcp.debug"
144 136
            class="org.txm.rcp.views.BasesView"
145 137
            id="org.txm.rcp.views.BasesView"
146 138
            name="%view.name.3"
......
155 147
            restorable="true">
156 148
      </view>
157 149
      <view
158
            category="org.txm.rcp"
150
            category="org.txm.rcp.debug"
159 151
            class="org.txm.rcp.views.SummaryView"
160 152
            id="org.txm.rcp.views.InternalCorpusView"
161 153
            name="%view.name.7"
......
171 163
            restorable="true">
172 164
      </view>
173 165
      <view
174
            category="org.txm.rcp"
166
            category="org.txm.rcp.debug"
175 167
            class="org.txm.rcp.views.cmdparameters.ParametersView"
176 168
            icon="icons/functions/Properties.png"
177 169
            id="org.txm.rcp.views.cmdparameters.ParametersView"
......
179 171
            restorable="true">
180 172
      </view>
181 173
      <view
182
            category="org.txm.rcp"
174
            category="org.txm.rcp.debug"
183 175
            class="org.txm.rcp.views.debug.TXMResultDebugView"
184 176
            icon="icons/functions/Properties.png"
185 177
            id="org.txm.rcp.views.debug.TXMResultDebugView"
......
187 179
            restorable="true">
188 180
      </view>
189 181
      <view
190
            category="org.txm.rcp"
182
            category="org.txm.rcp.debug"
191 183
            class="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
192 184
            icon="platform:/plugin/org.txm.core/res/org/txm/images/icons/help.png"
193 185
            id="org.txm.rcp.views.debug.TXMEditorSWTDebugView"
194 186
            name="%view.name.13"
195 187
            restorable="true">
196 188
      </view>
189
      <view
190
            allowMultiple="false"
191
            category="org.txm.rcp.debug"
192
            class="org.txm.rcp.views.debug.EnginesDebugView"
193
            icon="icons/functions/parameters.png"
194
            id="org.txm.rcp.views.debug.EnginesDebugView"
195
            name="Engines"
196
            restorable="true">
197
      </view>
198
      <category
199
            id="org.txm.rcp.debug"
200
            name="Debug"
201
            parentCategory="org.txm.rcp">
202
      </category>
197 203
   </extension>
198 204
   <extension
199 205
         point="org.eclipse.core.runtime.adapters">
......
2092 2098
                  label="%command.label.4"
2093 2099
                  style="push">
2094 2100
            </command>
2101
            <command
2102
                  commandId="org.txm.rcp.commands.workspace.RebuildCorpus"
2103
                  label="Reconstruire"
2104
                  style="push">
2105
               <visibleWhen
2106
                     checkEnabled="false">
2107
                  <or>
2108
                     <reference
2109
                           definitionId="OneProjectSelected">
2110
                     </reference>
2111
                     <reference
2112
                           definitionId="OneMainCorpusSelected">
2113
                     </reference>
2114
                  </or>
2115
               </visibleWhen>
2116
            </command>
2095 2117

  
2096 2118
      </menuContribution>
2097 2119
      <menuContribution
......
2397 2419
            name="%command.name.3">
2398 2420
      </command>
2399 2421
      <command
2400
            defaultHandler="org.txm.rcp.commands.workspace.PurgeCorpora"
2401
            description="%command.description.1"
2402
            id="org.txm.rcp.commands.workspace.PurgeCorpora"
2403
            name="%command.name.18">
2404
      </command>
2405
      <command
2406 2422
            categoryId="org.txm.rcp.category.txm"
2407 2423
            defaultHandler="org.txm.rcp.commands.OpenTestEditor"
2408 2424
            id="org.txm.rcp.commands.OpenTestEditor"
......
2761 2777
            id="org.txm.rcp.commands.ExecuteText"
2762 2778
            name="%command.name.50">
2763 2779
      </command>
2780
      <command
2781
            defaultHandler="org.txm.rcp.commands.workspace.RebuildCorpus"
2782
            id="org.txm.rcp.commands.workspace.RebuildCorpus"
2783
            name="Reconstruire">
2784
      </command>
2764 2785
   </extension>
2765 2786
   <extension
2766 2787
         point="org.eclipse.core.expressions.definitions">
......
2804 2825
               </with>
2805 2826
            </definition>
2806 2827
            <definition
2807
                  id="OneBaseSelected">
2808
               <with
2809
                     variable="selection">
2810
                  <iterate
2811
                        ifEmpty="false"
2812
                        operator="and">
2813
                     <instanceof
2814
                           value="org.txm.objects.Base">
2815
                     </instanceof>
2816
                  </iterate>
2817
               </with>
2818
            </definition>
2819
            <definition
2820 2828
                  id="OneTextSelected">
2821 2829
               <with
2822 2830
                     variable="selection">
......
3176 3184
      <image
3177 3185
            icon="icons/objects/books.png"
3178 3186
            id="org.txm.rcp.image1"
3179
            natureId="org.txm.core.project.corpus">
3187
            natureId="org.txm.core.CorpusNature">
3180 3188
      </image>
3181 3189
   </extension>
3182 3190
</plugin>

Also available in: Unified diff