C# Class KeyboardEditor.ViewModels.SaveAsStepViewModel

Inheritance: HelpAwareWizardPage
显示文件 Open project: Invenietis/ck-certified Class Usage Examples

Public Methods

Method Description
CheckCanGoFurther ( ) : bool

Checks that the user can go on the next page

OnBeforeNext ( ) : bool

Called before going to the next page. Handles saving/erasing/replacing/renaming keyboards

SaveAsStepViewModel ( IKeyboardEditorRoot root, WizardManager wizardManager, IKeyboard editedKeyboard ) : System

Ctor

Private Methods

Method Description
HandleKeyboardSelected ( ) : bool

Handles cases when the user has selected an existing keyboard on which the edited keyboard has to be applied.

HandleNewName ( ) : bool

Handles cases when no keyboards are selected, that the user has chosen a arbitrary name, inserted in the NewName property.

Method Details

CheckCanGoFurther() public method

Checks that the user can go on the next page
public CheckCanGoFurther ( ) : bool
return bool

OnBeforeNext() public method

Called before going to the next page. Handles saving/erasing/replacing/renaming keyboards
public OnBeforeNext ( ) : bool
return bool

SaveAsStepViewModel() public method

Ctor
public SaveAsStepViewModel ( IKeyboardEditorRoot root, WizardManager wizardManager, IKeyboard editedKeyboard ) : System
root IKeyboardEditorRoot
wizardManager WizardManager The wizard manager
editedKeyboard IKeyboard
return System