public class SaveAsAction extends SaveActionBase
JosmAction.ActiveLayerChangeAdapter, JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter
Modifier and Type | Field and Description |
---|---|
private static SaveAsAction |
instance |
sc
Constructor and Description |
---|
SaveAsAction()
Construct the action with "Save" as label.
|
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
getFile(Layer layer) |
static SaveAsAction |
getInstance()
Returns the unique instance.
|
actionPerformed, addToFileOpenHistory, checkFileAndConfirmOverWrite, confirmOverwrite, createAndOpenSaveFileChooser, createAndOpenSaveFileChooser, doSave, doSave, doSave, updateEnabledState
createAndOpenFileChooser, createAndOpenFileChooser, createAndOpenFileChooser, createAndOpenFileChooser, createAndOpenFileChooser
checkAndConfirmOutlyingOperation, destroy, getLayerManager, getShortcut, initEnabledState, installAdapters, listenToLayerChange, listenToSelectionChange, setTooltip, updateEnabledState, updateEnabledStateOnCurrentSelection, updateEnabledStateOnCurrentSelection, updateEnabledStateOnModifiableSelection, waitFuture
private static SaveAsAction instance
public SaveAsAction()
public static SaveAsAction getInstance()
protected java.io.File getFile(Layer layer)
getFile
in class SaveActionBase