Bug 140860 ResourceLocator does not locate externalized strings stored in .properties files
I have been investigating the support to add my custom resource locator to find my externalized properties files and I want to make sure that I will have the right support. I looked at the BIRT code and found that org.eclipse.birt.report.model.core.BundleHelper does not use the IResourceLocator to find the .properties file. Instead it has a "msgFolder" attribute that holds the directory path of the resource files. However this is not going to work for me. I would like the BundleHelper class to make a call to the IResourceLocator to find the .properties files. Could the component owner change this bug to the right component.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Module.java
import org.eclipse.birt.report.model.metadata.ElementPropertyDefn;
import org.eclipse.birt.report.model.metadata.ElementRefValue;
import org.eclipse.birt.report.model.metadata.MetaDataDictionary;
import org.eclipse.birt.report.model.metadata.PropertyDefn;
import org.eclipse.birt.report.model.metadata.StructureDefn;
import org.eclipse.birt.report.model.parser.DesignParserException;
import org.eclipse.birt.report.model.parser.LibraryReader;
import org.eclipse.birt.report.model.util.ModelUtil;
import org.eclipse.birt.report.model.util.ReferenceValueUtil;
import org.eclipse.birt.report.model.util.StructureRefUtil;
import org.eclipse.birt.report.model.util.VersionControlMgr;
import org.eclipse.birt.report.model.validators.ValidationExecutor;
import org.eclipse.birt.report.model.writer.ModuleWriter;
import com.ibm.icu.util.ULocale;
/**
 * Core representation of the module element. The module contains:
 * <ul>
 * <li>the name spaces for various kinds of elements
 * <li>a set of slots defined
 * <li>the library list
 * </ul>
 * by the derived class.
 * <p>
 * The Design Engine may be used in the web environment in which it is necessary
 * to identify elements using a unique ID separate from their object pointer.
 * The root class maintains the object ID counter, as well as an id-to-element
 * map. Because the map is costly, it is enabled only if ID support is enabled
 * in the data dictionary.
 */
public abstract class Module extends DesignElement implements IModuleModel