Package org.eobjects.datacleaner.panels

Examples of org.eobjects.datacleaner.panels.RowProcessingAnalyzerJobBuilderPresenter


    if (panel != null) {
      // if panel was a row processing analyzer panel
      for (Iterator<RowProcessingAnalyzerJobBuilderPresenter> it = _rowProcessingTabPresenters.values().iterator(); it
          .hasNext();) {
        RowProcessingAnalyzerJobBuilderPresenter analyzerPresenter = it.next();
        if (_jobBuilderTabs.get(analyzerPresenter) == panel) {
          _analysisJobBuilder.removeAnalyzer(analyzerPresenter.getJobBuilder());
          return;
        }
      }

      // if panel was a transformer panel
View Full Code Here


  @Override
  public void onAdd(RowProcessingAnalyzerJobBuilder<?> analyzerJobBuilder) {
    @SuppressWarnings("unchecked")
    final Renderer<RowProcessingAnalyzerJobBuilder<?>, ? extends ComponentJobBuilderPresenter> renderer = (Renderer<RowProcessingAnalyzerJobBuilder<?>, ? extends ComponentJobBuilderPresenter>) _componentJobBuilderPresenterRendererFactory
        .getRenderer(analyzerJobBuilder, ComponentJobBuilderRenderingFormat.class);
    RowProcessingAnalyzerJobBuilderPresenter presenter = (RowProcessingAnalyzerJobBuilderPresenter) renderer
        .render(analyzerJobBuilder);

    _rowProcessingTabPresenters.put(analyzerJobBuilder, presenter);
    JComponent comp = presenter.createJComponent();
    _tabbedPane.addTab(LabelUtils.getLabel(analyzerJobBuilder),
        IconUtils.getDescriptorIcon(analyzerJobBuilder.getDescriptor(), IconUtils.ICON_SIZE_LARGE), comp);
    _jobBuilderTabs.put(presenter, comp);
    final int tabIndex = _tabbedPane.getTabCount() - 1;
    _tabbedPane.setRightClickActionListener(tabIndex, new JobBuilderTabTextActionListener(_analysisJobBuilder,
View Full Code Here

    updateStatusLabel();
  }

  @Override
  public void onRemove(RowProcessingAnalyzerJobBuilder<?> analyzerJobBuilder) {
    RowProcessingAnalyzerJobBuilderPresenter presenter = _rowProcessingTabPresenters.remove(analyzerJobBuilder);
    JComponent comp = _jobBuilderTabs.remove(presenter);
    _tabbedPane.remove(comp);
    updateStatusLabel();
  }
View Full Code Here

    updateStatusLabel();
  }

  @Override
  public void onConfigurationChanged(RowProcessingAnalyzerJobBuilder<?> analyzerJobBuilder) {
    RowProcessingAnalyzerJobBuilderPresenter presenter = _rowProcessingTabPresenters.get(analyzerJobBuilder);
    if (presenter != null) {
      presenter.onConfigurationChanged();
    }
    updateStatusLabel();
  }
View Full Code Here

    updateStatusLabel();
  }

  @Override
  public void onRequirementChanged(RowProcessingAnalyzerJobBuilder<?> analyzerJobBuilder) {
    RowProcessingAnalyzerJobBuilderPresenter presenter = _rowProcessingTabPresenters.get(analyzerJobBuilder);
    if (presenter != null) {
      presenter.onRequirementChanged();
    }
  }
View Full Code Here

TOP

Related Classes of org.eobjects.datacleaner.panels.RowProcessingAnalyzerJobBuilderPresenter

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.