Class SimpleCustomTab

    • Constructor Detail

      • SimpleCustomTab

        @Autowired
        public SimpleCustomTab​(@NotNull
                               PagePlaces pagePlaces)
      • SimpleCustomTab

        public SimpleCustomTab​(@NotNull
                               PagePlaces pagePlaces,
                               @NotNull
                               PlaceId placeId,
                               @NotNull
                               java.lang.String tabId,
                               @NotNull
                               java.lang.String includeUrl,
                               @NotNull
                               java.lang.String title)
    • Method Detail

      • getTabId

        @NotNull
        public final java.lang.String getTabId()
        Description copied from interface: CustomTab
        Returns tab identifier
        Specified by:
        getTabId in interface CustomTab
        Returns:
        tab identifier
      • getTabTitle

        @NotNull
        public java.lang.String getTabTitle()
        Description copied from interface: CustomTab
        Returns title to use as custom tab name
        Specified by:
        getTabTitle in interface CustomTab
        Returns:
        tab title
      • getTabTitle

        @NotNull
        public java.lang.String getTabTitle​(@NotNull
                                            javax.servlet.http.HttpServletRequest request)
        Description copied from interface: CustomTab
        Returns title to use as custom tab name
        Specified by:
        getTabTitle in interface CustomTab
        Parameters:
        request - to get information from. Can be used to customize title
        Returns:
        tab title for given request
      • isVisible

        public boolean isVisible()
        Description copied from interface: CustomTab
        Return false if the tab should be active (i.e. handle requests) but not visible for some reason
        Specified by:
        isVisible in interface CustomTab
        Returns:
        see above
      • setTabTitle

        public void setTabTitle​(@NotNull
                                java.lang.String title)
        Setter of the tab title text, may be used from spring context
        Parameters:
        title - tab title