// ĠCopyright Ġ 2 0 0 0 - 2 0 1 9 ĠJetBrains Ġs . r . o . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe ĠLICENSE Ġfile . Ċ package Ġcom . intellij . vcs . commit Ċ Ċ import Ġcom . intellij . openapi . Disposable Ċ import Ġcom . intellij . openapi . action System . DataProvider Ċ import Ġcom . intellij . openapi . vcs . FilePath Ċ import Ġcom . intellij . openapi . vcs . changes . Change Ċ import Ġcom . intellij . openapi . vcs . changes . Commit Executor Ċ import Ġcom . intellij . openapi . vcs . changes . In clusion Listener Ċ import Ġcom . intellij . openapi . vcs . check in . Check in Handler Ċ import Ġcom . intellij . ui . Text Accessor Ċ import Ġjava . util .* Ċ Ċ interface ĠCommit Workflow Ui Ġ: ĠData Provider , ĠDis posable Ġ{ ĊĠ Ġval Ġcommit Message Ui : ĠCommit Message Ui ĊĊĠ Ġvar Ġdefault Commit Action Name : ĠString ĊĊĠ Ġfun Ġactivate (): ĠBoolean ĊĊĠ Ġfun Ġadd DataProvider ( provider : ĠData Provider ) ĊĊĠ Ġfun Ġadd Executor Listener ( listener : ĠCommit Executor Listener , Ġparent : ĠDis posable ) ĊĊĠ Ġfun Ġrefresh Data () ĊĊĠ Ġfun Ġget Displayed Changes (): ĠList < Change > ĊĠ Ġfun Ġget Included Changes (): ĠList < Change > ĊĠ Ġfun Ġget Displayed Un versioned Files (): ĠList < FilePath > ĊĠ Ġfun Ġget Included Un versioned Files (): ĠList < FilePath > ĊĊĠ Ġfun Ġinclude Into Commit ( items : ĠCollection <* >) ĊĊĠ Ġfun Ġadd In clusion Listener ( listener : ĠIn clusion Listener , Ġparent : ĠDis posable ) ĊĊĠ Ġfun Ġconfirm Commit With Empty Message (): ĠBoolean ĊĊĠ Ġfun Ġstart Before Commit Checks () ĊĠ Ġfun Ġend Before Commit Checks ( result : ĠCheck in Handler . Return Result ) Ċ } Ċ Ċ // TODO ĠUn ify Ġwith ĠCommit Message I Ċ interface ĠCommit Message Ui Ġ: ĠText Accessor Ġ{ ĊĠ Ġoverride Ġfun ĠgetText (): ĠString ĊĠ Ġoverride Ġfun Ġset Text ( text : ĠString ?) ĊĊĠ Ġfun Ġfocus () Ċ } Ċ Ċ interface ĠCommit Executor Listener Ġ: ĠEvent Listener Ġ{ ĊĠ Ġfun Ġexecutor Called ( executor : ĠCommit Executor ?) Ċ }