public class SimpleImporter extends Object
Modifier and Type | Field and Description |
---|---|
protected Controller |
controller |
protected static String |
DEFAULT_GROUP |
protected static AtomicInteger |
nextLayerNumber |
protected Object |
source |
Constructor and Description |
---|
SimpleImporter(Object source,
Controller controller) |
Modifier and Type | Method and Description |
---|---|
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() |
protected Controller controller
protected static final String DEFAULT_GROUP
protected static final AtomicInteger nextLayerNumber
protected Object source
public SimpleImporter(Object source, Controller controller)
protected LayerPath getDefaultPathToParent()
protected boolean isKML(Object source)
protected boolean isShapfile(Object source)
protected void openKML(Object source)
protected void openShapefile(Object source)
public void startImport()