List<LaunchTypeNode> launchTypeNodes = new ArrayList<LaunchTypeNode>();
for (ILaunchNode launchNode : categoryNode.getLaunchNodes()) {
try {
ILaunchConfigurationType type = launchNode.getLaunchConfiguration().getType();
if (!isTypeOnTheList(type, launchTypeNodes)) {
LaunchTypeNode launchNodeType = new LaunchTypeNode();
launchNodeType.setCategoryNode(categoryNode);
launchNodeType.setLaunchConfigurationType(type);
launchTypeNodes.add(launchNodeType);
}
} catch (CoreException e) {
}