public UndoableCommandManager(ViewModel1 viewModel)
        {
            _commands          = new Stack <UndoableCommand>();
            _commandParameters = new Stack <object>();

            _redoCommands          = new Stack <UndoableCommand>();
            _redoCommandParameters = new Stack <object>();

            _viewModel = viewModel;
        }
Example #2
0
 public InsertItemCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
Example #3
0
 public SaveDocumentAsCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
 public DuplicateItemCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
Example #5
0
 public PasteCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
 public NewDocumentCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
Example #7
0
 public CommandBase(ViewModel1 viewModel)
 {
     ViewModel = viewModel;
 }
Example #8
0
 public UndoableCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
Example #9
0
 public RenameItemCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
Example #10
0
 public UndoableCommandForView(ViewModel1 viewModel)
     : base(viewModel)
 {
     _command = CreateUndoableCommand();
 }
Example #11
0
 public MoveItemOutCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
Example #12
0
 public CutCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
 public ExportToHtmlCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
 public OpenDocumentCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
 public DeleteItemCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }
Example #16
0
 public ExitCommand(ViewModel1 viewModel)
     : base(viewModel)
 {
 }