public class CommentsSectionRenderer extends java.lang.Object implements SectionRenderer
| Constructor and Description |
|---|
CommentsSectionRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected Separator |
createSeparator() |
protected java.lang.String |
formatModifiedDate(java.util.Date modifiedDate) |
protected EventListener |
getAddCommentButtonEventListener(Div captionDiv,
java.util.List<TypedObject> relatedItemList) |
CockpitCommentService |
getCockpitCommentService() |
ActionColumnConfiguration |
getCommentActionConfiguration() |
CommentService |
getCommentService() |
CommunicationBrowserModel |
getCommunicationBrowserModel() |
protected java.util.List<java.util.List<java.lang.Integer>> |
getOpenedNodes(Tree tree,
int depth) |
protected java.util.List<java.lang.Integer> |
getPathToRoot(Treeitem item) |
TypeService |
getTypeService() |
ValueService |
getValueService() |
java.lang.String[] |
getWidths() |
protected boolean |
openPath(Tree tree,
java.util.List<java.lang.Integer> path) |
void |
render(SectionPanel panel,
Component parent,
Component captionComponent,
Section section) |
protected boolean |
restoreOpenedState(Tree tree,
java.util.List<java.util.List<java.lang.Integer>> openedNodes) |
void |
setCommunicationBrowserModel(CommunicationBrowserModel communicationBrowserModel) |
void |
setTooltipRenderer(TooltipRenderer tooltipRenderer) |
void |
setWidths(java.lang.String[] widths) |
public void render(SectionPanel panel, Component parent, Component captionComponent, Section section)
render in interface SectionRendererprotected boolean restoreOpenedState(Tree tree,
java.util.List<java.util.List<java.lang.Integer>> openedNodes)
public CommentService getCommentService()
protected Separator createSeparator()
public ActionColumnConfiguration getCommentActionConfiguration()
protected java.lang.String formatModifiedDate(java.util.Date modifiedDate)
protected java.util.List<java.util.List<java.lang.Integer>> getOpenedNodes(Tree tree,
int depth)
protected java.util.List<java.lang.Integer> getPathToRoot(Treeitem item)
protected boolean openPath(Tree tree,
java.util.List<java.lang.Integer> path)
public void setWidths(java.lang.String[] widths)
public java.lang.String[] getWidths()
public void setCommunicationBrowserModel(CommunicationBrowserModel communicationBrowserModel)
communicationBrowserModel - the communicationBrowserModel to setpublic CommunicationBrowserModel getCommunicationBrowserModel()
public CockpitCommentService getCockpitCommentService()
public TypeService getTypeService()
public ValueService getValueService()
protected EventListener getAddCommentButtonEventListener(Div captionDiv,
java.util.List<TypedObject> relatedItemList)
public void setTooltipRenderer(TooltipRenderer tooltipRenderer)
Copyright © 2018 SAP SE. All Rights Reserved.