Package org.eobjects.datacleaner.windows

Examples of org.eobjects.datacleaner.windows.AnalysisJobBuilderWindow


      public String getJobFilename() {
        return file.getName();
      };
    });

    AnalysisJobBuilderWindow window = injector.getInstance(AnalysisJobBuilderWindow.class);
    window.open();

    if (_parentWindow != null && !_parentWindow.isDatastoreSet()) {
      _parentWindow.close();
    }
  }
View Full Code Here


    } else {
      // run in GUI mode

      final Injector injector = Guice.createInjector(new DCModule(configuration));

      final AnalysisJobBuilderWindow analysisJobBuilderWindow = injector.getInstance(AnalysisJobBuilderWindow.class);

      if (_options.isSingleDatastoreMode()) {
        DatastoreCatalog datastoreCatalog = configuration.getDatastoreCatalog();
        Datastore singleDatastore = _options.getSingleDatastore(datastoreCatalog);
        if (singleDatastore == null) {
          logger.info("Single datastore mode was enabled, but datastore was null!");
        } else {
          logger.info("Initializing single datastore mode with {}", singleDatastore);
        }
        analysisJobBuilderWindow.setDatastoreSelectionEnabled(false);
        analysisJobBuilderWindow.setDatastore(singleDatastore, true);
      }
      analysisJobBuilderWindow.open();

      final UserPreferences userPreferences = injector.getInstance(UserPreferences.class);
      final WindowContext windowContext = injector.getInstance(WindowContext.class);

      // set up HTTP service for ExtensionSwap installation
View Full Code Here

      analyzeButton.setMargin(buttonMargin);
      analyzeButton.addActionListener(new ActionListener() {
        @Override
        public void actionPerformed(ActionEvent e) {
          Injector injector = Guice.createInjector(new DCModule(_parentModule, null));
          AnalysisJobBuilderWindow window = injector.getInstance(AnalysisJobBuilderWindow.class);
          window.setDatastore(datastore);
          window.open();
        }
      });
      panel.add(analyzeButton);
      panel.add(Box.createHorizontalStrut(4));
View Full Code Here

TOP

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

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.