public TMLFileMetadataModel(IFile tmlFile) {
_tmlFile = tmlFile;
WGADesignStructureHelper helper = new WGADesignStructureHelper(_tmlFile);
_fileEncoding = helper.determineDesignEncoding();
try {
_model = helper.createModel();
} catch (IOException e) {
Activator.getDefault().getLog().log(new Status(Status.ERROR, Activator.PLUGIN_ID, "Unable to retrieve designconfigurationmodel for tml resource '" + _tmlFile.getLocation() + "'.", e));