public class ContextAreaCommentTreeComponent extends AbstractCommentTreeContextComponent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMMENT_LAYER_AWARE_MODEL |
groupboxList, IMG_ATTACHMENT, IMG_USER_DUMMY_SMALL, mainDivEMPTY_MESSAGE, lastResultType, listComponentModel, loginService, mainArea, resultModel, uiConfigurationServiceADV_QUERY_BTN_ACTIVE_IMG, ADV_QUERY_BTN_IMG, BROWSER_TOOLBAR_SCLASS, CLOSE_BTN_IMG, CONTENT_BROWSER_GB_SCLASS, CONTENT_BROWSER_STICKY_GB_SCLASS, DUPLICATE_BTN_IMG, initialized, MAIN_AREA_BL_SCLASS, MINIMIZE_BTN_IMG, SAVE_QUERY_BTN_IMG, SEARCH_MAGNIFIER_BTN_IMG, SPLIT_ACTIVE_BTN_IMG, SPLIT_INACTIVE_BTN_IMG| Constructor and Description |
|---|
ContextAreaCommentTreeComponent(ContextAreaCommentTreeController controller,
ContextAreaCommentTreeModel model,
AbstractContentBrowser contentBrowser) |
initializecleanup, createMainArea, createSeparator, createViewItemImage, getCockpitCommentService, getCurrentItemView, getGroupboxList, getTypeService, getValueService, markAsRead, renderAttachmentDiv, renderDetailsContainer, renderGroupboxHeaderIcons, renderReplies, renderView, setActiveItem, updateActiveItems, updateItem, updateSelectedItemscreateTableController, desktopRemoved, detach, getLoginService, getResultModel, getRootType, getTableModel, getUIConfigurationService, loadListModel, resetSelection, resize, setParent, setTableModel, updateResultgetContentBrowser, setModel, updateItempublic static final java.lang.String COMMENT_LAYER_AWARE_MODEL
public ContextAreaCommentTreeComponent(ContextAreaCommentTreeController controller, ContextAreaCommentTreeModel model, AbstractContentBrowser contentBrowser)
public java.util.List<TypedObject> getComments()
getComments in class AbstractCommentTreeContextComponentpublic Div renderCommentsTree()
protected void renderStatusSection(Hbox commentHeader,
AbstractCommentModel abstractComment)
renderStatusSection in class CommentMainAreaBrowserComponentprotected void renderCommentDetailsBox(Div groupboxContentDiv,
CommentModel comment)
renderCommentDetailsBox in class CommentMainAreaBrowserComponentprotected void renderCommentTextBox(Div groupboxContentDiv,
CommentModel commentModel)
renderCommentTextBox in class CommentMainAreaBrowserComponentprotected void renderGroupboxHeaderClosed(AbstractCommentModel commentItemModel, Hbox commentHeader)
renderGroupboxHeaderClosed in class CommentMainAreaBrowserComponentprotected void renderGroupboxHeaderOpen(AbstractCommentModel commentItemModel, Hbox commentHeader)
renderGroupboxHeaderOpen in class CommentMainAreaBrowserComponentprotected void markGroupBoxSelected(AdvancedGroupbox groupbox, AbstractCommentModel commentItemModel)
markGroupBoxSelected in class CommentMainAreaBrowserComponentpublic ContextAreaCommentTreeModel getModel()
getModel in interface BrowserComponentgetModel in class AbstractCommentTreeContextComponentprotected void renderLabelDiv(Hbox commentHeader,
AbstractCommentModel commentItemModel)
renderLabelDiv in class CommentMainAreaBrowserComponentprotected void addEventListeners(AdvancedGroupbox groupbox, AbstractCommentModel abstractComment)
addEventListeners in class CommentMainAreaBrowserComponentprotected AdvancedGroupbox renderSingleReply(ReplyModel replyModel, Div parent)
renderSingleReply in class CommentMainAreaBrowserComponentpublic CommentLayerService getCommentLayerService()
public void openRecord(AbstractCommentModel abstractComment)
public ActionColumnConfiguration getCommentActionConfiguration()
getCommentActionConfiguration in class CommentMainAreaBrowserComponentprotected AdvancedGroupbox renderSingleComment(CommentModel commentModel, Div parent)
renderSingleComment in class CommentMainAreaBrowserComponentprotected void extendContextMap(java.util.Map contextMap)
extendContextMap in class CommentMainAreaBrowserComponentprotected AdvancedGroupbox renderGroupbox(AbstractCommentModel commentItemModel, Div contentContainer)
renderGroupbox in class CommentMainAreaBrowserComponentprotected TooltipRenderer getTooltipRenderer()
public boolean update()
AbstractBrowserComponentupdate in interface CockpitComponentupdate in class CommentMainAreaBrowserComponenttrue if this browser was successfully updated, false otherwiseprotected void cleanRemovedComments()
Copyright © 2018 SAP SE. All Rights Reserved.