Package org.openstreetmap.josm.gui.io
Interface IUploadDialog
-
- All Known Implementing Classes:
AbstractUploadDialog
,UploadDialog
public interface IUploadDialog
Upload dialog super interface.- Since:
- 9685
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getTags(boolean keepEmpty)
Replies the map with the current tags in the tag editor model.java.lang.String
getUploadComment()
Returns the current value for the upload commentjava.lang.String
getUploadSource()
Returns the current value for the changeset sourceUploadStrategySpecification
getUploadStrategySpecification()
Replies theUploadStrategySpecification
the user entered in the dialog.void
handleIllegalChunkSize()
Handles illegal chunk size.void
handleMissingComment()
Handles missing comment.void
handleMissingSource()
Handles missing source.boolean
isCanceled()
Returns true if the dialog was canceledvoid
rememberUserInput()
Remembers the user input in the preference settings
-
-
-
Method Detail
-
isCanceled
boolean isCanceled()
Returns true if the dialog was canceled- Returns:
- true if the dialog was canceled
-
rememberUserInput
void rememberUserInput()
Remembers the user input in the preference settings
-
getUploadComment
java.lang.String getUploadComment()
Returns the current value for the upload comment- Returns:
- the current value for the upload comment
-
getUploadSource
java.lang.String getUploadSource()
Returns the current value for the changeset source- Returns:
- the current value for the changeset source
-
getUploadStrategySpecification
UploadStrategySpecification getUploadStrategySpecification()
Replies theUploadStrategySpecification
the user entered in the dialog.- Returns:
- the
UploadStrategySpecification
the user entered in the dialog.
-
getTags
java.util.Map<java.lang.String,java.lang.String> getTags(boolean keepEmpty)
Replies the map with the current tags in the tag editor model.- Parameters:
keepEmpty
-true
to keep empty tags- Returns:
- the map with the current tags in the tag editor model.
-
handleMissingComment
void handleMissingComment()
Handles missing comment.
-
handleMissingSource
void handleMissingSource()
Handles missing source.
-
handleIllegalChunkSize
void handleIllegalChunkSize()
Handles illegal chunk size.
-
-