public class CmsVfsTab extends A_CmsListTab
A_CmsListTab.A_SelectionHandler, A_CmsListTab.SelectHandler| 限定符和类型 | 字段和说明 |
|---|---|
protected CmsVfsTabHandler |
m_tabHandler
The tab handler.
|
DIALOG_CSS, m_infoLabel, m_list, m_options, m_quickSearch, m_scrollList, m_searchButton, m_sortSelectBox, m_tabm_tabTextAccessor| 构造器和说明 |
|---|
CmsVfsTab(CmsVfsTabHandler tabHandler,
boolean includeFiles)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
clear()
Clears the contents of the tab and resets the mapping from tree items to VFS beans.
|
protected CmsLazyTreeItem |
createItem(CmsVfsEntryBean vfsEntry)
Helper method for creating a VFS tree item widget from a VFS entry bean.
|
protected CmsList<? extends I_CmsListItem> |
createScrollList()
Creates the list which should contain the list items of the tab.
|
void |
fillInitially(java.util.List<CmsVfsEntryBean> entries)
Sets the initial folders in the VFS tab.
|
java.util.List<CmsSearchParamPanel> |
getParamPanels(CmsGallerySearchBean searchObj)
Returns the search parameters to display within the result tab.
|
protected java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getSortList()
Returns a list with sort values for this tab.
|
protected CmsVfsTabHandler |
getTabHandler()
Returns the tab handler.
|
protected boolean |
isIncludeFiles()
Returns if files are included.
|
boolean |
isInitialized()
Checks if the tab is initialized.
|
void |
onReceiveVfsPreloadData(CmsVfsEntryBean vfsPreloadData)
This method is called when the VFS tree preload data is received.
|
void |
uncheckFolders(java.util.Collection<java.lang.String> folders)
Un-checks the check boxes for each folder passed in the
folders parameter. |
addWidgetToFrontOfList, addWidgetToList, addWidgetToOptions, cancelQuickFilterTimer, checkQuickSearchStatus, clearList, createSelectButton, createSelectResourceButton, createUploadButtonForTarget, getList, hasQuickFilter, hasQuickSearch, init, onContentChange, onValueChange, quickSearch, scheduleQuickFilterTimer, searchTreeItem, setSortSelectBoxValueclearParams, getTabId, isSelected, onDeselection, onSelection, removeParam, setTabTextAccessorclaimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEventsprotected CmsVfsTabHandler m_tabHandler
public CmsVfsTab(CmsVfsTabHandler tabHandler, boolean includeFiles)
tabHandler - the tab handlerincludeFiles - the include files flagpublic void fillInitially(java.util.List<CmsVfsEntryBean> entries)
entries - the root folders to displaypublic java.util.List<CmsSearchParamPanel> getParamPanels(CmsGallerySearchBean searchObj)
A_CmsTabgetParamPanels 在类中 A_CmsTabsearchObj - the current search objectA_CmsTab.getParamPanels(org.opencms.ade.galleries.shared.CmsGallerySearchBean)public boolean isInitialized()
public void onReceiveVfsPreloadData(CmsVfsEntryBean vfsPreloadData)
vfsPreloadData - the VFS tree preload datapublic void uncheckFolders(java.util.Collection<java.lang.String> folders)
folders parameter.folders - the folders for which the check boxes should be uncheckedprotected void clear()
protected CmsLazyTreeItem createItem(CmsVfsEntryBean vfsEntry)
vfsEntry - the VFS entry beanprotected CmsList<? extends I_CmsListItem> createScrollList()
A_CmsListTabcreateScrollList 在类中 A_CmsListTabA_CmsListTab.createScrollList()protected java.util.LinkedHashMap<java.lang.String,java.lang.String> getSortList()
A_CmsListTabgetSortList 在类中 A_CmsListTabA_CmsListTab.getSortList()protected CmsVfsTabHandler getTabHandler()
A_CmsTabgetTabHandler 在类中 A_CmsTabA_CmsTab.getTabHandler()protected boolean isIncludeFiles()
true if files are included