Revision 4740 trunk/extensions/extCAD/src/com/iver/cit/gvsig/NewTheme.java
NewTheme.java | ||
---|---|---|
23 | 23 |
import com.iver.cit.gvsig.gui.cad.WizardAndami; |
24 | 24 |
import com.iver.cit.gvsig.gui.cad.panels.ChooseGeometryType; |
25 | 25 |
import com.iver.cit.gvsig.gui.cad.panels.JPanelFieldDefinition; |
26 |
import com.iver.cit.gvsig.gui.cad.panels.PostGISpanel; |
|
26 | 27 |
import com.iver.cit.gvsig.gui.cad.panels.ShpPanel; |
27 | 28 |
|
28 | 29 |
/** |
... | ... | |
97 | 98 |
} |
98 | 99 |
if (actionCommand.equals("POSTGIS")) |
99 | 100 |
{ |
101 |
panelChoose.setDriver((ISpatialWriter) writerManager.getDriver("PostGIS JDBC Driver")); |
|
100 | 102 |
wizard.getWizardComponents().addWizardPanel( |
101 |
new SimpleLabelWizardPanel(wizard |
|
102 |
.getWizardComponents(), new JLabel("Done!"))); |
|
103 |
new PostGISpanel(wizard.getWizardComponents())); |
|
104 |
|
|
105 |
wizard.getWizardComponents().setFinishAction( |
|
106 |
new MyFinishAction(wizard.getWizardComponents(), |
|
107 |
vista, actionCommand)); |
|
103 | 108 |
} |
104 | 109 |
|
105 | 110 |
wizard.getViewInfo().setWidth(540); |
Also available in: Unified diff