public JadeViewModel() { _workspaceManager = new WorkspaceManager(); _workspaceManager.WorkspaceOpened += delegate { OnPropertyChanged("Workspace"); }; _editorModel = new JadeControls.EditorControl.ViewModel.EditorControlViewModel(); _newWorkspaceCmd = new Commands.NewWorkspace(this); _openWorkspaceCmd = new Commands.OpenWorkspace(this); _saveWorkspaceCmd = new Commands.SaveWorkspace(this); _saveAsWorkspaceCmd = new Commands.SaveAsWorkspace(this); _closeWorkspaceCmd = new Commands.CloseWorkspace(this); }
public JadeViewModel() { _editorModel = new JadeControls.EditorControl.ViewModel.EditorControlViewModel(); _openWorkspaceCmd = new Commands.OpenWorkspace(this); _saveAsWorkspaceCmd = new Commands.SaveAsWorkspace(this); }