protected override void Initialize(Context ctx, MenuItem menuItem) { DeletePropertyDefCommand.Initialize(ctx.Nodes, menuItem); }
protected override bool CanExecute(Context ctx) { return(ctx.ReferenceSegment.IsLocalTarget && DeletePropertyDefCommand.CanExecute(ctx.Nodes)); }
protected override void Execute(Context ctx) { DeletePropertyDefCommand.Execute(ctx.Nodes); }
protected override void Initialize(ILSpyTreeNode[] nodes, MenuItem menuItem) { DeletePropertyDefCommand.Initialize(nodes, menuItem); }
protected override void ExecuteInternal(ILSpyTreeNode[] nodes) { DeletePropertyDefCommand.Execute(nodes); }
protected override bool CanExecuteInternal(ILSpyTreeNode[] nodes) { return(DeletePropertyDefCommand.CanExecute(nodes)); }
void DeleteExecuted(object sender, ExecutedRoutedEventArgs e) { DeletePropertyDefCommand.Execute(MainWindow.Instance.SelectedNodes); }
void DeleteCanExecute(object sender, CanExecuteRoutedEventArgs e) { e.CanExecute = DeletePropertyDefCommand.CanExecute(MainWindow.Instance.SelectedNodes); }