C# Class SEToolbox.ViewModels.ImportImageViewModel

Inheritance: BaseViewModel
Show file Open project: midspace/SEToolbox Class Usage Examples

Public Methods

Method Description
BrowseImageCanExecute ( ) : bool
BrowseImageExecuted ( ) : void
BuildEntity ( ) : VRage.Game.MyObjectBuilder_CubeGrid
CancelCanExecute ( ) : bool
CancelExecuted ( ) : void
ChangeKeyColorCanExecute ( ) : bool
ChangeKeyColorExecuted ( ) : void
CreateCanExecute ( ) : bool
CreateExecuted ( ) : void
ImportImageViewModel ( BaseViewModel parentViewModel, ImportImageModel dataModel ) : System
ImportImageViewModel ( BaseViewModel parentViewModel, ImportImageModel dataModel, IDialogService dialogService, Func openFileDialogFactory, Func colorDialogFactory ) : System
SetToOriginalSizeCanExecute ( ) : bool
SetToOriginalSizeExecuted ( ) : void

Private Methods

Method Description
FilenameChanged ( ) : void
ProcessFilename ( string filename ) : void
ProcessImage ( ) : void

Method Details

BrowseImageCanExecute() public method

public BrowseImageCanExecute ( ) : bool
return bool

BrowseImageExecuted() public method

public BrowseImageExecuted ( ) : void
return void

BuildEntity() public method

public BuildEntity ( ) : VRage.Game.MyObjectBuilder_CubeGrid
return VRage.Game.MyObjectBuilder_CubeGrid

CancelCanExecute() public method

public CancelCanExecute ( ) : bool
return bool

CancelExecuted() public method

public CancelExecuted ( ) : void
return void

ChangeKeyColorCanExecute() public method

public ChangeKeyColorCanExecute ( ) : bool
return bool

ChangeKeyColorExecuted() public method

public ChangeKeyColorExecuted ( ) : void
return void

CreateCanExecute() public method

public CreateCanExecute ( ) : bool
return bool

CreateExecuted() public method

public CreateExecuted ( ) : void
return void

ImportImageViewModel() public method

public ImportImageViewModel ( BaseViewModel parentViewModel, ImportImageModel dataModel ) : System
parentViewModel BaseViewModel
dataModel SEToolbox.Models.ImportImageModel
return System

ImportImageViewModel() public method

public ImportImageViewModel ( BaseViewModel parentViewModel, ImportImageModel dataModel, IDialogService dialogService, Func openFileDialogFactory, Func colorDialogFactory ) : System
parentViewModel BaseViewModel
dataModel SEToolbox.Models.ImportImageModel
dialogService IDialogService
openFileDialogFactory Func
colorDialogFactory Func
return System

SetToOriginalSizeCanExecute() public method

public SetToOriginalSizeCanExecute ( ) : bool
return bool

SetToOriginalSizeExecuted() public method

public SetToOriginalSizeExecuted ( ) : void
return void