I am creating a Report using Birt (Engine Api) with some Java code . now, I don't know how to create multiple tabs in a single Report. so,each tab represent one single Table in it . Can anyone please help me in this The following code i used
`
IReportEngine config = new EngineConfig();
 config.setLogConfig("birtLogs", Level.WARNING);
 IRegistryProvider ireg =  RegistryProviderFactory.getDefault();
 org.eclipse.birt.core.framework.Platform.shutdown();
 RegistryProviderFactory.releaseDefault();
 try {
    org.eclipse.birt.core.framework.Platform.startup(config);
 } catch (BirtException e1) {
        e1.printStackTrace();
 }
 IReportEngineFactory factory = (IReportEngineFactory)org.eclipse.birt.core.framework.Platform .createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
engine = factory.createReportEngine(config);
URL rptFileUrl = null;
try {
 rptFileUrl = new URL("****/Reports/*****.rptdesign");
 } catch (MalformedURLException e1) {
  e1.printStackTrace();
 }
IReportRunnable reportRunnable = null;
  try {
   if (rptFileUrl != null) {
reportRunnable =
engine.openReportDesign(rptFileUrl.openConnection().getInputStream());
ReportDesignHandle designHandle = null;
designHandle = (ReportDesignHandle) reportRunnable.getDesignHandle();
 }
} catch (EngineException | IOException e1) {
                   e1.printStackTrace();
}
while (designHandle.getBody().getCount() > 0) {
 try {
     designHandle.getBody().dropAndClear(0);
  } catch (SemanticException e) {
      e.printStackTrace();
  }
}
  ElementFactory designFactory = designHandle.getElementFactory();
  try {
   designHandle.setProperty("title", "Description");
   /* creating Grid for the Tab */
   createGrid(designHandle,designFactory);
/createTab(designHandle,designFactory);/ // I have to Implement for the Tab.
} catch (SemanticException e1) {
    e1.printStackTrace();
  }
engine.destroy();
  designHandle.getBody().getContents().clear();
  designHandle.close();
org.eclipse.birt.core.framework.Platform.shutdown();
             try { 
               RegistryProviderFactory.setDefault(ireg);
             } catch (CoreException e) {
               e.printStackTrace();
             }
     }
        } ) ;
      } catch (InvocationTargetException | InterruptedException e) {
        e.printStackTrace();
   }
`
I Used designFactory ,designHandle(above code) to create Grid and inserted data in it . I am expecting designFactory ,designHandle will Help to create multiple tabs as well but i don't know how to do it. please help me in with some code.