Class AbstractSessionExporter<T extends Layer>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected javax.swing.JCheckBox export  
      protected T layer  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractSessionExporter​(T layer)
      Constructs a new AbstractSessionExporter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<Layer> getDependencies()
      Return the Layers, this Layer depends on.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • export

        protected final javax.swing.JCheckBox export
    • Constructor Detail

      • AbstractSessionExporter

        protected AbstractSessionExporter​(T layer)
        Constructs a new AbstractSessionExporter.
        Parameters:
        layer - layer to export
    • Method Detail

      • shallExport

        public boolean shallExport()
        Description copied from interface: SessionLayerExporter
        Return true, if the layer should be included in the list of exported layers. The user can veto this in the export panel.
        Specified by:
        shallExport in interface SessionLayerExporter
        Returns:
        true if the layer should be included in the list of exported layers, false otherwise.
      • requiresZip

        public boolean requiresZip()
        Description copied from interface: SessionLayerExporter
        Return true, if some data needs to be included in the zip archive. This decision depends on the user selection in the export panel. If any layer requires zip, the user can only save as .joz. Otherwise both .jos and .joz are possible.
        Specified by:
        requiresZip in interface SessionLayerExporter
        Returns:
        true if some data needs to be included in the zip archive, false otherwise.