public SaveActiveFileCommandDefinition(IDockingHostViewModel dockingHostViewModel) { DefaultKeyGestures = new [] { new MultiKeyGesture(Key.S, ModifierKeys.Control) }; DefaultGestureScope = GestureScopes.GlobalGestureScope; dockingHostViewModel.ActiveLayoutItemChanged += _dockingHostViewModel_ActiveLayoutItemChanged; }
public void Initialize() { _dockingHostViewModel = IoC.Get <IDockingHostViewModel>(); if (_dockingHostViewModel is ViewAware va) { va.ViewAttached += Va_ViewAttached; } }
public void Activate(IDockingHostViewModel shell) { shell?.OpenLayoutItem(IoC.Get <WaitingDialogDemoViewModel>()); }
public SwitchToDocumentListCommandHandler(IDockingHostViewModel shell) { _shell = shell; }
public OpenContainingFolderCommand(IDockingHostViewModel dockingHostViewModel) { _dockingHostViewModel = dockingHostViewModel; }
public void Activate(IDockingHostViewModel shell) { shell?.OpenLayoutItem(IoC.Get <InfoBarDemoViewModel>()); }
private FileService(IDockingHostViewModel shell) { _shell = shell; }
public void Activate(IDockingHostViewModel shell) { shell?.ShowTool <TriggerUiContextViewModel>(); }
public void Activate(IDockingHostViewModel shell) { shell?.OpenLayoutItem(IoC.Get <WindowProfileChangeViewModel>()); }
public void Activate(IDockingHostViewModel shell) { shell?.ShowTool <ToolSearchExampleViewModel>(); }
public void Activate(IDockingHostViewModel shell) { shell?.ShowTool <TextStackClipboardToolViewModel>(); }
public void Activate(IDockingHostViewModel shell) { shell?.OpenLayoutItem(IoC.Get <UndoRedoViewModel>()); }
public SaveAllCommand(IDockingHostViewModel dockingHostViewModel) { _dockingHostViewModel = dockingHostViewModel; }
public void Activate(IDockingHostViewModel shell) { shell?.ShowTool <BallonTooltipViewModel>(); }
public SaveActiveFileAsCommand(IDockingHostViewModel dockingHostViewModel) { _dockingHostViewModel = dockingHostViewModel; }
public SaveActiveFileAsCommandDefinition(IDockingHostViewModel dockingHostViewModel) { dockingHostViewModel.ActiveLayoutItemChanged += _dockingHostViewModel_ActiveLayoutItemChanged; }
public CopyFullPathCommand(IDockingHostViewModel dockingHostViewModel) { _dockingHostViewModel = dockingHostViewModel; }
public void Activate(IDockingHostViewModel shell) { shell.OpenLayoutItem(IoC.Get <GraphViewModel>()); }
public OpenToolboxCommand(IDockingHostViewModel hostViewModel) { _hostViewModel = hostViewModel; }
public InfoBarDemoViewModel(IDockingHostViewModel dockingHost, IDockingMainWindowViewModel mainWindow) { _dockingHost = dockingHost; _mainWindow = mainWindow; DisplayName = "Info Bar Demo"; }