/*
 * CODENVY CONFIDENTIAL
 * __________________
 *
 * [2012] - [2013] Codenvy, S.A.
 * All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Codenvy S.A. and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Codenvy S.A.
 * and its suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Codenvy S.A..
 */
package com.codenvy.ide.ext.datasource.client.newdatasource.connector;

import com.codenvy.ide.api.mvp.View;
import com.google.inject.ImplementedBy;

/**
 * The view of {@link com.codenvy.ide.ext.datasource.client.newdatasource.connector.postgres.PostgresDatasourceConnectorPage}.
 * 
 * @author <a href="mailto:aplotnikov@codenvy.com">Andrey Plotnikov</a>
 */
@ImplementedBy(JdbcDatasourceConnectorViewImpl.class)
public interface JdbcDatasourceConnectorView extends View<JdbcDatasourceConnectorView.ActionDelegate> {

    /** Required for delegating functions in view. */
    public interface ActionDelegate  {
        void onClickTestConnectionButton();
    }

    String getDatabaseName();

    String getHostname();

    int getPort();

    String getUsername();

    String getPassword();

    void setPort(int port);

}

@@ -803,195 +803,37 @@
  of 
-%7B@link com.codenvy.ide.ext.datasource.client.newdatasource.connector.postgres.PostgresDatasourceConnectorPage%7D.%0A * %0A * @author %3Ca href=%22mailto:aplotnikov@codenvy.com%22%3EAndrey Plotnikov%3C/a%3E
+datasource wizard connectors.
 %0A */
@@ -1082,17 +1082,16 @@
 elegate 
- 
 %7B%0A      
@@ -1096,182 +1096,912 @@
     
-void onClickTestConnectionButton();%0A    %7D%0A%0A    String getDatabaseName();%0A%0A    String getHostname();%0A%0A    int getPort();%0A%0A    String getUsername();%0A%0A    String getPassword();%0A
+/** Action launched when asked to test the configured connection. */%0A        void onClickTestConnectionButton();%0A    %7D%0A%0A    /**%0A     * Returns the database name (the SQL exiting database).%0A     * %0A     * @return the database name%0A     */%0A    String getDatabaseName();%0A%0A    /**%0A     * Returns the database server host.%0A     * %0A     * @return the server host%0A     */%0A    String getHostname();%0A%0A%0A    /**%0A     * Returns the database server port.%0A     * %0A     * @return the server port%0A     */%0A    int getPort();%0A%0A    /**%0A     * Returns the configured username used for the connection.%0A     * %0A     * @return the username%0A     */%0A    String getUsername();%0A%0A    /**%0A     * Returns the configured password used for the connection.%0A     * %0A     * @return the password%0A     */%0A    String getPassword();%0A%0A    /**%0A     * Sets the port in the displayed configuration.%0A     * %0A     * @param port the new value%0A     */
 %0A   

Add javadoc to the jdbc connector view interface - Closes #59