public override bool IsEnabled(MenuTabGroupContext context) => InstallTabCommands.CanOpenNewTabInternal(documentTabService);
public override void Execute(MenuTabGroupContext context) => InstallTabCommands.OpenNewTabInternal(documentTabService);
public override bool IsVisible(IMenuItemContext context) => context.CreatorObject.Guid == new Guid(MenuConstants.GUIDOBJ_DOCUMENTS_TREEVIEW_GUID) && InstallTabCommands.CanOpenNewTabInternal(documentTabService) && (context.Find <TreeNodeData[]>() ?? Array.Empty <TreeNodeData>()).Length > 0;