public override void Execute(MenuTabGroupContext context) => InstallTabCommands.OpenNewTabInternal(fileTabManager);
public override bool IsEnabled(MenuTabGroupContext context) => InstallTabCommands.CanOpenNewTabInternal(fileTabManager);
public override void Execute(IMenuItemContext context) { InstallTabCommands.OpenNewTabInternal(fileTabManager); }
public override bool IsVisible(IMenuItemContext context) => context.CreatorObject.Guid == new Guid(MenuConstants.GUIDOBJ_FILES_TREEVIEW_GUID) && InstallTabCommands.CanOpenNewTabInternal(fileTabManager) && (context.Find <ITreeNodeData[]>() ?? Array.Empty <ITreeNodeData>()).Length > 0;
public override bool IsVisible(TabGroupContext context) { return(InstallTabCommands.CanOpenNewTabInternal(fileTabManager)); }