private boolean hasOpenProject() {
return ProjectManager.getInstance().getOpenProjects().length > 0;
}
public String getFindByIdData(List<String> availableGroups) {
FindByJabberIdDialog dialog = new FindByJabberIdDialog(availableGroups);
dialog.show();
if (dialog.isOK()) {
String group = dialog.getGroup();
if ("".equals(group.trim())) {
group = UserModel.DEFAULT_GROUP;
}
return group + ':' + dialog.getJabberIDs();
}
return null;
}