Exemplo n.º 1
0
  public void removeFromShare(VuzeBuddy buddy) {

    if (null != buddy) {
      for (Iterator iterator = avatarWidgets.iterator(); iterator.hasNext(); ) {
        AvatarWidget widget = (AvatarWidget) iterator.next();
        if (null != widget.getVuzeBuddy()) {
          if (true == buddy.getLoginID().equals(widget.getVuzeBuddy().getLoginID())) {
            if (sharePage != null) {
              sharePage.removeBuddy(widget.getVuzeBuddy());
            }
            widget.setSharedAlready(false);
            break;
          }
        }
      }
    }
  }
Exemplo n.º 2
0
 public void removeFromShare(AvatarWidget widget) {
   if (sharePage != null) {
     sharePage.removeBuddy(widget.getVuzeBuddy());
   }
   widget.setSharedAlready(false);
 }