Package org.eobjects.datacleaner.user

Examples of org.eobjects.datacleaner.user.UserDatabaseDriver


    _addDriverButton = WidgetFactory.createButton("Add database driver", "images/filetypes/archive.png");
    _addDriverButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent event) {
        UserDatabaseDriver userDatabaseDriver = new UserDatabaseDriver(getDriverFiles(), getDriverClassName());
        _userPreferences.getDatabaseDrivers().add(userDatabaseDriver);

        try {
          userDatabaseDriver.loadDriver();
          _databaseDriversPanel.updateDriverList();
          dispose();
        } catch (IllegalStateException e) {
          WidgetUtils.showErrorMessage("Error while loading driver", "Error message: " + e.getMessage(), e);
        }
View Full Code Here


      public void onFilesDownloaded(File[] files) {
        final String driverClassName = dd.getDriverClassName();

        logger.info("Registering and loading driver '{}' in files '{}'", driverClassName, files);

        final UserDatabaseDriver userDatabaseDriver = new UserDatabaseDriver(files, driverClassName);
        _userPreferences.getDatabaseDrivers().add(userDatabaseDriver);

        try {
          userDatabaseDriver.loadDriver();
        } catch (IllegalStateException e) {
          WidgetUtils.showErrorMessage("Error while loading driver", "Error message: " + e.getMessage(), e);
        }
        updateDriverList();
      }
View Full Code Here

TOP

Related Classes of org.eobjects.datacleaner.user.UserDatabaseDriver

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.