/**
   * Instantiates a new map area list selection panel.
   *
   * @param parentDialog the parent dialog
   * @param rifSession the rif session
   */
  public MapAreaListSelectionPanel(JDialog parentDialog, RIFStudySubmissionToolSession rifSession) {

    this.parentDialog = parentDialog;
    this.rifSession = rifSession;
    this.userInterfaceFactory = rifSession.getUIFactory();

    String noDataDisplayedText =
        RIFJobSubmissionToolMessages.getMessage("mapAreaListSelectionPanel.noDataDisplayed");
    noDataDisplayedPanel =
        new NoDataAvailablePanel(userInterfaceFactory, noDataDisplayedText, true);

    mapAreaSelectionTableView = new MapAreaSelectionTableView(parentDialog, rifSession, true);
    // mapAreaSelectionTableView.updateDisplay();
    viewPanel = userInterfaceFactory.createBorderLayoutPanel();
    selectedItemsStatusTextArea = userInterfaceFactory.createNonEditableTextArea(4, 30);

    // mapImagePanel = new MapImagePanel();
    panel = userInterfaceFactory.createPanel();

    basketControlButtonPanel = new ListEditingButtonPanel(userInterfaceFactory);
  }