Package org.earth3d.jearth.model

Examples of org.earth3d.jearth.model.GeoDataModel


      conf.setPropery("mapnumber", ""+serviceIndex);
    } catch (IOException e1) {
      e1.printStackTrace();
    }
   
    GeoDataModel geoDataModel = getMainWindow().getGeoDataModel();
    geoDataModel.loadGeometry(geoDataModel.loadService(serviceList.getServices().get(serviceIndex++)).getGeometry());
  }
View Full Code Here


    if (value != null) {
      serviceIndex = Integer.parseInt(value);
    }

    // load first geometry into model
    GeoDataModel geoDataModel = getMainWindow().getGeoDataModel();
    ServiceList serviceList = getMainWindow().getGeoDataModel().getServiceList();
    geoDataModel.loadGeometry(geoDataModel.loadService(serviceList.getServices().get(serviceIndex++)).getGeometry());
  }
View Full Code Here

    if (clickedNode instanceof ServiceTreeNode) {
      Service clickedService = ((ServiceTreeNode) clickedNode).getService();
     
      if (clickedService != null) {
        GeoDataModel geoDataModel = getMainWindow().getGeoDataModel();
        geoDataModel.loadGeometry(geoDataModel.loadService(clickedService).getGeometry());
      }
    }
  }
View Full Code Here

    // load configuration
    Configuration conf = new Configuration();

    // load internal "plugins"
    gdm = new GeoDataModel();
    loadInternalPlugins(em, gdm, conf);
   
    // load plugins
    loadPlugins(em, conf);
  }
View Full Code Here

TOP

Related Classes of org.earth3d.jearth.model.GeoDataModel

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.