/// <summary>
 /// Registers an example command group to be added to the context menu
 /// in the Intelligence Portal.
 /// This method is called by the Intelligence Portal application.
 /// </summary>
 /// <param name="registrar">The command registrar, which handles the
 /// registration of commands and command groups.</param>
 public void RegisterCommandGroupings(ICommandRegistrar registrar)
 {
     // Register the custom command group, requesting that it should be
     // displayed in the context menu after the refresh command and
     // before the default item commands. The Intelligence Portal
     // application determines the precise location of the group.
     registrar.RegisterCommandGrouping(
         commandGroupingId: ExampleCommandGroupingId, 
         groupingHeading: CommandExtensibilityExampleStringResources.GroupHeading, 
         groupingHeadingTooltip: CommandExtensibilityExampleStringResources.GroupHeadingTooltip, 
         insertBeforeGroupings: new[] { DefaultItemCommands.ItemCommandsCommandGroupingType, DefaultItemCommands.SetCommandsCommandGroupingType }, 
         insertAfterGroupings: new[] { RefreshCommandProvider.RefreshCommandGroupingType });
 }
 /// <summary>
 /// Registers an example command group to be added to the context menu
 /// in the Intelligence Portal.
 /// This method is called by the Intelligence Portal application.
 /// </summary>
 /// <param name="registrar">The command registrar, which handles the
 /// registration of commands and command groups.</param>
 public void RegisterCommandGroupings(ICommandRegistrar registrar)
 {
     // Register the custom command group, requesting that it should be
     // displayed in the context menu after the refresh command and
     // before the default item commands. The Intelligence Portal
     // application determines the precise location of the group.
     registrar.RegisterCommandGrouping(
         commandGroupingId: ExampleCommandGroupingId,
         groupingHeading: CommandExtensibilityExampleStringResources.GroupHeading,
         groupingHeadingTooltip: CommandExtensibilityExampleStringResources.GroupHeadingTooltip,
         insertBeforeGroupings: new[] { DefaultItemCommands.ItemCommandsCommandGroupingType, DefaultItemCommands.SetCommandsCommandGroupingType },
         insertAfterGroupings: new[] { RefreshCommandProvider.RefreshCommandGroupingType });
 }
 /// <summary>
 /// Registers a command group to be added to the context menu in the
 /// Intelligence Portal.
 /// This method is called by the Intelligence Portal application.
 /// </summary>
 /// <param name="registrar">The command registrar, which handles the
 /// registration of commands and command groups.</param>
 public void RegisterCommandGroupings(ICommandRegistrar registrar)
 {
     // Add our own group of commands after the refresh, item, and set command groups.
     registrar.RegisterCommandGrouping(ItemDetailsGroupingId, SubsettingExampleStringResources.ItemDetailsCommandGroupHeading, null, Enumerable.Empty<Guid>(), new[] { RefreshCommandProvider.RefreshCommandGroupingType, DefaultItemCommands.ItemCommandsCommandGroupingType, DefaultItemCommands.SetCommandsCommandGroupingType });
 }
 /// <summary>
 /// Registers a command group to be added to the context menu in the
 /// Intelligence Portal.
 /// This method is called by the Intelligence Portal application.
 /// </summary>
 /// <param name="registrar">The command registrar, which handles the
 /// registration of commands and command groups.</param>
 public void RegisterCommandGroupings(ICommandRegistrar registrar)
 {
     // Add our own group of commands after the refresh, item, and set command groups.
     registrar.RegisterCommandGrouping(ItemDetailsGroupingId, SubsettingExampleStringResources.ItemDetailsCommandGroupHeading, null, Enumerable.Empty <Guid>(), new[] { RefreshCommandProvider.RefreshCommandGroupingType, DefaultItemCommands.ItemCommandsCommandGroupingType, DefaultItemCommands.SetCommandsCommandGroupingType });
 }