public class CmsToolbarAllGalleriesMenu extends A_CmsToolbarMenu<CmsContainerpageHandler>
This is used to access all galleries in the system (including download and image galleries), but can not be used to add elements to the container page.
m_button, m_popup, m_resizeRegistration
构造器和说明 |
---|
CmsToolbarAllGalleriesMenu(CmsContainerpageHandler handler,
CmsDNDHandler dragHandler)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
protected static CmsGalleryDialog |
createDialog(I_CmsGalleryConfiguration configuration,
I_CmsGalleryHandler galleryHandler)
Creates a new gallery dialog and instantiates the controller for it.
|
protected CmsPopup |
getPopup()
Returns the popup content.
|
void |
onToolbarActivate()
Method executed when the button is activated.
|
void |
onToolbarDeactivate()
Method executed when the button is deactivated.
|
protected void |
openDialog(I_CmsGalleryConfiguration configuration)
Opens the dialog given the loaded gallery configuration.
|
autoClose, getHandler, getIconClass, hideMenu, isActive, onToolbarClick, setActive
addClickHandler, clear, closeMenu, disable, enable, hide, isEnabled, isOpen, isOpenRight, onBrowserEvent, openMenu, setButtonDown, setButtonUp, setEnabled, setMenuWidget, setOpenRight, setToolbarMode, show
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, 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, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTitle, setEnabled
public CmsToolbarAllGalleriesMenu(CmsContainerpageHandler handler, CmsDNDHandler dragHandler)
handler
- the container-page handlerdragHandler
- the container-page drag handlerprotected static CmsGalleryDialog createDialog(I_CmsGalleryConfiguration configuration, I_CmsGalleryHandler galleryHandler)
configuration
- the gallery configurationgalleryHandler
- the gallery handlerpublic void onToolbarActivate()
I_CmsToolbarButton
public void onToolbarDeactivate()
I_CmsToolbarButton
protected CmsPopup getPopup()
CmsMenuButton
getPopup
在类中 CmsMenuButton
CmsMenuButton.getPopup()
protected void openDialog(I_CmsGalleryConfiguration configuration)
configuration
- the gallery configuration