public class GeoImageSessionExporter extends Object implements SessionLayerExporter
| Modifier and Type | Field and Description |
|---|---|
private JCheckBox |
export |
private GeoImageLayer |
layer |
| Constructor and Description |
|---|
GeoImageSessionExporter(GeoImageLayer layer) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addAttr(String name,
String value,
Element element,
SessionWriter.ExportSupport support) |
Element |
export(SessionWriter.ExportSupport support)
Save meta data to the .jos file.
|
Collection<Layer> |
getDependencies()
Return the Layers, this Layer depends on.
|
Component |
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 GeoImageLayer layer
public GeoImageSessionExporter(GeoImageLayer layer)
public Collection<Layer> getDependencies()
SessionLayerExportergetDependencies in interface SessionLayerExporterpublic Component getExportPanel()
SessionLayerExportergetExportPanel in interface SessionLayerExporterpublic boolean shallExport()
SessionLayerExportershallExport in interface SessionLayerExporterpublic boolean requiresZip()
SessionLayerExporterrequiresZip in interface SessionLayerExporterpublic Element export(SessionWriter.ExportSupport support) throws IOException
SessionLayerExportersupport to save files in the zip archive as needed.export in interface SessionLayerExporterIOExceptionprivate void addAttr(String name, String value, Element element, SessionWriter.ExportSupport support)