public class OsmDataSessionExporter extends java.lang.Object implements SessionLayerExporter
| Modifier and Type | Class and Description |
|---|---|
private class |
OsmDataSessionExporter.LayerSaveAction |
| Modifier and Type | Field and Description |
|---|---|
private javax.swing.JCheckBox |
export |
private javax.swing.JRadioButton |
include |
private OsmDataLayer |
layer |
private javax.swing.JRadioButton |
link |
| Constructor and Description |
|---|
OsmDataSessionExporter(OsmDataLayer layer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDataFile(java.io.OutputStream out) |
org.w3c.dom.Element |
export(SessionWriter.ExportSupport support)
Save meta data to the .jos file.
|
java.util.Collection<Layer> |
getDependencies()
Return the Layers, this Layer depends on.
|
javax.swing.JPanel |
getExportPanel()
The GUI for exporting this layer.
|
boolean |
requiresZip()
Return true, if some data needs to be included in
the zip archive.
|
boolean |
shallExport()
Return true, if the layer should be included in the
list of exported layers.
|
private OsmDataLayer layer
private javax.swing.JRadioButton link
private javax.swing.JRadioButton include
private javax.swing.JCheckBox export
public OsmDataSessionExporter(OsmDataLayer layer)
public java.util.Collection<Layer> getDependencies()
SessionLayerExportergetDependencies in interface SessionLayerExporterpublic javax.swing.JPanel getExportPanel()
SessionLayerExportergetExportPanel in interface SessionLayerExporterpublic boolean shallExport()
SessionLayerExportershallExport in interface SessionLayerExporterpublic boolean requiresZip()
SessionLayerExporterrequiresZip in interface SessionLayerExporterpublic org.w3c.dom.Element export(SessionWriter.ExportSupport support) throws java.io.IOException
SessionLayerExportersupport to save files in the zip archive as needed.export in interface SessionLayerExporterjava.io.IOExceptionprotected void addDataFile(java.io.OutputStream out)