public abstract class A_CmsAttributeAwareApp extends A_CmsWorkplaceApp
A_CmsWorkplaceApp.NavEntry| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_INFO_COMPONENT
Attribute for info.
|
static java.lang.String |
ATTR_MAIN_HEIGHT_FULL
Attribute for full height.
|
m_infoLayout, m_rootLayout, m_uiContext, PARAM_ASSIGN, PARAM_SEPARATOR| Constructor and Description |
|---|
A_CmsAttributeAwareApp() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
getAttributesForComponent(com.vaadin.ui.Component component)
Gets the attributes from a given component.
|
void |
openSubView(java.lang.String state,
boolean updateState)
Opens the requested sub view.
|
protected void |
updateAppAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
Handles the attributes.
|
void |
updateMainComponent(com.vaadin.ui.Component comp)
Replaces the app's main component with the given component.
|
addParamToState, addSubNavEntry, getBreadCrumbForState, getComponentForState, getLastPathLevel, getOfflineCmsObject, getParamFromState, getParamsFromState, getSubNavEntries, initUI, onStateChange, setBreadCrumbEntries, updateBreadCrumb, updateSubNavpublic static final java.lang.String ATTR_INFO_COMPONENT
public static final java.lang.String ATTR_MAIN_HEIGHT_FULL
public A_CmsAttributeAwareApp()
public void openSubView(java.lang.String state, boolean updateState)
openSubView in class A_CmsWorkplaceAppstate - the stateupdateState - true to update the state URL tokenpublic void updateMainComponent(com.vaadin.ui.Component comp)
This also handles the attributes for the component, just as if the given component was returned by an app's getComponentForState method.
comp - the component to set as the main componentprotected java.util.Map<java.lang.String,java.lang.Object> getAttributesForComponent(com.vaadin.ui.Component component)
component - to read attributes fromprotected void updateAppAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
attributes - to set