public interface I_CmsAppUIContext extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.ui.Button |
addPublishButton(I_CmsUpdateListener<java.lang.String> updateListener)
Adds the publish button to the toolbar.
|
void |
addToolbarButton(com.vaadin.ui.Component button)
Adds a toolbar button.
|
void |
addToolbarButtonRight(com.vaadin.ui.Component button)
Adds a toolbar button to the right hand side.
|
void |
clearToolbarButtons()
Removes the app's toolbar buttons.
|
void |
enableDefaultToolbarButtons(boolean enabled)
Enables or removes the default toolbar buttons.
|
java.lang.String |
getAppId()
Returns the app id.
|
java.lang.Object |
getAttribute(java.lang.String key)
Gets an attribute.
|
void |
hideToolbar()
Hides the the toolbar.
|
void |
removeToolbarButton(com.vaadin.ui.Component button)
Removes the given button from the toolbar.
|
void |
setAppContent(com.vaadin.ui.Component appContent)
Sets the app content component.
|
void |
setAppInfo(com.vaadin.ui.Component infoContent)
Sets the app info component.
|
void |
setAppTitle(java.lang.String title)
Sets the app title.
|
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Sets an attribute.
|
void |
setMenuDialogContext(I_CmsDialogContext context)
Sets the dialog context for context menu entries.
|
void |
showInfoArea(boolean show)
Sets the info grid visibility.
|
void |
showToolbar()
Shows the formerly hidden toolbar.
|
void |
updateOnChange()
Updates the ui context on site or project changes.
|
void |
updateUserInfo()
Updates the displayed user info.
|
com.vaadin.ui.Button addPublishButton(I_CmsUpdateListener<java.lang.String> updateListener)
updateListener - the update listener, called after publishingvoid addToolbarButton(com.vaadin.ui.Component button)
button - the button to addvoid addToolbarButtonRight(com.vaadin.ui.Component button)
button - the button to addvoid clearToolbarButtons()
void enableDefaultToolbarButtons(boolean enabled)
These are the context menu and the quick launch drop down.
The default is enabled = true.
enabled - true to enable the buttonsjava.lang.String getAppId()
java.lang.Object getAttribute(java.lang.String key)
key - the attribute keyvoid hideToolbar()
void removeToolbarButton(com.vaadin.ui.Component button)
button - the button to removevoid setAppContent(com.vaadin.ui.Component appContent)
appContent - the app contentvoid setAppInfo(com.vaadin.ui.Component infoContent)
infoContent - the info componentvoid setAppTitle(java.lang.String title)
title - the app titlevoid setAttribute(java.lang.String key, java.lang.Object value)
key - the attribute keyvalue - the attribute valuevoid setMenuDialogContext(I_CmsDialogContext context)
context - the dialog contextvoid showInfoArea(boolean show)
show - true to show the infovoid showToolbar()
void updateOnChange()
void updateUserInfo()