Examples of doGeneratePreview()


Examples of at.bestsolution.efxclipse.tooling.fxgraph.generator.FXGraphGenerator.doGeneratePreview()

    return editor.getDocument().readOnly(new IUnitOfWork<String, XtextResource>() {

      @Override
      public String exec(XtextResource resource) throws Exception {
        FXGraphGenerator generator = new FXGraphGenerator();
        return generator.doGeneratePreview(resource, false, false);
      }
      
    });
  }
   
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.fxgraph.generator.FXGraphGenerator.doGeneratePreview()

      public String exec(XtextResource resource) throws Exception {
        if( ! resource.getContents().isEmpty() && ((Model)resource.getContents().get(0)).getComponentDef() != null ) {
          ComponentDefinition def = ((Model)resource.getContents().get(0)).getComponentDef();
          if( def.getSceneDefinition() != null ) {
            FXGraphGenerator generator = new FXGraphGenerator();
            return generator.doGeneratePreview(def.getSceneDefinition().eResource(), false, false);
          }
        }
       
        return null;
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.