Class CaseCommentItemView

  • All Implemented Interfaces:
    com.google.gwt.user.client.TakesValue<org.jbpm.workbench.cm.model.CaseCommentSummary>, org.jboss.errai.common.client.api.IsElement, org.uberfire.client.mvp.HasPresenter<CaseCommentsPresenter>, org.uberfire.client.mvp.UberElement<CaseCommentsPresenter>

    @Dependent
    @Templated
    public class CaseCommentItemView
    extends AbstractView<CaseCommentsPresenter>
    implements com.google.gwt.user.client.TakesValue<org.jbpm.workbench.cm.model.CaseCommentSummary>, org.jboss.errai.common.client.api.IsElement
    • Constructor Detail

      • CaseCommentItemView

        public CaseCommentItemView()
    • Method Detail

      • setCommentEditEvent

        @Inject
        public void setCommentEditEvent​(javax.enterprise.event.Event<CaseCommentEditEvent> commentEditEvent)
      • setIconType

        public void setIconType​(String iconTypeClass)
      • getElement

        public org.jboss.errai.common.client.dom.HTMLElement getElement()
        Specified by:
        getElement in interface org.jboss.errai.common.client.api.IsElement
      • setEditMode

        public void setEditMode​(boolean editMode)
      • clearErrorMessages

        public void clearErrorMessages()
      • validateForm

        public boolean validateForm()
      • onUpdateCommentClick

        @EventHandler("update-comment")
        public void onUpdateCommentClick​(@ForEvent("click")
                                         org.jboss.errai.common.client.dom.Event e)
      • onCancelEdtionClick

        @EventHandler("cancel-edition")
        public void onCancelEdtionClick​(@ForEvent("click")
                                        org.jboss.errai.common.client.dom.Event e)
      • getValue

        public org.jbpm.workbench.cm.model.CaseCommentSummary getValue()
        Specified by:
        getValue in interface com.google.gwt.user.client.TakesValue<org.jbpm.workbench.cm.model.CaseCommentSummary>
      • setValue

        public void setValue​(org.jbpm.workbench.cm.model.CaseCommentSummary model)
        Specified by:
        setValue in interface com.google.gwt.user.client.TakesValue<org.jbpm.workbench.cm.model.CaseCommentSummary>
      • updateActions

        protected void updateActions​(boolean editItem)
      • onCaseCommentEditEvent

        public void onCaseCommentEditEvent​(@Observes
                                           CaseCommentEditEvent event)
      • setLastElementStyle

        public void setLastElementStyle()