public class PageCommentsContextAreaBrowserComponent extends ContextAreaBrowserComponent implements CommentLayerContextComponent
ContextAreaBrowserComponent.MyListenerHandler, ContextAreaBrowserComponent.MyModelWrapperBROWSERAREA_SHOW_MAX_L10NKEY, cleanContextHeader, columnModelListener, CONTEXT_AREA_MAIN_DIV_SCLASS, contextArea, contextAreaMainDiv, contextHeader, contextModel, EMPTY_MESSAGE_I3, gridContextController, headerString, inlineCreationEnabled, internalContextViewMode, lastContextType, LIST_VIEW_CONFIG_CODE, listView, loginService, multiSelectActionArea, pageSizeCombo, paging, previouslyActiveItem, systemService, tableController, toolbarDiv, typeService, uiAccessRightService, 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 |
|---|
PageCommentsContextAreaBrowserComponent(PrintPageBrowserModel model,
AbstractContentBrowser contentBrowser) |
| Modifier and Type | Method and Description |
|---|---|
protected Toolbarbutton |
createCloseButton(String closeBtnImg) |
protected HtmlBasedComponent |
createContextArea() |
protected Groupbox |
createContextGroupbox() |
protected Div |
createContextMainDiv() |
ContextAreaCommentTreeModel |
getCommentTreeModel()
Returns the model holding the current state of the of the comment tree.
|
protected Collection<HtmlBasedComponent> |
getGroupboxComponents() |
protected Collection<HtmlBasedComponent> |
getHeaderComponents() |
boolean |
initialize()
Initializes this browser component i.e.
|
protected boolean |
isContextPagingEnabled(AbstractPageableBrowserModel browserModel) |
void |
openCommentRecord(AbstractCommentModel comment)
Handle open action of the record representing target
AbstractCommentModel instance. |
boolean |
update()
Updates this browser component i.e.
|
cleanup, createContextHeader, createContextTableModelListener, createMultiTypeListViewConfiguration, desktopRemoved, detach, getColumnModelListener, getContextListModel, getContextResultType, getContextTableModel, getEditorFactory, getListComponentModel, getListenerHandler, getListViewConfiguration, getLoginService, getModel, getPageableBrowserModelIfPresent, getRequiredPropertyDescriptors, getSystemService, getTypeService, getUIAccessRightService, getUIConfigurationService, getValueContainer, loadListView, loadListViewConfig, resize, setActiveItem, setContextTableModel, setParent, showAddItemPopup, showAddItemRow, storeListViewConfiguration, update, updateActiveItems, updateContextItems, updateItem, updateMultiSelectAction, updateMultiSelectActionArea, updatePaging, updateSelectedItemsgetContentBrowser, setModel, updateItempublic PageCommentsContextAreaBrowserComponent(PrintPageBrowserModel model, AbstractContentBrowser contentBrowser)
public ContextAreaCommentTreeModel getCommentTreeModel()
CommentLayerContextComponentgetCommentTreeModel in interface CommentLayerContextComponentContextAreaCommentTreeModelprotected Groupbox createContextGroupbox()
createContextGroupbox in class ContextAreaBrowserComponentprotected HtmlBasedComponent createContextArea()
createContextArea in class ContextAreaBrowserComponentprotected Collection<HtmlBasedComponent> getGroupboxComponents()
getGroupboxComponents in class ContextAreaBrowserComponentprotected Collection<HtmlBasedComponent> getHeaderComponents()
getHeaderComponents in class ContextAreaBrowserComponentprotected Div createContextMainDiv()
createContextMainDiv in class ContextAreaBrowserComponentpublic boolean update()
AbstractBrowserComponentupdate in interface CockpitComponentupdate in interface CommentLayerContextComponentupdate in class ContextAreaBrowserComponenttrue if this browser was successfully updated, false otherwisepublic boolean initialize()
AbstractBrowserComponentinitialized flag to true after this
method has been called.
Note: This method is automatically called when a model or browser controller is set.initialize in interface CockpitComponentinitialize in class ContextAreaBrowserComponenttrue if initialization was successful, false otherwiseAbstractBrowserComponent.setModel(BrowserModel)public void openCommentRecord(AbstractCommentModel comment)
CommentLayerContextComponentAbstractCommentModel instance.openCommentRecord in interface CommentLayerContextComponentprotected Toolbarbutton createCloseButton(String closeBtnImg)
createCloseButton in class ContextAreaBrowserComponentprotected boolean isContextPagingEnabled(AbstractPageableBrowserModel browserModel)
isContextPagingEnabled in class ContextAreaBrowserComponentCopyright © 2017 SAP SE. All Rights Reserved.