public class ContextAreaBrowserComponent extends AbstractContextBrowserComponent implements DesktopRemovalAwareComponent
| Modifier and Type | Class and Description |
|---|---|
protected class |
ContextAreaBrowserComponent.MyListenerHandler |
protected class |
ContextAreaBrowserComponent.MyModelWrapper |
ADV_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 |
|---|
ContextAreaBrowserComponent(BrowserModel model,
AbstractContentBrowser contentBrowser) |
getContentBrowser, setModel, updateItemprotected static final String CONTEXT_AREA_MAIN_DIV_SCLASS
protected static final String EMPTY_MESSAGE_I3
protected static final String LIST_VIEW_CONFIG_CODE
protected static final String BROWSERAREA_SHOW_MAX_L10NKEY
protected transient UIListView listView
protected transient HtmlBasedComponent contextArea
protected String internalContextViewMode
protected final DefaultListModel<TypedObject> contextModel
protected EventListener gridContextController
protected transient Div contextAreaMainDiv
protected UIConfigurationService uiConfigurationService
protected TypeService typeService
protected UIAccessRightService uiAccessRightService
protected ContextAreaTableController tableController
protected ObjectTemplate lastContextType
protected LoginService loginService
protected Label contextHeader
protected boolean cleanContextHeader
protected SystemService systemService
protected boolean inlineCreationEnabled
protected Div toolbarDiv
protected Div multiSelectActionArea
protected Paging paging
protected Combobox pageSizeCombo
protected TypedObject previouslyActiveItem
protected String headerString
protected ColumnModelListener columnModelListener
public ContextAreaBrowserComponent(BrowserModel model, AbstractContentBrowser contentBrowser)
public 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 AbstractBrowserComponenttrue if initialization was successful, false otherwiseAbstractBrowserComponent.setModel(BrowserModel)public AdvancedBrowserModel getModel()
getModel in interface BrowserComponentgetModel in class AbstractBrowserComponentpublic boolean update()
AbstractBrowserComponentupdate in interface CockpitComponentupdate in class AbstractBrowserComponenttrue if this browser was successfully updated, false otherwiseprotected void updateMultiSelectActionArea()
protected void updateMultiSelectAction(ListViewAction.Context context, ListViewAction action)
protected void updatePaging()
public void setActiveItem(TypedObject activeItem)
AbstractBrowserComponentactiveItem.setActiveItem in interface CockpitComponentsetActiveItem in class AbstractBrowserComponentactiveItem - the new active itempublic void updateActiveItems()
AbstractBrowserComponentupdateActiveItems in interface CockpitComponentupdateActiveItems in class AbstractBrowserComponentpublic void updateSelectedItems()
AbstractBrowserComponentupdateSelectedItems in interface CockpitComponentupdateSelectedItems in class AbstractBrowserComponentpublic void updateItem(TypedObject item, Set<PropertyDescriptor> modifiedProperties)
AbstractBrowserComponentupdateItem in interface CockpitComponentupdateItem in class AbstractBrowserComponentitem - the item to be re-renderedmodifiedProperties - modified propertiesprotected DefaultListModel<TypedObject> getContextListModel()
protected void updateContextItems()
protected HtmlBasedComponent createContextArea()
protected Div createContextMainDiv()
protected String createContextHeader()
protected Groupbox createContextGroupbox()
public void resize()
AbstractBrowserComponentBorderlayout components.resize in class AbstractBrowserComponentprotected MutableListModel getListComponentModel()
protected UIListView loadListView()
protected ListViewConfiguration loadListViewConfig()
protected ListViewConfiguration createMultiTypeListViewConfiguration()
protected ListViewConfiguration getListViewConfiguration(ObjectTemplate objectTemplate, String code)
protected UIConfigurationService getUIConfigurationService()
protected UIAccessRightService getUIAccessRightService()
protected LoginService getLoginService()
protected TypeService getTypeService()
protected MutableTableModel getContextTableModel()
protected void setContextTableModel(MutableTableModel tableModel)
protected ObjectTemplate getContextResultType()
public void detach()
public void setParent(Component parent)
public void desktopRemoved(Desktop desktop)
desktopRemoved in interface DesktopRemovalAwareComponentprotected void cleanup()
protected SystemService getSystemService()
protected void showAddItemPopup()
protected void showAddItemRow()
protected ObjectValueContainer getValueContainer(ObjectTemplate template)
protected Set<PropertyDescriptor> getRequiredPropertyDescriptors(ObjectTemplate template)
protected boolean isContextPagingEnabled(AbstractPageableBrowserModel browserModel)
protected AbstractPageableBrowserModel getPageableBrowserModelIfPresent()
public EditorFactory getEditorFactory()
public boolean update(boolean cleanContextHeader)
AbstractContextBrowserComponentupdate in class AbstractContextBrowserComponentcleanContextHeader - indicates if cleaning of ContextHeader is necessarytrue if this browser was successfully updated, false otherwiseprotected ListViewHelper.ListenerHandler getListenerHandler()
protected Collection<HtmlBasedComponent> getGroupboxComponents()
protected Collection<HtmlBasedComponent> getHeaderComponents()
protected Toolbarbutton createCloseButton(String closeBtnImg)
protected TableModelListener createContextTableModelListener()
protected ColumnModelListener getColumnModelListener()
protected void storeListViewConfiguration()
Copyright © 2017 SAP SE. All Rights Reserved.