Revision 41632 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.prov/org.gvsig.exportto.swing.prov.jdbc/src/main/java/org/gvsig/exportto/swing/prov/jdbc/panel/JDBCConnectionPanel.java
JDBCConnectionPanel.java | ||
---|---|---|
43 | 43 |
* @version $Id$ |
44 | 44 |
* |
45 | 45 |
*/ |
46 |
public class JDBCConnectionPanel extends JPanel implements ExporttoSwingProviderPanel {
|
|
46 |
public class JDBCConnectionPanel implements ExporttoSwingProviderPanel { |
|
47 | 47 |
|
48 | 48 |
private static final long serialVersionUID = -3278172717881233447L; |
49 | 49 |
|
50 | 50 |
private static final Logger LOG = LoggerFactory.getLogger(JDBCConnectionPanel.class); |
51 |
private DBConnectionPanel connectionPanel = null;
|
|
51 |
private org.gvsig.fmap.mapcontrol.dal.jdbc.JDBCConnectionPanel connectionPanel = null;
|
|
52 | 52 |
private final ExporttoJDBCOptions provider; |
53 | 53 |
|
54 | 54 |
|
... | ... | |
58 | 58 |
} |
59 | 59 |
|
60 | 60 |
private void initComponents() { |
61 |
this.connectionPanel = new DBConnectionPanel();
|
|
61 |
this.connectionPanel = new org.gvsig.fmap.mapcontrol.dal.jdbc.JDBCConnectionPanel();
|
|
62 | 62 |
} |
63 | 63 |
|
64 | 64 |
public void enterPanel() { |
... | ... | |
75 | 75 |
} |
76 | 76 |
|
77 | 77 |
public boolean isValidPanel() throws ExporttoPanelValidationException { |
78 |
DBServerExplorerParameters connection = this.connectionPanel.getConnection();
|
|
78 |
DBServerExplorerParameters connection = this.connectionPanel.getServerExplorerParameters();
|
|
79 | 79 |
try { |
80 | 80 |
connection.validate(); |
81 | 81 |
return true; |
Also available in: Unified diff