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 NEWLINEThis 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
-
-
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 Constructor Description ImportTrackAction()ImportTrackAction(org.openide.util.Lookup lookup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent ae)ActioncreateContextAwareInstance(org.openide.util.Lookup lookup)voidresultChanged(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
-
-
-
-
Method Detail
-
createContextAwareInstance
public Action createContextAwareInstance(org.openide.util.Lookup lookup)
- Specified by:
createContextAwareInstancein interfaceorg.openide.util.ContextAwareAction
-
actionPerformed
public void actionPerformed(ActionEvent ae)
- Specified by:
actionPerformedin interfaceActionListener
-
resultChanged
public void resultChanged(org.openide.util.LookupEvent lookupEvent)
- Specified by:
resultChangedin interfaceorg.openide.util.LookupListener
-
-