Package org.molgenis.model.elements

Examples of org.molgenis.model.elements.UISchema


      if (screen.getClass() == Plugin.class)
      {

        templateArgs.put("plugin", screen);

        UISchema parent = screen.getParent();
        while (parent != null && !parent.getClass().equals(Form.class))
          // gets the parent form
          parent = parent.getParent();
        templateArgs.put("parent_form", parent);
        templateArgs.put("model", model);
        templateArgs.put("package", APP_DIR + ".ui");

        File targetDir = new File(this.getSourcePath(options) + APP_DIR + "/ui/");
View Full Code Here


      {

        templateArgs.put("form", screen);
        ((Entity) ((Form) screen).getRecord()).getAllFields().firstElement();

        UISchema parent = screen.getParent();
        while (parent != null && !parent.getClass().equals(Form.class))
          // gets the parent form
          parent = parent.getParent();
        templateArgs.put("parent_form", parent);
        templateArgs.put("model", model);
        templateArgs.put("package", APP_DIR + ".ui");

        File targetDir = new File(this.getSourcePath(options) + APP_DIR + "/ui/");
View Full Code Here

    }
  }

  private static void parseUiSchema(Model model, Element element, UISchema parent) throws MolgenisModelException
  {
    UISchema new_parent = null;

    if (element.getTagName().equals("include"))
    {
      String fileName = element.getAttribute("file");
      if (fileName == null || fileName.isEmpty())
View Full Code Here

TOP

Related Classes of org.molgenis.model.elements.UISchema

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.