public class ImportProductAction extends AbstractAction implements org.openide.util.HelpCtx.Provider
changeSupport, enabled
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 and Description |
---|
ImportProductAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
static ImportProductAction |
create(Map<String,Object> configuration)
Action factory method used in NetBeans
layer.xml file, e.g. |
org.openide.util.HelpCtx |
getHelpCtx() |
void |
setFormatName(String formatName) |
void |
setHelpCtx(String helpId) |
void |
setUseAllFileFilter(boolean useAllFileFilter) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public static ImportProductAction create(Map<String,Object> configuration)
layer.xml
file, e.g.
<file name="org-esa-snap-dataio-ceos-ImportAvnir2Product.instance"> <attr name="instanceCreate" methodvalue="org.openide.awt.Actions.alwaysEnabled"/> <attr name="delegate" methodvalue="ImportProductAction.create"/> <attr name="displayName" stringvalue="ALOS/AVNIR-2 Product"/> <attr name="formatName" stringvalue="AVNIR-2"/> <attr name="useAllFileFilter" boolvalue="true"/> <attr name="helpId" stringvalue="importAvnir2Product"/> <attr name="ShortDescription" stringvalue="Import an ALOS/AVNIR-2 data product."/> </file>
configuration
- Configuration attributes from layer.xml.public org.openide.util.HelpCtx getHelpCtx()
getHelpCtx
in interface org.openide.util.HelpCtx.Provider
public void setHelpCtx(String helpId)
public void setFormatName(String formatName)
public void setUseAllFileFilter(boolean useAllFileFilter)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.