Class UploadAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, Destroyable

public class UploadAction extends AbstractUploadAction
Action that opens a connection to the osm server and uploads all changes.

A dialog is displayed asking the user to specify a rectangle to grab. The url and account settings from the preferences are used.

If the upload fails, this action offers various options to resolve conflicts.

See Also:
  • Field Details

    • UPLOAD_HOOKS

      private static final List<UploadHook> UPLOAD_HOOKS
      The list of upload hooks. These hooks will be called one after the other when the user wants to upload data. Plugins can insert their own hooks here if they want to be able to veto an upload.

      By default, the standard upload dialog is the only element in the list. Plugins should normally insert their code before that, so that the upload dialog is the last thing shown before upload really starts; on occasion however, a plugin might also want to insert something after that.

    • LATE_UPLOAD_HOOKS

      private static final List<UploadHook> LATE_UPLOAD_HOOKS
    • IS_ASYNC_UPLOAD_ENABLED

      private static final String IS_ASYNC_UPLOAD_ENABLED
      See Also:
  • Constructor Details

    • UploadAction

      public UploadAction()
      Constructs a new UploadAction.
  • Method Details