public class CommentMainAreaBrowserComponent extends AbstractMainAreaBrowserComponent
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<TypedObject,Div> |
groupboxList |
protected java.lang.String |
IMG_ATTACHMENT |
protected java.lang.String |
IMG_USER_DUMMY_SMALL |
protected Div |
mainDiv |
EMPTY_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 |
|---|
CommentMainAreaBrowserComponent(AdvancedBrowserModel model,
AbstractContentBrowser contentBrowser) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEventListeners(AdvancedGroupbox groupbox,
AbstractCommentModel commentItemModel) |
protected void |
cleanup() |
protected Div |
createMainArea() |
protected Separator |
createSeparator() |
protected void |
createViewItemImage(AbstractCommentModel commentItemModel) |
protected void |
extendContextMap(java.util.Map contextMap) |
CockpitCommentService |
getCockpitCommentService() |
ActionColumnConfiguration |
getCommentActionConfiguration() |
protected UIItemView |
getCurrentItemView() |
protected java.util.Map<TypedObject,Div> |
getGroupboxList() |
TypeService |
getTypeService() |
ValueService |
getValueService() |
protected void |
markAsRead(TypedObject commentItem) |
protected void |
markGroupBoxSelected(AdvancedGroupbox groupbox,
AbstractCommentModel commentItemModel) |
protected Div |
renderAttachmentDiv(AbstractCommentModel commentModel) |
protected void |
renderCommentDetailsBox(Div groupboxContentDiv,
CommentModel comment) |
protected void |
renderCommentTextBox(Div groupboxContentDiv,
CommentModel commentModel) |
protected Div |
renderDetailsContainer(CommentModel commentModel) |
protected AdvancedGroupbox |
renderGroupbox(AbstractCommentModel commentItemModel,
Div contentContainer) |
protected void |
renderGroupboxHeaderClosed(AbstractCommentModel commentItemModel,
Hbox commentHeader) |
protected void |
renderGroupboxHeaderIcons(AbstractCommentModel commentItemModel,
HtmlBasedComponent parent) |
protected void |
renderGroupboxHeaderOpen(AbstractCommentModel commentItemModel,
Hbox commentHeader) |
protected void |
renderLabelDiv(Hbox commentHeader,
AbstractCommentModel commentItemModel) |
protected Div |
renderReplies(AbstractCommentModel commentItemModel,
Div parent) |
protected AdvancedGroupbox |
renderSingleComment(CommentModel commentModel,
Div parent) |
protected AdvancedGroupbox |
renderSingleReply(ReplyModel replyModel,
Div parent) |
protected void |
renderStatusSection(Hbox commentHeader,
AbstractCommentModel commentModel) |
protected Div |
renderView() |
void |
setActiveItem(TypedObject activeItem)
Sets the active item of this browser component to
activeItem. |
boolean |
update()
Updates this browser component i.e.
|
void |
updateActiveItems()
Re-renders the currently active item(s).
|
void |
updateItem(TypedObject item,
java.util.Set<PropertyDescriptor> modifiedProperties)
Re-renders the item.
|
void |
updateSelectedItems()
Re-renders the currently selected item(s).
|
createTableController, desktopRemoved, detach, getLoginService, getModel, getResultModel, getRootType, getTableModel, getUIConfigurationService, initialize, loadListModel, resetSelection, resize, setParent, setTableModel, updateResultgetContentBrowser, setModel, updateItemprotected Div mainDiv
protected final java.util.Map<TypedObject,Div> groupboxList
protected final java.lang.String IMG_USER_DUMMY_SMALL
protected final java.lang.String IMG_ATTACHMENT
public CommentMainAreaBrowserComponent(AdvancedBrowserModel model, AbstractContentBrowser contentBrowser)
protected Div renderView()
protected void markAsRead(TypedObject commentItem)
protected AdvancedGroupbox renderSingleComment(CommentModel commentModel, Div parent)
protected Div renderAttachmentDiv(AbstractCommentModel commentModel)
protected AdvancedGroupbox renderGroupbox(AbstractCommentModel commentItemModel, Div contentContainer)
protected void extendContextMap(java.util.Map contextMap)
protected void renderGroupboxHeaderClosed(AbstractCommentModel commentItemModel, Hbox commentHeader)
commentItemModel - commentHeader - protected void renderGroupboxHeaderOpen(AbstractCommentModel commentItemModel, Hbox commentHeader)
commentItemModel - commentHeader - protected void renderGroupboxHeaderIcons(AbstractCommentModel commentItemModel, HtmlBasedComponent parent)
protected void createViewItemImage(AbstractCommentModel commentItemModel)
protected Div renderReplies(AbstractCommentModel commentItemModel, Div parent)
protected AdvancedGroupbox renderSingleReply(ReplyModel replyModel, Div parent)
protected Separator createSeparator()
public ActionColumnConfiguration getCommentActionConfiguration()
protected void cleanup()
cleanup in class AbstractMainAreaBrowserComponentprotected Div createMainArea()
createMainArea in class AbstractMainAreaBrowserComponentprotected UIItemView getCurrentItemView()
getCurrentItemView in class AbstractMainAreaBrowserComponentpublic void setActiveItem(TypedObject activeItem)
AbstractBrowserComponentactiveItem.setActiveItem in interface CockpitComponentsetActiveItem in class AbstractMainAreaBrowserComponentactiveItem - the new active itempublic boolean update()
AbstractBrowserComponentupdate in interface CockpitComponentupdate in class AbstractBrowserComponenttrue if this browser was successfully updated, false otherwisepublic void updateActiveItems()
AbstractBrowserComponentupdateActiveItems in interface CockpitComponentupdateActiveItems in class AbstractMainAreaBrowserComponentpublic void updateItem(TypedObject item, java.util.Set<PropertyDescriptor> modifiedProperties)
AbstractBrowserComponentupdateItem in interface CockpitComponentupdateItem in class AbstractMainAreaBrowserComponentitem - the item to be re-renderedmodifiedProperties - modified propertiespublic void updateSelectedItems()
AbstractBrowserComponentupdateSelectedItems in interface CockpitComponentupdateSelectedItems in class AbstractMainAreaBrowserComponentpublic CockpitCommentService getCockpitCommentService()
public ValueService getValueService()
public TypeService getTypeService()
getTypeService in class AbstractMainAreaBrowserComponentprotected void renderCommentDetailsBox(Div groupboxContentDiv,
CommentModel comment)
protected Div renderDetailsContainer(CommentModel commentModel)
protected void renderCommentTextBox(Div groupboxContentDiv,
CommentModel commentModel)
protected void renderStatusSection(Hbox commentHeader,
AbstractCommentModel commentModel)
protected void markGroupBoxSelected(AdvancedGroupbox groupbox, AbstractCommentModel commentItemModel)
protected void renderLabelDiv(Hbox commentHeader,
AbstractCommentModel commentItemModel)
protected void addEventListeners(AdvancedGroupbox groupbox, AbstractCommentModel commentItemModel)
protected java.util.Map<TypedObject,Div> getGroupboxList()
Copyright © 2018 SAP SE. All Rights Reserved.