Package org.eobjects.datacleaner.windows

Examples of org.eobjects.datacleaner.windows.DetailsResultWindow


      throw resultFuture.getErrors().get(0);
    }

    List<AnalyzerResult> list = Collections.emptyList();
    RendererFactory rendererFactory = new RendererFactory(conf.getDescriptorProvider(), null);
    DetailsResultWindow window = new DetailsResultWindow("Example", list, new DCWindowContext(conf,
        UserPreferences.getInstance()), rendererFactory);
    window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

    List<AnalyzerResult> results = resultFuture.getResults();
    for (AnalyzerResult analyzerResult : results) {
      JComponent renderedResult = new DateGapAnalyzerResultSwingRenderer()
          .render((DateGapAnalyzerResult) analyzerResult);
      window.addRenderedResult(renderedResult);
    }
    window.repaint();

    window.setPreferredSize(new Dimension(800, 600));

    window.setVisible(true);
  }
View Full Code Here


  }

  @Override
  public void drillToDetails(String title, ResultProducer resultProducer) {
    final AnalyzerResult result = resultProducer.getResult();
    final DetailsResultWindow window = new DetailsResultWindow(title, Arrays.asList(result), _windowContext, _rendererFactory);
    window.setVisible(true);
  }
View Full Code Here

TOP

Related Classes of org.eobjects.datacleaner.windows.DetailsResultWindow

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.