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 TaskCommentsPresenter
presenter
-
Constructor Summary
Constructors Constructor Description TaskCommentsViewImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCommentButton(org.jboss.errai.common.client.dom.Event e)
void
clearCommentInputForm()
void
clearErrorMessages()
void
disableNewComments()
org.jboss.errai.common.client.dom.HTMLElement
getElement()
void
hideLoadButton()
void
init()
void
init(TaskCommentsPresenter presenter)
void
loadMoreComments(org.jboss.errai.common.client.dom.MouseEvent event)
void
onSortAlphaAsc(org.jboss.errai.common.client.dom.MouseEvent event)
void
onSortAlphaDesc(org.jboss.errai.common.client.dom.MouseEvent event)
void
resetPagination()
void
setCommentList(List<org.jbpm.workbench.ht.model.CommentSummary> commentSummaries)
void
showCommentHeader()
void
showLoadButton()
protected void
submitCommentAddition()
-
-
-
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:
getElement
in interfaceorg.jboss.errai.common.client.api.IsElement
-
init
public void init(TaskCommentsPresenter presenter)
- Specified by:
init
in interfaceorg.uberfire.client.mvp.HasPresenter<TaskCommentsPresenter>
- Overrides:
init
in classorg.jbpm.workbench.common.client.util.AbstractView<TaskCommentsPresenter>
-
clearCommentInputForm
public void clearCommentInputForm()
- Specified by:
clearCommentInputForm
in interfaceTaskCommentsPresenter.TaskCommentsView
-
disableNewComments
public void disableNewComments()
- Specified by:
disableNewComments
in interfaceTaskCommentsPresenter.TaskCommentsView
-
clearErrorMessages
public void clearErrorMessages()
-
resetPagination
public void resetPagination()
- Specified by:
resetPagination
in interfaceTaskCommentsPresenter.TaskCommentsView
-
setCommentList
public void setCommentList(List<org.jbpm.workbench.ht.model.CommentSummary> commentSummaries)
- Specified by:
setCommentList
in interfaceTaskCommentsPresenter.TaskCommentsView
-
hideLoadButton
public void hideLoadButton()
- Specified by:
hideLoadButton
in interfaceTaskCommentsPresenter.TaskCommentsView
-
showLoadButton
public void showLoadButton()
- Specified by:
showLoadButton
in interfaceTaskCommentsPresenter.TaskCommentsView
-
showCommentHeader
public void showCommentHeader()
- Specified by:
showCommentHeader
in 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)
-
-