return;
}
currentSelectedRobots = selectedRobots; // Bug fix [3026856]
if (selectedRobots.size() == 1) {
IRobotSpecItem robotSpecItem = selectedRobots.get(0);
getIncludeSource().setSelected(robotSpecItem.getIncludeSource());
getIncludeData().setSelected(robotSpecItem.getIncludeData());
String ver = robotSpecItem.getVersion();
if (ver == null || ver.length() == 0) {
getVersionHelpLabel().setVisible(false);
ver = "1.0";
} else {
if (ver.length() == 10) {
ver = ver.substring(0, 9);
}
ver += "*";
getVersionHelpLabel().setVisible(true);
}
getVersionField().setText(ver);
String desc = robotSpecItem.getDescription();
if (desc == null) {
desc = "";
}
getDescriptionArea().setText(desc);
String author = robotSpecItem.getAuthorName();
if (author == null) {
author = "";
}
getAuthorField().setText(author);
URL url = robotSpecItem.getWebpage();
String webPage = (url != null) ? url.toString() : "";
getWebpageField().setText(webPage);
String fullPackage = robotSpecItem.getFullPackage();
String text = "";
if (fullPackage != null && fullPackage.indexOf(".") != -1) {
String htmlFileName = fullPackage.substring(0, fullPackage.lastIndexOf(".")) + ".html";