/** Reset all the tabs view */
  private void resetAllTabs() {
    if (currPresenter == null) {
      return;
    }

    Logger.debug("Reset Tab " + getClassName(currPresenter));

    currPresenter.reset();
  }
  /**
   * Display the tab where tab number = panel number.
   *
   * @param panelNumber The tab number to display.
   */
  private void showTabPanelContent(int panelNumber) {
    resetAllTabs();

    String strPanelNumber = String.valueOf(panelNumber);

    switch (panelNumber) {
      case 0:
      default:
        Logger.debug("Show Tab Service Item");
        currPresenter = serviceItemPresenter;
        serviceItemPresenter.showServiceItem(ticketNumber);
        break;
      case 1:
        Logger.debug("Show Tab Location");
        currPresenter = locationPresenter;
        locationPresenter.showLocation(ticketNumber);
        break;
      case 2:
        Logger.debug("Show Tab Access Hours");
        currPresenter = accessHoursPresenter;
        accessHoursPresenter.showAccessHours(ticketNumber);
        break;
      case 3:
        Logger.debug("Show Tab Skills");
        currPresenter = skillsPresenter;
        skillsPresenter.showSkillsGrid(ticketNumber, strPanelNumber);
        break;
      case 4:
        Logger.debug("Show Tab Details");
        currPresenter = detailsPresenter;
        detailsPresenter.showDetailsGrid(ticketNumber, strPanelNumber);
        break;
      case 5:
        Logger.debug("Show Tab Schedule");
        currPresenter = schedulePresenter;
        schedulePresenter.showScheduleGrid(ticketNumber, strPanelNumber);
        break;
      case 6:
        Logger.debug("Show Tab Billing");
        currPresenter = billingPresenter;
        billingPresenter.showBillingGrid(ticketNumber, strPanelNumber);
        break;
      case 7:
        Logger.debug("Show Tab Notes");
        currPresenter = notesPresenter;
        notesPresenter.showNotes(ticketNumber, strPanelNumber);
        break;
    }
  }