Package org.trzcinka.intellitrac.gateway

Examples of org.trzcinka.intellitrac.gateway.TracGateway.testConnection()


        try {
          ConnectionSettings settings = new ConnectionSettings();
          settings.setLogin(login.getText());
          settings.setPassword(password.getText());
          settings.setTracUrl(tracUrl.getText());
          gateway.testConnection(settings);
          Messages.showMessageDialog(bundle.getString("configuration.connection.dialogs.connection_success"), bundle.getString("dialogs.success"), Messages.getInformationIcon());
        } catch (ConnectionFailedException exception) {
          Messages.showMessageDialog(bundle.getString("configuration.connection.dialogs.connection_failed"), bundle.getString("dialogs.error"), Messages.getErrorIcon());
        } catch (MalformedURLException e1) {
          Messages.showMessageDialog(bundle.getString("configuration.connection.dialogs.malformed_url"), bundle.getString("dialogs.error"), Messages.getErrorIcon());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.