ViewModel for the workspace manager.
More...
|
| const string | DEFAULT_TEMPLATE_ZIP_FILE_NAME = "DefaultTemplates.zip" |
| | This is the file name for the default templates ZIP (this name should match the name used in the PostBuildEvent of the Vereinsmeisterschaften.csproj)
|
| |
|
| void | copyFilesFromOldWorkspace (string oldWorkspacePath, string newWorkspacePath, string fileNameResourceKey) |
| | Copy the file identified by the fileNameResourceKey from the oldWorkspacePath to the newWorkspacePath Only use this before the workspace is loaded because this method only copies files.
|
| |
| void | copyTemplatesFolderFromOldWorkspace (string oldWorkspacePath, string newWorkspacePath) |
| | Copy the templates folder from the oldWorkspacePath to the newWorkspacePath
|
| |
| void | _workspaceService_PropertyChanged (object sender, System.ComponentModel.PropertyChangedEventArgs e) |
| |
ViewModel for the workspace manager.
Definition at line 24 of file WorkspaceManagerViewModel.cs.
◆ WorkspaceManagerViewModel()
◆ _workspaceService_PropertyChanged()
| void Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._workspaceService_PropertyChanged |
( |
object | sender, |
|
|
System.ComponentModel.PropertyChangedEventArgs | e ) |
|
private |
◆ copyFilesFromOldWorkspace()
| void Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.copyFilesFromOldWorkspace |
( |
string | oldWorkspacePath, |
|
|
string | newWorkspacePath, |
|
|
string | fileNameResourceKey ) |
|
private |
Copy the file identified by the fileNameResourceKey from the oldWorkspacePath to the newWorkspacePath Only use this before the workspace is loaded because this method only copies files.
- Parameters
-
| oldWorkspacePath | Path to the old workspace with the source file |
| newWorkspacePath | Path to the new workspace where the file should be copied to |
| fileNameResourceKey | Key used to identify the file (e.g. WorkspaceService.KEY_FILENAME_COMPETITIONS) |
Definition at line 274 of file WorkspaceManagerViewModel.cs.
◆ copyTemplatesFolderFromOldWorkspace()
| void Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.copyTemplatesFolderFromOldWorkspace |
( |
string | oldWorkspacePath, |
|
|
string | newWorkspacePath ) |
|
private |
Copy the templates folder from the oldWorkspacePath to the newWorkspacePath
- Parameters
-
| oldWorkspacePath | Path to the old workspace with the source file |
| newWorkspacePath | Path to the new workspace where the file should be copied to |
Definition at line 302 of file WorkspaceManagerViewModel.cs.
◆ _clearAllLastWorkspacePathsCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._clearAllLastWorkspacePathsCommand |
|
private |
◆ _closeWorkspaceCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._closeWorkspaceCommand |
|
private |
◆ _createNewWorkspaceCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._createNewWorkspaceCommand |
|
private |
◆ _dialogCoordinator
| IDialogCoordinator Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._dialogCoordinator |
|
private |
◆ _loadLastWorkspaceCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._loadLastWorkspaceCommand |
|
private |
◆ _loadWorkspaceCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._loadWorkspaceCommand |
|
private |
◆ _navigationService
| INavigationService Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._navigationService |
|
private |
◆ _openWorkspaceFolderCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._openWorkspaceFolderCommand |
|
private |
◆ _saveWorkspaceCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._saveWorkspaceCommand |
|
private |
◆ _shellVM
| ShellViewModel Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._shellVM |
|
private |
◆ _workspaceService
| IWorkspaceService Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel._workspaceService |
|
private |
◆ DEFAULT_TEMPLATE_ZIP_FILE_NAME
| const string Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.DEFAULT_TEMPLATE_ZIP_FILE_NAME = "DefaultTemplates.zip" |
|
static |
This is the file name for the default templates ZIP (this name should match the name used in the PostBuildEvent of the Vereinsmeisterschaften.csproj)
Definition at line 29 of file WorkspaceManagerViewModel.cs.
◆ ClearAllLastWorkspacePathsCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.ClearAllLastWorkspacePathsCommand |
|
get |
◆ CloseWorkspaceCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.CloseWorkspaceCommand |
|
get |
◆ CreateNewWorkspaceCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.CreateNewWorkspaceCommand |
|
get |
◆ CurrentWorkspaceFolder
| string Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.CurrentWorkspaceFolder |
|
get |
◆ HasUnsavedChanges
| bool Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.HasUnsavedChanges |
|
get |
◆ LastWorkspacePaths
| ObservableCollection<string> Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.LastWorkspacePaths |
|
get |
◆ LoadLastWorkspaceCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.LoadLastWorkspaceCommand |
|
get |
◆ LoadWorkspaceCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.LoadWorkspaceCommand |
|
get |
◆ OpenWorkspaceFolderCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.OpenWorkspaceFolderCommand |
|
get |
◆ SaveWorkspaceCommand
| ICommand Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.SaveWorkspaceCommand |
|
get |
◆ OnWorkspaceLoaded
| IWorkspaceManagerViewModel.WorkspaceLoadedDelegate Vereinsmeisterschaften.ViewModels.WorkspaceManagerViewModel.OnWorkspaceLoaded |
The documentation for this class was generated from the following file: