Package org.shiftone.jrat.core.spi.ui

Examples of org.shiftone.jrat.core.spi.ui.OutputViewBuilder


    LOG.info("openFile(" + inputFile + ")");
    SETTINGS.setLastOpenedOutputFile(inputFile);
    String title = inputFile.getName();
    ViewContextImpl runtimeOutput = null;
    OutputViewBuilder viewBuilder = null;
    View view = viewContainer.createView(title);
    runtimeOutput = new ViewContextImpl(view, inputFile);
    viewBuilder = getOutputViewerFactory(runtimeOutput);
    Runnable runnable = new OpenOutputFileRunnable(runtimeOutput, viewBuilder);
    new Thread(runnable).start();
View Full Code Here


    new Thread(runnable).start();
  }

  private OutputViewBuilder getOutputViewerFactory(ViewContext viewContext) throws IOException {

    OutputViewBuilder factory = null;
    String klassName = null;
    klassName = getOutputViewerFactoryClassName(viewContext);
    factory = (OutputViewBuilder) ResourceUtil.newInstance(klassName);
    return factory;
  }
View Full Code Here

TOP

Related Classes of org.shiftone.jrat.core.spi.ui.OutputViewBuilder

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.