Revision 11197 branches/v10/extensions/extSDE/src/com/iver/cit/gvsig/sde/gui/sdewizard2/ConnectionTreeRenderer.java
ConnectionTreeRenderer.java | ||
---|---|---|
15 | 15 |
boolean selected, boolean expanded, boolean leaf, int row, |
16 | 16 |
boolean hasFocus) { |
17 | 17 |
|
18 |
if (value instanceof JDBConnectionTreeLeaf) {
|
|
19 |
JDBConnectionTreeLeaf jdbc = (JDBConnectionTreeLeaf) value;
|
|
18 |
if (value instanceof SDEConnectionTreeLeaf) {
|
|
19 |
SDEConnectionTreeLeaf jdbc = (SDEConnectionTreeLeaf) value;
|
|
20 | 20 |
if (jdbc.getConnectionWithParams().isConnected()) { |
21 | 21 |
setLeafIcon(connImage); |
22 | 22 |
} else { |
Also available in: Unified diff