Package com.adaptrex.tools.webapp

Examples of com.adaptrex.tools.webapp.Page


        HR);

    List<Page> touchPages = new ArrayList<Page>();
    List<Page> extPages = new ArrayList<Page>();
    for (String pageName : webapp.getPages().keySet()) {
      Page page = webapp.getPages().get(pageName);
      if (page.getFrameworkType().equals(JavaScriptFramework.SENCHA_TOUCH)) {
        touchPages.add(page);
      } else {
        extPages.add(page);
      }
    }

    System.out.println(CR + "ExtJS Pages" + CR + HR);
    if (extPages.size() > 0) {
      for (Page page : extPages)
        System.out.println(page.getNamespace() + " (" + page.getPath() + ")");
    } else {
      System.out.println("No ExtJS Pages Configured");
    }
   
    System.out.println(HR);

    System.out.println(CR + "Sencha Touch Pages" + CR + HR);
    if (touchPages.size() > 0) {
      for (Page page : touchPages)
        System.out.println(page.getNamespace() + " (" + page.getPath() + ")");
    } else {
      System.out.println("No Sencha Touch Pages Configured");
    }
   
    System.out.println(HR);
View Full Code Here


    Webapp webapp = commandService.getWebapp();
    if (webapp == null) return;
   
    String pagePath = cl.getOptionValue("P");
   
    Page page = webappService.getPage(webapp, pagePath);
   
    boolean success = webappService.deletePage(webapp, page, false);
    commandService.printLog();
    if (!success) return;
    webappService.saveWebapp(webapp);
View Full Code Here

   
    String namespace = cl.getOptionValue("N");
    String pagePath = cl.getOptionValue("P");
    String framework = cl.getOptionValue("f", "ext-js");
   
    Page page = webappService.importPage(webapp, pagePath, namespace, framework);
    commandService.printLog();
    if (page == null) return;
   
    webappService.saveWebapp(webapp);
  }
View Full Code Here

   
    Webapp webapp = commandService.getWebapp();
    if (webapp == null) return;
   
    String pagePath    = cl.getOptionValue("P");
    Page page = webappService.getPage(webapp, pagePath);
   
    webappService.compilePage(webapp, page);
    commandService.printLog();
  }
View Full Code Here

TOP

Related Classes of com.adaptrex.tools.webapp.Page

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.