Package org.esa.snap.rcp.actions.vector
Class ImportTrackAction
java.lang.Object
javax.swing.AbstractAction
org.esa.snap.rcp.actions.AbstractSnapAction
org.esa.snap.rcp.actions.vector.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:
-
Field Summary
Fields inherited from class org.esa.snap.rcp.actions.AbstractSnapAction
HELP_ID
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createContextAwareInstance
(org.openide.util.Lookup lookup) void
resultChanged
(org.openide.util.LookupEvent lookupEvent) Methods inherited from class org.esa.snap.rcp.actions.AbstractSnapAction
getAppContext, getHelpCtx, getHelpId, setHelpId
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
ImportTrackAction
public ImportTrackAction() -
ImportTrackAction
public ImportTrackAction(org.openide.util.Lookup lookup)
-
-
Method Details
-
createContextAwareInstance
- Specified by:
createContextAwareInstance
in interfaceorg.openide.util.ContextAwareAction
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
resultChanged
public void resultChanged(org.openide.util.LookupEvent lookupEvent) - Specified by:
resultChanged
in interfaceorg.openide.util.LookupListener
-