false));
addBuddyButton.setText(Messages.BuddySelectionComposite_add_buddy);
addBuddyButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
AddBuddyWizard addBuddyWizard = WizardUtils
.openAddBuddyWizard();
if (addBuddyWizard != null) {
List<JID> selectedBuddies = getSelectedBuddies();
selectedBuddies.add(addBuddyWizard.getBuddy());
setSelectedBuddies(selectedBuddies);
}
}
});
}