Package org.eobjects.datacleaner.widgets

Examples of org.eobjects.datacleaner.widgets.DescriptorMenuItem


          return null;
        }
        if (descriptor.isExploringAnalyzer()) {
          return null;
        }
        JMenuItem menuItem = new DescriptorMenuItem(descriptor);
        menuItem.addActionListener(new ActionListener() {
          @SuppressWarnings("unchecked")
          @Override
          public void actionPerformed(ActionEvent e) {
            Class<?> analyzerClass = descriptor.getComponentClass();
            if (descriptor.isExploringAnalyzer()) {
View Full Code Here


      private static final long serialVersionUID = 1L;

      @Override
      protected JMenuItem createMenuItem(final FilterBeanDescriptor<?, ?> descriptor) {
        JMenuItem menuItem = new DescriptorMenuItem(descriptor);
        menuItem.addActionListener(new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            _analysisJobBuilder.addFilter(descriptor);

            UsageLogger.getInstance().log("Add filter: " + descriptor.getDisplayName());
View Full Code Here

  @Override
  public final void actionPerformed(ActionEvent e) {
    JPopupMenu popup = new JPopupMenu();

    for (final AnalyzerBeanDescriptor<?> descriptor : getDescriptors()) {
      JMenuItem outputWriterMenuItem = new DescriptorMenuItem(descriptor);
      outputWriterMenuItem.addActionListener(new ActionListener() {
        @SuppressWarnings("unchecked")
        @Override
        public void actionPerformed(ActionEvent e) {
          Class<? extends RowProcessingAnalyzer<?>> beanClass = (Class<? extends RowProcessingAnalyzer<?>>) descriptor
              .getComponentClass();
View Full Code Here

    final JPopupMenu popup = new DescriptorPopupMenu<TransformerBeanDescriptor<?>>(descriptors) {
      private static final long serialVersionUID = 1L;

      @Override
      protected JMenuItem createMenuItem(final TransformerBeanDescriptor<?> descriptor) {
        final DescriptorMenuItem menuItem = new DescriptorMenuItem(descriptor);
        menuItem.addActionListener(new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            _analysisJobBuilder.addTransformer(descriptor);
            UsageLogger.getInstance().log("Add transformer: " + descriptor.getDisplayName());
          }
View Full Code Here

TOP

Related Classes of org.eobjects.datacleaner.widgets.DescriptorMenuItem

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.