Examples of GfrDlgNewTloOgcWms


Examples of org.geoforge.guillcogc.dialog.GfrDlgNewTloOgcWms

      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;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.