Class NewCaseInstanceViewImpl
- java.lang.Object
-
- org.jbpm.workbench.cm.client.util.AbstractView<NewCaseInstancePresenter>
-
- org.jbpm.workbench.cm.client.newcase.NewCaseInstanceViewImpl
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.IsElement,NewCaseInstancePresenter.NewCaseInstanceView,org.uberfire.client.mvp.HasPresenter<NewCaseInstancePresenter>,org.uberfire.client.mvp.UberElement<NewCaseInstancePresenter>
@Dependent @Templated public class NewCaseInstanceViewImpl extends AbstractView<NewCaseInstancePresenter> implements NewCaseInstancePresenter.NewCaseInstanceView
-
-
Field Summary
-
Fields inherited from class org.jbpm.workbench.cm.client.util.AbstractView
presenter
-
-
Constructor Summary
Constructors Constructor Description NewCaseInstanceViewImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanForm()voidclearCaseDefinitions()voidclearRoles()org.jboss.errai.common.client.dom.HTMLElementgetElement()voidhide()voidinit()voidonCancelClick(org.jboss.errai.common.client.dom.MouseEvent event)voidonCaseChanged(org.jboss.errai.common.client.dom.Event event)voidonCloseClick(org.jboss.errai.common.client.dom.MouseEvent event)voidonCreateClick(org.jboss.errai.common.client.dom.MouseEvent event)voidsetCaseDefinitions(List<org.jbpm.workbench.cm.model.CaseDefinitionSummary> definitions)voidsetOwner(String owner)voidsetRoles(List<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary> roles)voidshow()voidshowCaseOwnerError(String message)voidshowError(List<String> messages)-
Methods inherited from class org.jbpm.workbench.cm.client.util.AbstractView
init, tooltip
-
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
show
public void show()
- Specified by:
showin interfaceNewCaseInstancePresenter.NewCaseInstanceView
-
hide
public void hide()
- Specified by:
hidein interfaceNewCaseInstancePresenter.NewCaseInstanceView
-
clearCaseDefinitions
public void clearCaseDefinitions()
- Specified by:
clearCaseDefinitionsin interfaceNewCaseInstancePresenter.NewCaseInstanceView
-
setCaseDefinitions
public void setCaseDefinitions(List<org.jbpm.workbench.cm.model.CaseDefinitionSummary> definitions)
- Specified by:
setCaseDefinitionsin interfaceNewCaseInstancePresenter.NewCaseInstanceView
-
clearRoles
public void clearRoles()
- Specified by:
clearRolesin interfaceNewCaseInstancePresenter.NewCaseInstanceView
-
setRoles
public void setRoles(List<org.jbpm.workbench.cm.model.CaseRoleAssignmentSummary> roles)
- Specified by:
setRolesin interfaceNewCaseInstancePresenter.NewCaseInstanceView
-
cleanForm
public void cleanForm()
-
showError
public void showError(List<String> messages)
- Specified by:
showErrorin interfaceNewCaseInstancePresenter.NewCaseInstanceView
-
showCaseOwnerError
public void showCaseOwnerError(String message)
- Specified by:
showCaseOwnerErrorin interfaceNewCaseInstancePresenter.NewCaseInstanceView
-
getElement
public org.jboss.errai.common.client.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceorg.jboss.errai.common.client.api.IsElement
-
setOwner
public void setOwner(String owner)
- Specified by:
setOwnerin interfaceNewCaseInstancePresenter.NewCaseInstanceView
-
onCreateClick
@EventHandler("start") public void onCreateClick(@ForEvent("click") org.jboss.errai.common.client.dom.MouseEvent event)
-
onCancelClick
@EventHandler("cancel") public void onCancelClick(@ForEvent("click") org.jboss.errai.common.client.dom.MouseEvent event)
-
onCloseClick
@EventHandler("close") public void onCloseClick(@ForEvent("click") org.jboss.errai.common.client.dom.MouseEvent event)
-
onCaseChanged
@EventHandler("definition-name-select") public void onCaseChanged(@ForEvent("change") org.jboss.errai.common.client.dom.Event event)
-
-