C# Class SmartCmdArgs.ViewModel.ToolWindowViewModel

Inheritance: SmartCmdArgs.Helper.PropertyChangedBase
显示文件 Open project: MBulli/SmartCommandlineArgs Class Usage Examples

Public Methods

Method Description
CancelEdit ( ) : void
EnabledItemsForCurrentProject ( ) : IEnumerable
GetListViewModel ( Project project ) : ListViewModel
PopulateFromProjectData ( Project projectName, ToolWindowStateProjectData data ) : void
Reset ( ) : void

Resets the whole state of the tool window view model

ToolWindowViewModel ( ) : System
UpdateStartupProject ( Project project ) : bool

Protected Methods

Method Description
OnCommandLineChanged ( ) : void
OnSelectedItemsChanged ( object obj, IList e ) : void

Private Methods

Method Description
CopySelectedItemsToClipboard ( ) : void
CutItemsToClipboard ( ) : void
OnArgumentListChanged ( object sender, NotifyCollectionChangedEventArgs args ) : void
OnArgumentListItemChanged ( object sender, CollectionItemPropertyChangedEventArgs args ) : void
PasteItemsFromClipboard ( ) : void
RemoveSelectedItems ( ) : void
SubscribeToChangeEvents ( ) : void
UnsubscribeToChangeEvents ( ) : void

Method Details

CancelEdit() public method

public CancelEdit ( ) : void
return void

EnabledItemsForCurrentProject() public method

public EnabledItemsForCurrentProject ( ) : IEnumerable
return IEnumerable

GetListViewModel() public method

public GetListViewModel ( Project project ) : ListViewModel
project Project
return ListViewModel

OnCommandLineChanged() protected method

protected OnCommandLineChanged ( ) : void
return void

OnSelectedItemsChanged() protected method

protected OnSelectedItemsChanged ( object obj, IList e ) : void
obj object
e IList
return void

PopulateFromProjectData() public method

public PopulateFromProjectData ( Project projectName, ToolWindowStateProjectData data ) : void
projectName Project
data ToolWindowStateProjectData
return void

Reset() public method

Resets the whole state of the tool window view model
public Reset ( ) : void
return void

ToolWindowViewModel() public method

public ToolWindowViewModel ( ) : System
return System

UpdateStartupProject() public method

public UpdateStartupProject ( Project project ) : bool
project Project
return bool