Пример #1
0
 protected override void Execute(Context ctx)
 {
     DeleteFieldDefCommand.Execute(ctx.Nodes);
 }
Пример #2
0
 protected override void Initialize(ILSpyTreeNode[] nodes, MenuItem menuItem)
 {
     DeleteFieldDefCommand.Initialize(nodes, menuItem);
 }
Пример #3
0
 protected override bool CanExecute(Context ctx)
 {
     return(ctx.ReferenceSegment.IsLocalTarget &&
            DeleteFieldDefCommand.CanExecute(ctx.Nodes));
 }
Пример #4
0
 protected override void ExecuteInternal(ILSpyTreeNode[] nodes)
 {
     DeleteFieldDefCommand.Execute(nodes);
 }
Пример #5
0
 protected override bool CanExecuteInternal(ILSpyTreeNode[] nodes)
 {
     return(DeleteFieldDefCommand.CanExecute(nodes));
 }
Пример #6
0
 void DeleteExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     DeleteFieldDefCommand.Execute(MainWindow.Instance.SelectedNodes);
 }
Пример #7
0
 void DeleteCanExecute(object sender, CanExecuteRoutedEventArgs e)
 {
     e.CanExecute = DeleteFieldDefCommand.CanExecute(MainWindow.Instance.SelectedNodes);
 }
Пример #8
0
 protected override void Initialize(Context ctx, MenuItem menuItem)
 {
     DeleteFieldDefCommand.Initialize(ctx.Nodes, menuItem);
 }