Ejemplo n.º 1
0
 public override bool IsEnabled(MenuTabGroupContext context) => InstallTabCommands.CanOpenNewTabInternal(documentTabService);
Ejemplo n.º 2
0
 public override void Execute(MenuTabGroupContext context) => InstallTabCommands.OpenNewTabInternal(documentTabService);
Ejemplo n.º 3
0
 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;