public void aboutToDisplayPanel() {
   super.aboutToDisplayPanel();
   Config config = ((Ili2dbWizard) getWizard()).getIli2dbConfig();
   GenericDbPanel panel = (GenericDbPanel) getPanelComponent();
   panel.setDburl(config.getDburl());
   panel.setDbusr(config.getDbusr());
   panel.setDbpwd(config.getDbpwd());
 }
示例#2
0
 public void aboutToDisplayPanel() {
   super.aboutToDisplayPanel();
   Config config = ((Ili2dbWizard) getWizard()).getIli2dbConfig();
   GpkgDbPanel panel = (GpkgDbPanel) getPanelComponent();
   panel.setDbname(config.getDbdatabase());
   panel.setDbhost(config.getDbhost());
   panel.setDbport(config.getDbport());
   panel.setDbusr(config.getDbusr());
   panel.setDbpwd(config.getDbpwd());
   panel.setDbUrlConverter(((Ili2dbWizard) getWizard()).getDbUrlConverter());
   panel.setJdbcDriver(config.getJdbcDriver());
 }