Exemple #1
0
  /**
   * Removes the account corresponding to the given protocol provider from the call via selector
   * box.
   *
   * @param pps the protocol provider service to remove
   */
  public void removeCallAccount(ProtocolProviderService pps) {
    this.accountSelectorBox.removeAccount(pps);

    if (accountSelectorBox.getAccountsNumber() < 2) {
      this.comboPanel.remove(callViaPanel);
    }
  }
Exemple #2
0
 /**
  * Updates the call via account status.
  *
  * @param pps the protocol provider service for the account
  */
 public void updateCallAccountStatus(ProtocolProviderService pps) {
   accountSelectorBox.updateAccountStatus(pps);
 }
Exemple #3
0
 /**
  * Returns TRUE if the account corresponding to the given protocol provider is already contained
  * in the call via selector box, otherwise returns FALSE.
  *
  * @param pps the protocol provider service for the account
  * @return TRUE if the account corresponding to the given protocol provider is already contained
  *     in the call via selector box, otherwise returns FALSE
  */
 public boolean containsCallAccount(ProtocolProviderService pps) {
   return accountSelectorBox.containsAccount(pps);
 }
Exemple #4
0
 /**
  * Adds the given call account to the list of call via accounts.
  *
  * @param pps the protocol provider service corresponding to the account
  */
 public void addCallAccount(ProtocolProviderService pps) {
   if (accountSelectorBox.getAccountsNumber() > 0) {
     this.comboPanel.add(callViaPanel, BorderLayout.SOUTH);
   }
   accountSelectorBox.addAccount(pps);
 }