Example #1
0
 static ITreeNodeData[] GetNodes(IMenuItemContext context)
 {
     if (context.CreatorObject.Guid != new Guid(MenuConstants.GUIDOBJ_ANALYZER_TREEVIEW_GUID))
     {
         return(null);
     }
     return(RemoveAnalyzeCommand.GetNodes(context.Find <ITreeNodeData[]>()));
 }
Example #2
0
 public override void Execute(IMenuItemContext context) => RemoveAnalyzeCommand.DeleteNodes(GetNodes(context));