Package org.asem.eclipse.mii.model.shapes

Examples of org.asem.eclipse.mii.model.shapes.ModelShape


    private void generateModels() {
        ShapesFactory fact = ShapesFactory.getInstance(ModelShape.class);
        String path = getPath();

        for (Object omodel : fact.getElements()) {
            ModelShape sm = (ModelShape)omodel;
            String filePath = path + "/model/";

            File fp = new File(filePath);
            if (!fp.exists())
                fp.mkdirs();

            velocityContext.put("model", sm);
            generateCode("velocity/Model.vm", filePath + sm.getPropertyValue(ShapeConstants.NAME) + "Store.js");
        }

        velocityContext.remove("model");
    }
View Full Code Here

TOP

Related Classes of org.asem.eclipse.mii.model.shapes.ModelShape

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.