ISemanticHighlighting highlighting = null;
String styleKey = null;
IConfigurationElement[] elements = Platform.getExtensionRegistry().getConfigurationElementsFor(SSEUIPlugin.ID, SEMANTIC_HIGHLIGHTING_EXTENSION_POINT);
IContentType contentType = Platform.getContentTypeManager().getContentType(fContentTypeId);
for (int i = 0; i < elements.length; i++) {
String[] targets = StringUtils.unpack(elements[i].getAttribute(TARGET_ATTR));
for (int j = 0; j < targets.length; j++) {
IContentType targetContentType = Platform.getContentTypeManager().getContentType(targets[j]);
/* Apply semantic highlighting to kinds of targetContentType */
if (contentType.isKindOf(targetContentType)) {
try {
highlighting = (ISemanticHighlighting) elements[i].createExecutableExtension(CLASS_ATTR);
styleKey = elements[i].getAttribute(STYLE_KEY_ATTR);