source: josm/trunk/src/org/openstreetmap/josm/io/ChangesetProcessingType.java@ 2040

Last change on this file since 2040 was 2040, checked in by Gubaer, 15 years ago

improved upload dialog
new: tags for changesets
new: multiple uploads to the same changeset
fixed #3381: simple imput of a changeset source
fixed #2491: Allow arbitrary key-value pairs in changesets
fixed #2436: Allow multiple uploads to one changeset

File size: 694 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.io;
3
4public enum ChangesetProcessingType {
5 USE_NEW_AND_CLOSE(true, true),
6 USE_NEW_AND_LEAVE_OPEN (true, false),
7 USE_EXISTING_AND_CLOSE (false, true),
8 USE_EXISTING_AND_LEAVE_OPEN (false, false);
9
10 private boolean useNew;
11 private boolean closeAfterUpload;
12
13 private ChangesetProcessingType(boolean useNew, boolean closeAfterUpload) {
14 this.useNew = useNew;
15 this.closeAfterUpload = closeAfterUpload;
16 }
17
18 public boolean isUseNew() {
19 return useNew;
20 }
21
22 public boolean isCloseAfterUpload() {
23 return closeAfterUpload;
24 }
25}
Note: See TracBrowser for help on using the repository browser.