Class A_CmsAttributeAwareApp

    • Method Detail

      • openSubView

        public void openSubView​(java.lang.String state,
                                boolean updateState)
        Opens the requested sub view.

        Overrides:
        openSubView in class A_CmsWorkplaceApp
        Parameters:
        state - the state
        updateState - true to update the state URL token
      • updateMainComponent

        public void updateMainComponent​(com.vaadin.ui.Component comp)
        Replaces the app's main component with the given component.

        This also handles the attributes for the component, just as if the given component was returned by an app's getComponentForState method.

        Parameters:
        comp - the component to set as the main component
      • getAttributesForComponent

        protected java.util.Map<java.lang.String,​java.lang.Object> getAttributesForComponent​(com.vaadin.ui.Component component)
        Gets the attributes from a given component.

        Parameters:
        component - to read attributes from
        Returns:
        map of attributes
      • updateAppAttributes

        protected void updateAppAttributes​(java.util.Map<java.lang.String,​java.lang.Object> attributes)
        Handles the attributes.

        Parameters:
        attributes - to set