C# 클래스 KeyboardEditor.ViewModels.SavingStepViewModel

상속: HelpAwareWizardPage
파일 보기 프로젝트 열기: Invenietis/ck-certified 1 사용 예제들

공개 메소드들

메소드 설명
CheckCanGoFurther ( ) : bool

Checks that a keyboard has been selected before enabling going to the next step.

SavingStepViewModel ( IKeyboardEditorRoot root, WizardManager wizardManager, IKeyboard keyboard ) : System

Ctor

비공개 메소드들

메소드 설명
CancelAndQuit ( ) : void
CancelAndRestart ( ) : void
SaveOnEditedKeyboard ( ) : void

Goes to the next page. Not doing anything means keeping the modifications done on the keyboard on which they have been done.

SaveUnderOtherKeyboard ( ) : void

Saves the modifications done on another keyboard and restores the current one. Note that in reality, the current keyboard holds the modifications, so we will rename it, and restore the backup of the previous state of the keyboard on a new keyboard that we'll create with the name it previously had.

메소드 상세

CheckCanGoFurther() 공개 메소드

Checks that a keyboard has been selected before enabling going to the next step.
public CheckCanGoFurther ( ) : bool
리턴 bool

SavingStepViewModel() 공개 메소드

Ctor
public SavingStepViewModel ( IKeyboardEditorRoot root, WizardManager wizardManager, IKeyboard keyboard ) : System
root IKeyboardEditorRoot The ContextEditor that is the root of this wizard
wizardManager WizardManager The wizardManager
keyboard IKeyboard The modified keyboard to save
리턴 System