Package org.geoforge.guillcogcecl.dialog

Examples of org.geoforge.guillcogcecl.dialog.GfrDlgCmdCancelBldObjWwdEarthAbs


      if (strStateOrbitViewSource != null)
      {
         GfrSerializeStateWwdSel.s_write(strStateOrbitViewSource);
      }

      GfrDlgCmdCancelBldObjWwdEarthAbs dlg = new GfrDlgBldObjWwdEarthPikShpLinClsSelGsi();

      if (!dlg.init())
      {
         String str = "! dlg.init()";
         ActPrfPrjConstructOgcEclGsi._LOGGER_.severe(str);
         throw new Exception(str);
      }

      dlg.setVisible(true);

      boolean blnCancelledPicks = dlg.isCancelled();

      ArrayList<LatLon> alt = null;

      if (!blnCancelledPicks)
         alt = (ArrayList<LatLon>) dlg.getValue();

      dlg.destroy();
      dlg = null;

      if (blnCancelledPicks)
         return;
View Full Code Here


   @Override
   protected void _newMousePickedTloPntEclMan(JFrame frmOwner) throws Exception
   {
      super._newMousePickedTloPntEclMan(frmOwner);

      GfrDlgCmdCancelBldObjWwdEarthAbs dlg = new GfrDlgBldObjWwdEarthPikPntCircleManGsi(
              "New point",
              "Point");

      if (!dlg.init())
      {
         String str = "! dlg.init()";
         ActPrfPrjConstructOgcEclGsi._LOGGER_.severe(str);
         throw new Exception(str);
      }

      dlg.setVisible(true);
      boolean blnCancelledPicks = dlg.isCancelled();

      LatLon lln = null;

      if (!blnCancelledPicks)
      {
         lln = (LatLon) dlg.getValue();
      }

      dlg.destroy();
      dlg = null;

      if (blnCancelledPicks)
         return;
View Full Code Here

   @Override
   protected void _newMousePickedTloPlcEclMan(JFrame frmOwner) throws Exception
   {
      super._newMousePickedTloPlcEclMan(frmOwner);

      GfrDlgCmdCancelBldObjWwdEarthAbs dlg = new GfrDlgBldObjWwdEarthPikPntPinManGsi(
              "New placemark",
              "Placemark");

      if (!dlg.init())
      {
         String str = "! dlg.init()";
         ActPrfPrjConstructOgcEclGsi._LOGGER_.severe(str);
         throw new Exception(str);
      }

      dlg.setVisible(true);
      boolean blnCancelledPicks = dlg.isCancelled();

      LatLon lln = null;

      if (!blnCancelledPicks)
      {
         lln = (LatLon) dlg.getValue();
      }

      dlg.destroy();
      dlg = null;

      if (blnCancelledPicks)
         return;
View Full Code Here

   @Override
   protected void _newMousePickedTloPntEclSel(JFrame frmOwner) throws Exception
   {
      super._newMousePickedTloPntEclMan(frmOwner);

      GfrDlgCmdCancelBldObjWwdEarthAbs dlg = new GfrDlgBldObjWwdEarthPikPntCircleSelGsi(
              "New point",
              "Point");

      if (!dlg.init())
      {
         String str = "! dlg.init()";
         ActPrfPrjConstructOgcEclGsi._LOGGER_.severe(str);
         throw new Exception(str);
      }

      dlg.setVisible(true);
      boolean blnCancelledPicks = dlg.isCancelled();

      LatLon lln = null;

      if (!blnCancelledPicks)
      {
         lln = (LatLon) dlg.getValue();
      }

      dlg.destroy();
      dlg = null;

      if (blnCancelledPicks)
         return;
View Full Code Here

   @Override
   protected void _newMousePickedTloPlcEclSel(JFrame frmOwner) throws Exception
   {
      super._newMousePickedTloPlcEclMan(frmOwner);

      GfrDlgCmdCancelBldObjWwdEarthAbs dlg = new GfrDlgBldObjWwdEarthPikPntPinSelGsi(
              "New placemark",
              "Placemark");

      if (!dlg.init())
      {
         String str = "! dlg.init()";
         ActPrfPrjConstructOgcEclGsi._LOGGER_.severe(str);
         throw new Exception(str);
      }

      dlg.setVisible(true);
      boolean blnCancelledPicks = dlg.isCancelled();

      LatLon lln = null;

      if (!blnCancelledPicks)
      {
         lln = (LatLon) dlg.getValue();
      }

      dlg.destroy();
      dlg = null;

      if (blnCancelledPicks)
         return;
View Full Code Here

   }

   @Override
   protected void _newMousePickedTloPntEclSec(String strIdViewerSource) throws Exception
   {
      GfrDlgCmdCancelBldObjWwdEarthAbs dlg = new GfrDlgBldObjWwdEarthPikPntCircleSecGsi(
              "New point",
              "Point",
              strIdViewerSource);

      if (!dlg.init())
      {
         String str = "! dlg.init()";
         ActPrfPrjConstructOgcEclGsi._LOGGER_.severe(str);
         throw new Exception(str);
      }

      dlg.setVisible(true);
      boolean blnCancelledPicks = dlg.isCancelled();

      LatLon lln = null;

      if (!blnCancelledPicks)
      {
         lln = (LatLon) dlg.getValue();
      }

      dlg.destroy();
      dlg = null;

      if (blnCancelledPicks)
         return;
View Full Code Here

   }

   @Override
   protected void _newMousePickedTloPlcEclSec(String strIdViewerSource) throws Exception
   {
      GfrDlgCmdCancelBldObjWwdEarthAbs dlg = new GfrDlgBldObjWwdEarthPikPntPinSecGsi(
              "New placemark",
              "Placemark",
              strIdViewerSource);

      if (!dlg.init())
      {
         String str = "! dlg.init()";
         ActPrfPrjConstructOgcEclGsi._LOGGER_.severe(str);
         throw new Exception(str);
      }

      dlg.setVisible(true);
      boolean blnCancelledPicks = dlg.isCancelled();

      LatLon lln = null;

      if (!blnCancelledPicks)
      {
         lln = (LatLon) dlg.getValue();
      }

      dlg.destroy();
      dlg = null;

      if (blnCancelledPicks)
         return;
View Full Code Here

   // ---
   @Override
   protected void _newMousePickedTloPthEclSec(String strIdViewerSource) throws Exception
   {
      GfrDlgCmdCancelBldObjWwdEarthAbs dlg = new GfrDlgBldObjWwdEarthPikShpLinOpnSecGsi(
              GfrResBundleGuiLlcOgcEcl.s_getInstance().getValue("sentence.newPathByPicking"),
              GfrResBundleLang.s_getInstance().getValue("word.path"),
              strIdViewerSource);

      if (!dlg.init())
      {
         String str = "! dlg.init()";
         ActPrfPrjConstructOgcEclGsi._LOGGER_.severe(str);
         throw new Exception(str);
      }

      dlg.setVisible(true);
      boolean blnCancelled = dlg.isCancelled();
      ArrayList<LatLon> alt = null;

      if (!blnCancelled)
      {
         alt = (ArrayList<LatLon>) dlg.getValue();
      }

      dlg.destroy();
      dlg = null;

      if (blnCancelled)
         return;
View Full Code Here

      if (strStateOrbitViewSource != null)
      {
         GfrSerializeStateWwdSel.s_write(strStateOrbitViewSource);
      }

      GfrDlgCmdCancelBldObjWwdEarthAbs dlg = _createBuilderSection();

      if (!dlg.init())
      {
         String str = "! dlg.init()";
         GfrAcrSpcAppPrsPrjSelOgcEclAbs._LOGGER_.severe(str);
         throw new Exception(str);
      }

      dlg.setVisible(true);
      boolean blnCancelledPicks = dlg.isCancelled();
      ArrayList<LatLon> alt = null;

      if (!blnCancelledPicks)
         alt = (ArrayList<LatLon>) dlg.getValue();



      if (blnCancelledPicks)
      {
         dlg.destroy();
         dlg = null;
         return;
      }

      // ---
      //
      String[] strsChoice =
      {
         "Check all inside sector",
         "Uncheck all inside sector",
         "Only check all inside sector",
         "Only check all outside sector"
      };

      final String objBodyMessage = "Filtering top-objects by using sector,\n please choose from list below:\n\n";
      final String strTitleMessage = "Select top-objects - Step 2/2";

      Object objValueInitial = strsChoice[0];

      Object objResult = JOptionPane.showInputDialog(
            null, objBodyMessage, strTitleMessage,
            JOptionPane.QUESTION_MESSAGE, (Icon) null, strsChoice, objValueInitial);

      // ---
      dlg.destroy();
      dlg = null;

      if (objResult == null)
         return; // action cancelled
View Full Code Here

TOP

Related Classes of org.geoforge.guillcogcecl.dialog.GfrDlgCmdCancelBldObjWwdEarthAbs

Copyright © 2018 www.massapicom. 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.