if (targetContentTypes.length + targetEditors.length + targetClasses.length == 0) {
helper.fail(RulerColumnMessages.RulerColumnDescriptor_missing_target_msg);
fTarget= null; // dummy
} else {
RulerColumnTarget combined= null;
for (int i= 0; i < targetEditors.length; i++) {
IConfigurationElement targetEditor= targetEditors[i];
RulerColumnTarget target= RulerColumnTarget.createEditorIdTarget(new ExtensionPointHelper(targetEditor, log).getNonNullAttribute(ID));
combined= RulerColumnTarget.createOrTarget(combined, target);
}
for (int i= 0; i < targetContentTypes.length; i++) {
IConfigurationElement targetContentType= targetContentTypes[i];
RulerColumnTarget target= RulerColumnTarget.createContentTypeTarget(new ExtensionPointHelper(targetContentType, log).getNonNullAttribute(ID));
combined= RulerColumnTarget.createOrTarget(combined, target);
}
for (int i= 0; i < targetClasses.length; i++) {
IConfigurationElement targetClass= targetClasses[i];
RulerColumnTarget target= RulerColumnTarget.createClassTarget(new ExtensionPointHelper(targetClass, log).getNonNullAttribute(CLASS));
combined= RulerColumnTarget.createOrTarget(combined, target);
}
fTarget= combined;
}