Package org.eobjects.analyzer.util

Examples of org.eobjects.analyzer.util.SourceColumnFinder


  public static JComponent create(final AnalysisJobBuilder analysisJobBuilder, final boolean displayColumns,
      final boolean displayOutcomes) {
    final DirectedGraph<Object, VisualizeJobLink> graph = new DirectedSparseGraph<Object, VisualizeJobLink>();

    final SourceColumnFinder sourceColumnFinder = new SourceColumnFinder();
    sourceColumnFinder.addSources(analysisJobBuilder);

    final List<TransformerJobBuilder<?>> tjbs = analysisJobBuilder.getTransformerJobBuilders();
    for (TransformerJobBuilder<?> tjb : tjbs) {
      addGraphNodes(graph, sourceColumnFinder, tjb, displayColumns, displayOutcomes);
    }
View Full Code Here


    _progressInformationPanel.addUserLog("Starting analyzer '" + LabelUtils.getLabel(analyzerJob) + "'");
  }

  @Override
  public void analyzerSuccess(AnalysisJob job, final AnalyzerJob analyzerJob, final AnalyzerResult result) {
    SourceColumnFinder sourceColumnFinder = new SourceColumnFinder();
    sourceColumnFinder.addSources(job);
    final Table table = sourceColumnFinder.findOriginatingTable(analyzerJob.getInput()[0]);

    _progressInformationPanel.addUserLog("Analyzer '" + LabelUtils.getLabel(analyzerJob) + "' finished");
    _progressInformationPanel.addUserLog("Adding result to tab of " + table.getName());
    _resultWindow.addResult(table, analyzerJob, result);
  }
View Full Code Here

TOP

Related Classes of org.eobjects.analyzer.util.SourceColumnFinder

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.