Class ImportImagesAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.layer.gpx.ImportImagesAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public class ImportImagesAction extends AbstractAction
An action that imports images along a GPX path- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private GpxLayer
layer
-
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 ImportImagesAction(GpxLayer layer)
Create a newImportImagesAction
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
private static void
addRecursiveFiles(List<File> files, File... sel)
private static void
warnCantImportIntoServerLayer(GpxLayer layer)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
ImportImagesAction
public ImportImagesAction(GpxLayer layer)
Create a newImportImagesAction
- Parameters:
layer
- The layer this action should be for
-
-
Method Detail
-
warnCantImportIntoServerLayer
private static void warnCantImportIntoServerLayer(GpxLayer layer)
-
addRecursiveFiles
private static void addRecursiveFiles(List<File> files, File... sel)
-
actionPerformed
public void actionPerformed(ActionEvent e)
-
-