Class TaskBar

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Badgeable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable

@Component public class TaskBar extends Container
The class that extends Container it implements the user interface elements that appear on the left of the page and contains the logo, the information about the user currently logged in and the menu voices of the application
See Also:
GCApi:
component
  • Field Details

    • _msgVuoiScollegartiDalSistema

      protected String _msgVuoiScollegartiDalSistema
    • _msgNuovoMessaggio

      protected String _msgNuovoMessaggio
    • _msgNuoviMessaggi

      protected String _msgNuoviMessaggi
    • _haveSpacer

      protected boolean _haveSpacer
    • taskBoxFavMenu

      protected TaskBoxFavoritesMenu taskBoxFavMenu
    • safeInlineService

      protected SafeInlineService safeInlineService
  • Constructor Details

    • TaskBar

      public TaskBar()
  • Method Details

    • setSpacer

      public void setSpacer(boolean haveSpacer)
      Adds a spacer to the TaskBar
      Parameters:
      haveSpacer - true to add a spacer, false otherwise
    • setup

      protected void setup()
      Description copied from class: Component
      Setup the Component
      Overrides:
      setup in class Component
    • addLogo

      protected void addLogo(String logo, org.apache.ecs.html.TD td, String id)
    • addLogoForFoldableMenu

      protected void addLogoForFoldableMenu(String logo, org.apache.ecs.html.Div td, String id)
    • getHtml

      public org.apache.ecs.Element getHtml(EntitySet es)
      Returns the html code of the TaskBar
      Overrides:
      getHtml in class Container
      Parameters:
      es - The EntitySet to which the element belongs
      Returns:
      The html code of the TaskBar
    • getIdentityHtml

      protected org.apache.ecs.Element getIdentityHtml(EntitySet es)
    • getIdentityExtension

      protected org.apache.ecs.Element getIdentityExtension()
    • getTopBarTabs

      protected org.apache.ecs.Element getTopBarTabs(EntitySet es)
    • getTaskBoxFavMenu

      public TaskBoxFavoritesMenu getTaskBoxFavMenu()
      Gets the TaskBoxFavoritesMenu object that is related to the favorites menu.
      Returns:
      the TaskBoxFavoritesMenu object that is related t the favorites menu.
    • getSearchBox

      protected org.apache.ecs.Element getSearchBox()
    • onControlMenu

      public boolean onControlMenu(UIMessage uim)
    • onControlFavoritesMenu

      public boolean onControlFavoritesMenu(UIMessage uim)
    • onManageDragAndDropFavoritesMenu

      public boolean onManageDragAndDropFavoritesMenu(UIMessage uim)
    • onManageFavoritesMenuDiff

      public boolean onManageFavoritesMenuDiff(UIMessage uim)
    • onManageDragAndDropMenu

      public boolean onManageDragAndDropMenu(UIMessage uim)
    • onManageMenuDiff

      public boolean onManageMenuDiff(UIMessage uim)
    • onClearUserMenuDiffs

      public boolean onClearUserMenuDiffs(UIMessage uim)
    • getTaskBoxComponent

      public TaskBox getTaskBoxComponent()
    • ajaxQuery

      public void ajaxQuery(HttpServletRequest request, HttpServletResponse response)
      Description copied from class: Component
      Method that must be extended to implements the Ajax interaction request / response logic for the Component
      Overrides:
      ajaxQuery in class Component
      Parameters:
      request - HttpServletRequest
      response - HttpServletResponse
    • getDropDownFavoritesMenu

      protected SortableMenu getDropDownFavoritesMenu(List<XMLTree> favoriteNodes, Teacher t)
      Gets the drop down menu that will be used to customize the favorites user menu.
      Parameters:
      favoriteNodes - The list of the current favorites menu entries.
      t - The Teacher object used to translate labels and messages.
      Returns:
      The drop down menu that will be used to customize the favorites user menu.
    • getDropDownMenu

      protected SortableMenu getDropDownMenu(UIMenu menu, String position, Teacher t, String destination)
      Gets the drop down menu that will be used to customize the user UIMenu.
      Parameters:
      menu - The current UIMenu.
      position - The menu's position level for which shows up the drop down menu.
      t - The Teacher object used to translate labels and messages.
      destination - The container id to which the drop down menu events belong.
      Returns:
      The drop down menu that will be used to customize the user UIMenu.
    • addUnlicensedBadge

      protected void addUnlicensedBadge(org.apache.ecs.ConcreteElement i, XMLTree node)
    • onOpenCloseFavoritesBox

      public boolean onOpenCloseFavoritesBox(UIMessage uim)