NASA World Wind

gov.nasa.worldwindx.applications.worldwindow.core
Class SimpleImporter

java.lang.Object
  extended by gov.nasa.worldwindx.applications.worldwindow.core.SimpleImporter

public class SimpleImporter
extends Object


Field Summary
protected  Controller controller
           
protected static String DEFAULT_GROUP
           
protected static AtomicInteger nextLayerNumber
           
protected  Object source
           
 
Constructor Summary
SimpleImporter(Object source, Controller controller)
           
 
Method Summary
protected  void addLayer(Layer layer, LayerPath pathToParent)
           
protected  void doAddLayer(Layer layer, LayerPath path)
           
 String formName(Object source, String defaultName)
           
protected  LayerPath getDefaultPathToParent()
           
protected  boolean isKML(Object source)
           
protected  boolean isShapfile(Object source)
           
protected  void openKML(Object source)
           
protected  void openShapefile(Object source)
           
 void startImport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

controller

protected Controller controller

DEFAULT_GROUP

protected static final String DEFAULT_GROUP
See Also:
Constant Field Values

nextLayerNumber

protected static final AtomicInteger nextLayerNumber

source

protected Object source
Constructor Detail

SimpleImporter

public SimpleImporter(Object source,
                      Controller controller)
Method Detail

addLayer

protected void addLayer(Layer layer,
                        LayerPath pathToParent)

doAddLayer

protected void doAddLayer(Layer layer,
                          LayerPath path)

formName

public String formName(Object source,
                       String defaultName)

getDefaultPathToParent

protected LayerPath getDefaultPathToParent()

isKML

protected boolean isKML(Object source)

isShapfile

protected boolean isShapfile(Object source)

openKML

protected void openKML(Object source)

openShapefile

protected void openShapefile(Object source)

startImport

public void startImport()

NASA World Wind