import org.simantics.sysdyn.modelImport.mdl.Declaration;\r
import org.simantics.sysdyn.modelImport.mdl.Lookup;\r
import org.simantics.sysdyn.modelImport.mdl.MdlModel;\r
+import org.simantics.sysdyn.modelImport.mdl.MdlVariable;\r
import org.simantics.sysdyn.modelImport.mdl.Sketch;\r
import org.simantics.sysdyn.modelImport.mdl.SketchComment;\r
import org.simantics.sysdyn.modelImport.mdl.SketchConnection;\r
import org.simantics.sysdyn.modelImport.mdl.SketchVariable;\r
import org.simantics.sysdyn.modelImport.mdl.Subscript;\r
import org.simantics.sysdyn.modelImport.mdl.SubscriptVariable;\r
-import org.simantics.sysdyn.modelImport.mdl.MdlVariable;\r
import org.simantics.sysdyn.modelImport.model.Comment;\r
import org.simantics.sysdyn.modelImport.model.Connection;\r
import org.simantics.sysdyn.modelImport.model.Model;\r
import org.simantics.sysdyn.modelImport.model.Symbol;\r
import org.simantics.sysdyn.modelImport.model.Valve;\r
\r
-public class MdlParser {\r
+public class MdlParser implements IModelParser {\r
\r
private static final String UTF_8 = "{UTF-8}";\r
private static final String SKETCH_VERSION = "V300";\r
private static final String PARAMETER_STOP = "FINAL TIME";\r
private static final String PARAMETER_STEP = "TIME STEP";\r
\r
- public static Model parse(File file) throws Exception {\r
+ @Override\r
+ public Model parse(File file) throws Exception {\r
// generate a mdl model based on the contents of the file\r
MdlModel mdl = parseFile(file);\r
\r