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