Package org.eobjects.datacleaner.windows

Examples of org.eobjects.datacleaner.windows.TextFileSynonymCatalogDialog


        "<html><b>Text file synonym catalog</b><br/>Synonyms from a file with master terms and comma-separated synonyms.</html>");
    textFileSynonymCatalogButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        Injector injector = _injectorBuilder.with(TextFileSynonymCatalog.class, null).createInjector();
        TextFileSynonymCatalogDialog dialog = injector.getInstance(TextFileSynonymCatalogDialog.class);
        dialog.setVisible(true);
      }
    });

    final JButton datastoreSynonymCatalogButton = createButton(IconUtils.SYNONYM_CATALOG_DATASTORE_IMAGEPATH,
        "<html><b>Datastore synonym catalog</b><br/>Synonym catalog based on columns in a registered datastore.</html>");
    datastoreSynonymCatalogButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        Injector injector = _injectorBuilder.with(DatastoreSynonymCatalog.class, null).createInjector();
        DatastoreSynonymCatalogDialog dialog = injector.getInstance(DatastoreSynonymCatalogDialog.class);
        dialog.setVisible(true);
      }
    });

    final HelpIcon helpIcon = new HelpIcon("<b>Synonym catalogs</b><br>"
        + "A synonym catalog is reference data used for replacing odd values with correct ones. "
View Full Code Here


        editButton.addActionListener(new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            Injector injector = _injectorBuilder.with(TextFileSynonymCatalog.class, synonymCatalog)
                .createInjector();
            TextFileSynonymCatalogDialog dialog = injector.getInstance(TextFileSynonymCatalogDialog.class);
            dialog.setVisible(true);
          }
        });
      } else if (synonymCatalog instanceof DatastoreSynonymCatalog) {
        editButton.addActionListener(new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            Injector injector = _injectorBuilder.with(DatastoreSynonymCatalog.class, synonymCatalog)
                .createInjector();
            DatastoreSynonymCatalogDialog dialog = injector.getInstance(DatastoreSynonymCatalogDialog.class);
            dialog.setVisible(true);
          }
        });
      } else {
        editButton.setEnabled(false);
      }
View Full Code Here

TOP

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

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.