Package org.openstreetmap.josm.actions
Class SaveAsAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.actions.JosmAction
-
- org.openstreetmap.josm.actions.DiskAccessAction
-
- org.openstreetmap.josm.actions.SaveActionBase
-
- org.openstreetmap.josm.actions.SaveAsAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
,Destroyable
public class SaveAsAction extends SaveActionBase
Export the data.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstreetmap.josm.actions.JosmAction
JosmAction.ActiveLayerChangeAdapter, JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter
-
-
Field Summary
Fields Modifier and Type Field Description private static SaveAsAction
instance
-
Fields inherited from class org.openstreetmap.josm.actions.JosmAction
sc
-
-
Constructor Summary
Constructors Constructor Description SaveAsAction()
Construct the action with "Save" as label.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.File
getFile(Layer layer)
static SaveAsAction
getInstance()
Returns the unique instance.-
Methods inherited from class org.openstreetmap.josm.actions.SaveActionBase
actionPerformed, addToFileOpenHistory, checkFileAndConfirmOverWrite, confirmOverwrite, createAndOpenSaveFileChooser, createAndOpenSaveFileChooser, doSave, doSave, doSave, doSave, doSave, listenToSelectionChange, showAndLogException, updateEnabledState
-
Methods inherited from class org.openstreetmap.josm.actions.DiskAccessAction
createAndOpenFileChooser, createAndOpenFileChooser, createAndOpenFileChooser, createAndOpenFileChooser, createAndOpenFileChooser, showSavedNotification, showSavingNotification
-
Methods inherited from class org.openstreetmap.josm.actions.JosmAction
buildActiveLayerChangeAdapter, buildLayerChangeAdapter, checkAndConfirmOutlyingOperation, destroy, getLayerManager, getShortcut, initEnabledState, installAdapters, listenToLayerChange, setHelpId, setToolbarId, setTooltip, updateEnabledState, updateEnabledStateOnCurrentSelection, updateEnabledStateOnCurrentSelection, updateEnabledStateOnModifiableSelection, waitFuture
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
instance
private static final SaveAsAction instance
-
-
Constructor Detail
-
SaveAsAction
public SaveAsAction()
Construct the action with "Save" as label.
-
-
Method Detail
-
getInstance
public static SaveAsAction getInstance()
Returns the unique instance.- Returns:
- the unique instance
-
getFile
protected java.io.File getFile(Layer layer)
- Specified by:
getFile
in classSaveActionBase
-
-