Package org.eclipse.birt.report.model.api

Examples of org.eclipse.birt.report.model.api.IDesignEngineFactory


  }

  private static void initDesigner() throws BirtException {
    DesignConfig config = new DesignConfig();
    Platform.startup(config);
    IDesignEngineFactory factory = (IDesignEngineFactory) Platform.createFactoryObject(IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY);
    IDesignEngine engine = factory.createDesignEngine(config);
    SessionHandle session = engine.newSessionHandle(ULocale.ENGLISH);

    reportDesignHandle = session.openDesign(inputReportFile);
    elementFactory = reportDesignHandle.getElementFactory();
  }
View Full Code Here


      // try to start up the eclipse platform to load any plugins and
      // create
      // a new design engine
      Platform.startup(dconfig);
      IDesignEngineFactory factory = (IDesignEngineFactory) Platform
          .createFactoryObject(IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY);
      engine = factory.createDesignEngine(dconfig);

      // create a new session
      SessionHandle session = engine.newSessionHandle(ULocale.ENGLISH);

      // create a design or a template. Then create a report element
View Full Code Here

      DataSourceHandle dataSourceHandle = null;
      dconfig.setBIRTHome("C:/BIRT_RUNTIME_2_2/birt-runtime-2_2_0/ReportEngine");
      IDesignEngine dengine = null;

      // try to start up the eclipse platform
      IDesignEngineFactory factory = (IDesignEngineFactory) Platform
          .createFactoryObject(IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY);
      dengine = factory.createDesignEngine(dconfig);

      // create a new session, open the library, and retrieve the first
      // data source since it is uniform in our library
      SessionHandle session = dengine.newSessionHandle(ULocale.ENGLISH);
      LibraryHandle design = session
View Full Code Here

    config.setProperty("BIRT_HOME", "d:/Libraries/birt-runtime-4_2_0/ReportEngine");
    IDesignEngine engine = null;

    try {
      Platform.startup(config);
      IDesignEngineFactory factory = (IDesignEngineFactory) Platform.createFactoryObject(IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY);
      engine = factory.createDesignEngine(config);
    }
    catch( Exception ex ) {
      ex.printStackTrace();
    }
View Full Code Here

    DesignConfig config = new DesignConfig();
    IDesignEngine engine = null;
    try {

      Platform.startup(config);
      IDesignEngineFactory factory = (IDesignEngineFactory) Platform
          .createFactoryObject(IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY);
      engine = factory.createDesignEngine(config);

    } catch (Exception ex) {
      ex.printStackTrace();
    }
View Full Code Here

TOP

Related Classes of org.eclipse.birt.report.model.api.IDesignEngineFactory

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.