#4599 Add "Collapse Others Views/Plots" to context menu of views and plots

This commit is contained in:
Magne Sjaastad
2019-08-20 10:39:23 +02:00
parent d065014571
commit d86a53f732
7 changed files with 243 additions and 0 deletions

View File

@@ -930,6 +930,11 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
menuBuilder.addSeparator();
}
menuBuilder << "RicToggleItemsOnOthersOffFeature";
if (RicToggleItemsFeatureImpl::isToggleCommandsAvailable())
{
menuBuilder << "RicCollapseSiblingsFeature";
}
}
if ( caf::CmdFeatureManager::instance()->getCommandFeature("RicDeleteItemFeature")->canFeatureBeExecuted() )