Package org.openstreetmap.josm.io

Examples of org.openstreetmap.josm.io.ChangesetClosedException


                            .setIcon(ImageProvider.get("misc", "check_large"))
                            .show();
                    return;
                }
                if (lastException instanceof ChangesetClosedException) {
                    ChangesetClosedException e = (ChangesetClosedException)lastException;
                    if (e.getSource().equals(ChangesetClosedException.Source.UPDATE_CHANGESET)) {
                        handleFailedUpload(lastException);
                        return;
                    }
                    if (strategy.getPolicy() == null)
                        /* do nothing if unknown policy */
                        return;
                    if (e.getSource().equals(ChangesetClosedException.Source.UPLOAD_DATA)) {
                        switch(strategy.getPolicy()) {
                        case ABORT:
                            break; /* do nothing - we return to map editing */
                        case AUTOMATICALLY_OPEN_NEW_CHANGESETS:
                            break; /* do nothing - we return to map editing */
 
View Full Code Here

TOP

Related Classes of org.openstreetmap.josm.io.ChangesetClosedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.