Vereinsmeisterschaften  22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
Loading...
Searching...
No Matches
IWorkspaceManagerViewModel.cs
1using System.Collections.ObjectModel;
2using System.ComponentModel;
3using System.Windows.Input;
5
7{
11 public interface IWorkspaceManagerViewModel : INotifyPropertyChanged
12 {
16 string CurrentWorkspaceFolder { get; }
17
21 bool HasUnsavedChanges { get; }
22
26 ObservableCollection<string> LastWorkspacePaths { get; }
27
32
33 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
34
38 ICommand CloseWorkspaceCommand { get; }
39
43 ICommand SaveWorkspaceCommand { get; }
44
48 ICommand LoadWorkspaceCommand { get; }
49
53 ICommand LoadLastWorkspaceCommand { get; }
54
59
63 ICommand CreateNewWorkspaceCommand { get; }
64
65 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
66
72 delegate void WorkspaceLoadedDelegate(WorkspaceManagerViewModel workspaceManagerViewModel, string currentWorkspacePath);
73
78 }
79}
ICommand OpenWorkspaceFolderCommand
Command to open the current workspace folder in the file explorer.
ObservableCollection< string > LastWorkspacePaths
List with previous workspace paths.
ICommand LoadLastWorkspaceCommand
Command to load a previous workspace from the selected folder (command parameter).
ICommand LoadWorkspaceCommand
Command to load a workspace from a folder.
delegate void WorkspaceLoadedDelegate(WorkspaceManagerViewModel workspaceManagerViewModel, string currentWorkspacePath)
Delegate void for the OnWorkspaceLoaded event.
ICommand SaveWorkspaceCommand
Command to save the current workspace to a folder.
bool HasUnsavedChanges
True if the workspace has unsaved changes, false otherwise.
WorkspaceLoadedDelegate OnWorkspaceLoaded
Event that his raised when the LoadWorkspaceCommand was executed successfully.
ICommand CreateNewWorkspaceCommand
Command to create a new workspace (add all configuration files to the folder and optionally add defau...