Project

General

Profile

« Previous | Next » 

Revision 1977e94a

Added by Patrick Plitzner almost 6 years ago

Disable default handler for opening referencing objects view to avoid
that menu item showing up in every context

View differences:

eu.etaxonomy.taxeditor.bulkeditor/plugin.xml
229 229
            allPopups="false"
230 230
            locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?after=org.eclipse.ui.views.showView.supplemental">
231 231
         <command
232
               commandId="eu.etaxonomy.taxeditor.openReferencingObjectsView"
232
               commandId="eu.etaxonomy.taxeditor.openReferencingObjectsViewFromMenu"
233 233
               label="%command.label.OPEN_REFERENCING_OBJECTS_VIEW"
234 234
               style="push">
235
            <visibleWhen
236
                  checkEnabled="true">
237
               <reference
238
                     definitionId="isCdmStoreConnected">
239
               </reference>
240
            </visibleWhen>
235 241
         </command>
236 242
      </menuContribution>
237 243
   </extension>
......
295 301
            name="%command.name.10">
296 302
      </command>
297 303
      <command
298
            defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
299 304
            id="eu.etaxonomy.taxeditor.openReferencingObjectsView"
300 305
            name="%command.name.OPEN_REFERENCING_OBJECTS_VIEW">
301 306
      </command>
......
315 320
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
316 321
         </commandParameter>
317 322
      </command>
323
      <command
324
            defaultHandler="eu.etaxonomy.taxeditor.handler.defaultHandler.OpenReferencingObjectsView"
325
            id="eu.etaxonomy.taxeditor.openReferencingObjectsViewFromMenu"
326
            name="%command.name.OPEN_REFERENCING_OBJECTS_VIEW">
327
      </command>
318 328
      <!--command
319 329
            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"
320 330
            id="eu.etaxonomy.taxeditor.bulkeditor.command.new"

Also available in: Unified diff