Package org.eobjects.datacleaner.windows

Examples of org.eobjects.datacleaner.windows.DatastoreDictionaryDialog


        "<html><b>Datastore dictionary</b><br/>Dictionary based on a column in a datastore.</html>");
    datastoreDictionaryButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        Injector injector = _injectorBuilder.with(DatastoreDictionary.class, null).createInjector();
        DatastoreDictionaryDialog dialog = injector.getInstance(DatastoreDictionaryDialog.class);
        dialog.open();
      }
    });

    final HelpIcon helpIcon = new HelpIcon("<b>Dictionaries</b><br>"
        + "A dictionary is a set of values that grouped together represent a named set of values,"
View Full Code Here


      if (dictionary instanceof DatastoreDictionary) {
        editButton.addActionListener(new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            Injector injector = _injectorBuilder.with(DatastoreDictionary.class, dictionary).createInjector();
            DatastoreDictionaryDialog dialog = injector.getInstance(DatastoreDictionaryDialog.class);
            dialog.open();
          }
        });
      } else if (dictionary instanceof TextFileDictionary) {
        editButton.addActionListener(new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            Injector injector = _injectorBuilder.with(TextFileDictionary.class, dictionary).createInjector();
            TextFileDictionaryDialog dialog = injector.getInstance(TextFileDictionaryDialog.class);
            dialog.open();
          }
        });
      } else if (dictionary instanceof SimpleDictionary) {
        editButton.addActionListener(new ActionListener() {
          @Override
          public void actionPerformed(ActionEvent e) {
            Injector injector = _injectorBuilder.with(SimpleDictionary.class, dictionary).createInjector();
            SimpleDictionaryDialog dialog = injector.getInstance(SimpleDictionaryDialog.class);
            dialog.open();
          }
        });
      } else {
        editButton.setEnabled(false);
      }
View Full Code Here

            DatastoreDictionary dictionary = new DatastoreDictionary(column.getName(), datastoreName, column
                .getQualifiedLabel());

            Injector injector = _injectorBuilder.with(DatastoreDictionary.class, dictionary).createInjector();

            DatastoreDictionaryDialog dialog = injector.getInstance(DatastoreDictionaryDialog.class);
            dialog.setVisible(true);
          }
        });

        final JMenuItem quickAnalysisMenuItem = WidgetFactory.createMenuItem("Quick analysis",
            "images/component-types/analyzer.png");
View Full Code Here

TOP

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

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.