return Collections.emptyList();
}
List<IReleaseParticipant> participants = new ArrayList<IReleaseParticipant>();
for (IConfigurationElement element : elements) {
try {
IReleaseParticipant participant = (IReleaseParticipant) element.createExecutableExtension("class"); //$NON-NLS-1$
String strRanking = element.getAttribute("ranking"); //$NON-NLS-1$
int ranking = 0;
if (strRanking != null && strRanking.length() > 0) {
ranking = Integer.parseInt(strRanking);
}
participant.setRanking(ranking);
participants.add(participant);
} catch (CoreException e) {
logError(Messages.errorExecutingStartupParticipant, e);
}
}