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