return null;
String pageId = path.substring(0, path.length()-2);
IntroModelRoot modelRoot = getModelRoot();
if (modelRoot==null)
return null;
IntroConfigurer configurer = modelRoot.getConfigurer();
if (configurer==null)
return null;
String extensionId = extensionContent.getId();
// if this is a replace, take the mixin style as what is being replaced
if (extensionContent.getExtensionType() == IntroExtensionContent.TYPE_REPLACEMENT) {
IPath ipath = new Path(extensionContent.getPath());
String s2 = ipath.segment(1);
if (s2 != null && s2.startsWith("@") && s2.length() > 1) { //$NON-NLS-1$
extensionId = s2.substring(1);
}
}
return configurer.getMixinStyle(pageId, extensionId);
}