setRoleDirectionInArchitecture(false);
}
public static StyleMapping loadStyleMapping(IFile archMappingFile,
String styleMappingFilename, String styleName, String styleMappingName) {
StyleMapping styleMapping = null;
if (styleMappingFilename != null && archMappingFile != null) {
IFile styleMappingFile = archMappingFile.getParent().getFile(new Path(styleMappingFilename));
if (styleMappingFile.exists()) {
styleMapping = StyleMappingDAO.read(styleMappingFile.getLocation().toOSString());
styleMapping.setMappingFile(styleMappingFile);
}
}
if (styleMapping == null) {
styleMapping = getStyleMappingFromExtensionPoint(styleMappingName, null);