Class TaskCommentsViewImpl
- java.lang.Object
-
- org.jbpm.workbench.common.client.util.AbstractView<TaskCommentsPresenter>
-
- org.jbpm.workbench.ht.client.editors.taskcomments.TaskCommentsViewImpl
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.IsElement,TaskCommentsPresenter.TaskCommentsView,org.uberfire.client.mvp.HasPresenter<TaskCommentsPresenter>,org.uberfire.client.mvp.UberElement<TaskCommentsPresenter>
@Dependent @Templated(value="TaskCommentsViewImpl.html", stylesheet="TaskCommentsViewImpl.css") public class TaskCommentsViewImpl extends org.jbpm.workbench.common.client.util.AbstractView<TaskCommentsPresenter> implements TaskCommentsPresenter.TaskCommentsView
-
-
Field Summary
Fields Modifier and Type Field Description protected TaskCommentsPresenterpresenter
-
Constructor Summary
Constructors Constructor Description TaskCommentsViewImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCommentButton(org.jboss.errai.common.client.dom.Event e)voidclearCommentInputForm()voidclearErrorMessages()voiddisableNewComments()org.jboss.errai.common.client.dom.HTMLElementgetElement()voidhideLoadButton()voidinit()voidinit(TaskCommentsPresenter presenter)voidloadMoreComments(org.jboss.errai.common.client.dom.MouseEvent event)voidonSortAlphaAsc(org.jboss.errai.common.client.dom.MouseEvent event)voidonSortAlphaDesc(org.jboss.errai.common.client.dom.MouseEvent event)voidresetPagination()voidsetCommentList(List<org.jbpm.workbench.ht.model.CommentSummary> commentSummaries)voidshowCommentHeader()voidshowLoadButton()protected voidsubmitCommentAddition()
-
-
-
Field Detail
-
presenter
protected TaskCommentsPresenter presenter
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getElement
public org.jboss.errai.common.client.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceorg.jboss.errai.common.client.api.IsElement
-
init
public void init(TaskCommentsPresenter presenter)
- Specified by:
initin interfaceorg.uberfire.client.mvp.HasPresenter<TaskCommentsPresenter>- Overrides:
initin classorg.jbpm.workbench.common.client.util.AbstractView<TaskCommentsPresenter>
-
clearCommentInputForm
public void clearCommentInputForm()
- Specified by:
clearCommentInputFormin interfaceTaskCommentsPresenter.TaskCommentsView
-
disableNewComments
public void disableNewComments()
- Specified by:
disableNewCommentsin interfaceTaskCommentsPresenter.TaskCommentsView
-
clearErrorMessages
public void clearErrorMessages()
-
resetPagination
public void resetPagination()
- Specified by:
resetPaginationin interfaceTaskCommentsPresenter.TaskCommentsView
-
setCommentList
public void setCommentList(List<org.jbpm.workbench.ht.model.CommentSummary> commentSummaries)
- Specified by:
setCommentListin interfaceTaskCommentsPresenter.TaskCommentsView
-
hideLoadButton
public void hideLoadButton()
- Specified by:
hideLoadButtonin interfaceTaskCommentsPresenter.TaskCommentsView
-
showLoadButton
public void showLoadButton()
- Specified by:
showLoadButtonin interfaceTaskCommentsPresenter.TaskCommentsView
-
showCommentHeader
public void showCommentHeader()
- Specified by:
showCommentHeaderin interfaceTaskCommentsPresenter.TaskCommentsView
-
addCommentButton
@EventHandler("addCommentButton") public void addCommentButton(@ForEvent("click") org.jboss.errai.common.client.dom.Event e)
-
submitCommentAddition
protected void submitCommentAddition()
-
onSortAlphaAsc
@EventHandler("sort-alpha-asc") public void onSortAlphaAsc(@ForEvent("click") org.jboss.errai.common.client.dom.MouseEvent event)
-
onSortAlphaDesc
@EventHandler("sort-alpha-desc") public void onSortAlphaDesc(@ForEvent("click") org.jboss.errai.common.client.dom.MouseEvent event)
-
loadMoreComments
@EventHandler("load-more-comments") public void loadMoreComments(@ForEvent("click") org.jboss.errai.common.client.dom.MouseEvent event)
-
-