Example #1
0
 public override string GetHeader(AsmEditorContext context) => RemoveAssemblyCommand.GetHeader(context.Nodes);
Example #2
0
 public override bool IsVisible(AsmEditorContext context) => RemoveAssemblyCommand.CanExecute(context.Nodes);
Example #3
0
 public override void Execute(AsmEditorContext context) => RemoveAssemblyCommand.Execute(undoCommandService, documentSaver, appService, context.Nodes);
Example #4
0
 protected override bool CanExecuteInternal(ILSpyTreeNode[] nodes)
 {
     return(RemoveAssemblyCommand.CanExecute(nodes));
 }
Example #5
0
 protected override void ExecuteInternal(ILSpyTreeNode[] nodes)
 {
     RemoveAssemblyCommand.Execute(nodes);
 }
Example #6
0
		CommandLoader(IWpfCommandService wpfCommandService, IDocumentTabService documentTabService, RemoveAssemblyCommand.EditMenuCommand removeCmd, AssemblySettingsCommand.EditMenuCommand settingsCmd) {
			wpfCommandService.AddRemoveCommand(removeCmd);
			wpfCommandService.AddSettingsCommand(documentTabService, settingsCmd, null);
		}
Example #7
0
 void DeleteExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     RemoveAssemblyCommand.Execute(MainWindow.Instance.SelectedNodes);
 }
Example #8
0
 void DeleteCanExecute(object sender, CanExecuteRoutedEventArgs e)
 {
     e.CanExecute = RemoveAssemblyCommand.CanExecute(MainWindow.Instance.SelectedNodes);
 }
Example #9
0
 public override void Execute(AsmEditorContext context)
 {
     RemoveAssemblyCommand.Execute(undoCommandManager, documentSaver, appWindow, context.Nodes);
 }
Example #10
0
		CommandLoader(IWpfCommandManager wpfCommandManager, IFileTabManager fileTabManager, RemoveAssemblyCommand.EditMenuCommand removeCmd, AssemblySettingsCommand.EditMenuCommand settingsCmd) {
			wpfCommandManager.AddRemoveCommand(removeCmd);
			wpfCommandManager.AddSettingsCommand(fileTabManager, settingsCmd, null);
		}