Class LaunchExpanderViewModel
Contains the view model logic for the Launch expander display pane.
Inheritance
Namespace: Phoenix.Applications.Launch
Assembly: Phoenix.Plugin.AppLaunch.dll
Syntax
public class LaunchExpanderViewModel : BindableBase
Constructors
View SourceLaunchExpanderViewModel(LaunchModel, LaunchExpanderView)
Initializes a new instance of the LaunchExpanderViewModel class.
Declaration
public LaunchExpanderViewModel(LaunchModel model, LaunchExpanderView view)
Parameters
Type | Name | Description |
---|---|---|
LaunchModel | model | The Launch model for the expander. |
LaunchExpanderView | view | The view corresponding to this view model. |
Properties
View SourceAddParameterCommand
Gets a command that adds a parameter to the selected parameters.
Declaration
public DelegateCommand AddParameterCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
ChangeDeviceSelectionCommand
Gets the command that changes the device selection for an existing launch transaction.
Declaration
public AsyncDelegateCommand ChangeDeviceSelectionCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand |
CloseExpanderCommand
Gets the command for closing this display pane.
Declaration
public DelegateCommand CloseExpanderCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
CommandLineCustomized
Gets a value indicating whether or not the command line is customized.
Declaration
public bool CommandLineCustomized { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
CommitCommandLineChangesCommand
Gets the command for committing custom command line changes.
Declaration
public DelegateCommand<TextBox> CommitCommandLineChangesCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<System.Windows.Controls.TextBox> |
CreateNewConfigurationCommand
Gets a command that creates a new configuration.
Declaration
public DelegateCommand CreateNewConfigurationCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
DeleteCommandPending
Gets or sets a value indicating whether or not a launch configuration deletion is being performed by the user.
Declaration
public bool DeleteCommandPending { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DeleteConfigurationCommand
Gets a command that deletes the target configuration selected from the configuration list.
Declaration
public DelegateCommand DeleteConfigurationCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
EditingConfiguration
Gets or sets a value indicating whether or not the configuration is being edited.
Declaration
public bool EditingConfiguration { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
GeneratedCommandLine
Gets or sets the default generated command line resulting from the existing parameters.
Declaration
public string GeneratedCommandLine { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Header
Gets the header for the launch expander.
Declaration
public static string Header { get; }
Property Value
Type | Description |
---|---|
System.String |
LaunchCommand
Gets a command that launches with the configured information.
Declaration
public AsyncDelegateCommand LaunchCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand |
LoadConfigurationCommand
Gets a command that loads the target configuration from either the path history, or the selected file.
Declaration
public DelegateCommand LoadConfigurationCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
LoadingConfiguration
Gets or sets a value indicating whether or not a configuration is being loaded.
Declaration
public bool LoadingConfiguration { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LoadingSavedConfig
Gets or sets a value indicating whether or not the saved configurations are selected for loading.
Declaration
public bool LoadingSavedConfig { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LoadNewConfigFilePath
Gets or sets the file path for loading an existing configuration.
Declaration
public string LoadNewConfigFilePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParameterChoices
Gets the collection of parameter choices for the selected factory.
Declaration
public ObservableCollection<ILaunchParameter> ParameterChoices { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ILaunchParameter> |
ParameterFactories
Gets the collection of parameter factories.
Declaration
public ObservableCollection<LaunchParameterFactoryBase> ParameterFactories { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<LaunchParameterFactoryBase> |
RefreshApplicationsCommand
Gets the command for refreshing the applications.
Declaration
public AsyncDelegateCommand RefreshApplicationsCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand |
RefreshConfigurationCommand
Gets a command that refreshes or reverts the configuration to what the file says currently.
Declaration
public DelegateCommand RefreshConfigurationCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
RemoveParameterCommand
Gets a command that removes a parameter from the selected parameters.
Declaration
public DelegateCommand<LaunchParameterModel> RemoveParameterCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<LaunchParameterModel> |
ResetCustomCommandLineCommand
Gets a command that resets the custom command line to default.
Declaration
public DelegateCommand ResetCustomCommandLineCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
SaveConfigurationCommand
Gets a command that saves a configuration to the path it came from.
Declaration
public DelegateCommand SaveConfigurationCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
SaveCopyConfigurationCommand
Gets a command that saves a configuration to a new file.
Declaration
public DelegateCommand SaveCopyConfigurationCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
SavedConfigurationPaths
Gets the saved configuration paths.
Declaration
public ObservableCollection<FileInfo> SavedConfigurationPaths { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<System.IO.FileInfo> |
SelectConfigurationFileCommand
Gets a command that selects a configuration file with a dialog.
Declaration
public DelegateCommand SelectConfigurationFileCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
SelectedLaunch
Gets the model representing the Launch information for this display pane.
Declaration
public LaunchModel SelectedLaunch { get; }
Property Value
Type | Description |
---|---|
LaunchModel |
SelectedParameterChoice
Gets or sets the parameter that can be added.
Declaration
public ILaunchParameter SelectedParameterChoice { get; set; }
Property Value
Type | Description |
---|---|
ILaunchParameter |
SelectedParameterFactory
Gets or sets the selected parameter factory from which to get parameters to add.
Declaration
public LaunchParameterFactoryBase SelectedParameterFactory { get; set; }
Property Value
Type | Description |
---|---|
LaunchParameterFactoryBase |
SelectedSavedConfigurationPath
Gets or sets the path to the selected saved configuration for loading.
Declaration
public FileInfo SelectedSavedConfigurationPath { get; set; }
Property Value
Type | Description |
---|---|
System.IO.FileInfo |
ToggleEditConfigurationCommand
Gets a command that toggles the editing of the configuration.
Declaration
public DelegateCommand ToggleEditConfigurationCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
ToggleLoadConfigurationCommand
Gets a command that toggles the load configuration dropdown.
Declaration
public DelegateCommand ToggleLoadConfigurationCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
ToggleShowSystemApplicationsCommand
Gets the command for toggling whether to show sytem applications or not.
Declaration
public AsyncDelegateCommand<bool?> ToggleShowSystemApplicationsCommand { get; }
Property Value
Type | Description |
---|---|
AsyncDelegateCommand<System.Nullable<System.Boolean>> |
ToggleStartDeleteConfigurationCommand
Gets a command that starts the delete process (display confirmation to user) or cancels the process and returns to standard loading ui.
Declaration
public DelegateCommand ToggleStartDeleteConfigurationCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |