Examples of create()


Examples of org.pentaho.reporting.engine.classic.core.metadata.ReportPreProcessorMetaData.create()

      if (processor.isAutoProcessor())
      {
        try
        {
          preProcessors.add(processor.create());
        }
        catch (InstantiationException e)
        {
          throw new InvalidReportStateException("Failed to instantiate automatic-report-pre-processor", e);
        }

Examples of org.pentaho.reporting.engine.classic.core.testsupport.RelationalReportBuilder.create()

    final DesignTimeDataSchemaModel dataSchemaModel = new DesignTimeDataSchemaModel(report);
    final RelationalReportBuilder builder = new RelationalReportBuilder(dataSchemaModel);
    builder.addDetails("text", null, null);

    report.setRootGroup(builder.create());
    return report;
  }

}

Examples of org.pentaho.reporting.engine.classic.core.wizard.ContextAwareDataSchemaModelFactory.create()

  public static DataSchemaModel compileDataSchemaModel(final AbstractReportDefinition reportDefinition)
  {
    final ContextAwareDataSchemaModelFactory factory =
        ClassicEngineBoot.getInstance().getObjectFactory().get(ContextAwareDataSchemaModelFactory.class);
    return factory.create(reportDefinition);
  }

  public DataSchemaModel getDataSchema()
  {
    if (dataSchemaModel == null)

Examples of org.pentaho.reporting.libraries.resourceloader.ResourceManager.create()

    try
    {
      final ResourceManager resourceManager = getRootHandler().getResourceManager();
      final ResourceKey key = resourceManager.deriveKey(getRootHandler().getSource(), href);
      final Resource resource = resourceManager.create(key, null, MasterReport.class);
      report = (MasterReport) resource.getResource();
    }
    catch (ResourceException re)
    {
      throw new ParseException("Mandatory attribute 'href' is not pointing to a valid report.", re, getLocator());

Examples of org.photovault.dcraw.RawSettingsFactory.create()

            ctrl.viewChanged( this, PhotoInfoController.RAW_GREEN );
            if ( rawSettings != null ) {
                RawSettingsFactory f = new RawSettingsFactory( rawSettings );
                f.setGreenGain( newGain );
                try {
                    rawSettings = f.create();
                } catch (PhotovaultException ex) {
                    log.error( "Error setting color temp: " + ex.getMessage() );
                }
                firePreviewChangeEvent( new RawSettingsPreviewEvent(
                        this, ctrl.getPhotos(), rawSettings ) );

Examples of org.photovault.image.ChannelMapOperationFactory.create()

                while ( colorIter.hasNext() ) {
                    Map.Entry e = (Map.Entry) colorIter.next();
                    PhotoInfo p = (PhotoInfo) e.getKey();
                    ChannelMapOperationFactory f = (ChannelMapOperationFactory) e.getValue();
                    ChannelMapOperation o = null;
                    o = f.create();
                    p.setColorChannelMapping( o );
                }
            }
        } catch ( LockNotGrantedException e ) {
            txw.abort();

Examples of org.photovault.image.PhotovaultImageFactory.create()

        RenderedImage previewImage = null;
       
        try {
            File imageFile = original.getImageFile();
            PhotovaultImageFactory imgFactory = new PhotovaultImageFactory();
            PhotovaultImage img = imgFactory.create( imageFile, false, false );
            if ( channelMap != null ) {
                img.setColorAdjustment( channelMap );
            }
            if ( img instanceof RawImage ) {
                RawImage ri = (RawImage) img;

Examples of org.pollux3d.scene.LoadingScreen.create()

  }
 
  public void showLoadingScreen() {
    if (polluxApp != null) {
      PolluxScene loadingScene = new LoadingScreen();
      lodingNode = loadingScene.create(app.getAssetManager(), app.getCamera());
      polluxApp.getRootNode().attachChild(lodingNode);
    }
  }
 
  private void hideLoadingScreen() {

Examples of org.pollux3d.scene.PolluxScene.create()

  }
 
  public void showLoadingScreen() {
    if (polluxApp != null) {
      PolluxScene loadingScene = new LoadingScreen();
      lodingNode = loadingScene.create(app.getAssetManager(), app.getCamera());
      polluxApp.getRootNode().attachChild(lodingNode);
    }
  }
 
  private void hideLoadingScreen() {

Examples of org.postgresql.largeobject.LargeObjectManager.create()

            try {
                conn.setAutoCommit(false);
                LargeObjectManager lom = getLargeObjectManager(conn);
                // The create method is valid in versions previous to 8.3
                // in 8.3 this method is deprecated, use createLO
                int oid = lom.create();
                LargeObject lo = lom.open(oid, LargeObjectManager.WRITE);
                OutputStream os = lo.getOutputStream();
                copy((InputStream)ob, os);
                lo.close();
                row.setInt(col, oid);
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.