Class ImportTrackAction

  • All Implemented Interfaces:
    ActionListener, Serializable, Cloneable, EventListener, Action, org.openide.util.ContextAwareAction, org.openide.util.HelpCtx.Provider, org.openide.util.LookupListener

    public class ImportTrackAction
    extends AbstractSnapAction
    implements org.openide.util.ContextAwareAction, org.openide.util.LookupListener
    Action that lets a user load text files that contain data associated with a geographic position, e.g. some kind of track. The format is:
         lat-1 TAB lon-1 TAB data-1 NEWLINE
         lat-2 TAB lon-2 TAB data-2 NEWLINE
         lat-3 TAB lon-3 TAB data-3 NEWLINE
         ...
         lat-n TAB lon-n TAB data-n NEWLINE
     

    This is the format that is also used by SeaDAS 6.x in order to import ship tracks.

    Since:
    BEAM 4.10
    See Also:
    Serialized Form
    • Constructor Detail

      • ImportTrackAction

        public ImportTrackAction()
      • ImportTrackAction

        public ImportTrackAction​(org.openide.util.Lookup lookup)
    • Method Detail

      • createContextAwareInstance

        public Action createContextAwareInstance​(org.openide.util.Lookup lookup)
        Specified by:
        createContextAwareInstance in interface org.openide.util.ContextAwareAction
      • resultChanged

        public void resultChanged​(org.openide.util.LookupEvent lookupEvent)
        Specified by:
        resultChanged in interface org.openide.util.LookupListener