Package org.esa.snap.rcp.actions.file
Class OpenProductAction
java.lang.Object
javax.swing.AbstractAction
org.esa.snap.rcp.actions.file.OpenProductAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- See Also:
-
Field Summary
FieldsFields 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
execute()
Executes the action command.File[]
getFiles()
boolean
void
void
setFileFormat
(String fileFormat) void
void
setUseAllFileFilter
(boolean useAllFileFilter) Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
PREFERENCES_KEY_RECENTLY_OPENED_PRODUCTS
- See Also:
-
PREFERENCES_KEY_LAST_PRODUCT_DIR
- See Also:
-
-
Constructor Details
-
OpenProductAction
public OpenProductAction()
-
-
Method Details
-
getFiles
-
setFile
-
setFiles
-
getFileFormat
-
setFileFormat
-
setUseAllFileFilter
public void setUseAllFileFilter(boolean useAllFileFilter) -
getUseAllFileFilter
public boolean getUseAllFileFilter() -
actionPerformed
-
execute
Executes the action command.- Returns:
Boolean.TRUE
on success,Boolean.FALSE
on failure, ornull
on cancellation.
-