String[] strsDefaultWhat = get.getDefaultWhat();
String[] strsDefaultWho = get.getDefaultWho();
String[] strsDefaultUrlHomePage = get.getDefaultUrlHomePage();
// show dialog
GfrDlgNewTloOgcWms dlg = new GfrDlgNewTloOgcWms(
frmOwner,
(String[]) strsChildrenExisting,
strsDefaultServerTitle,
strsDefaultServerUrl,
strsDefaultWho,
strsDefaultWhat,
strsDefaultUrlHomePage);
if (!dlg.init())
{
String str = "! dlg.init()";
ActPrfPrjConstructOgcAbs._LOGGER_.severe(str);
throw new Exception(str);
}
dlg.setVisible(true);
boolean blnCancelled = dlg.isCancelled();
String strValue = null;
String strDescShort = null;
String strUrl = null;
if (!blnCancelled)
{
strValue = dlg.getValue();
strDescShort = dlg.getValueDescShort();
strUrl = dlg.getWmsProviderWebSite();
}
dlg.destroy();
dlg = null;
if (blnCancelled)
return;