Uses of Class
org.openstreetmap.josm.tools.UserCancelException
-
Packages that use UserCancelException Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.actions.corrector Provides the classes for JOSMtag correctors.org.openstreetmap.josm.gui.conflict.tags Provides the classes for resolving conflicts between OSM tags.org.openstreetmap.josm.gui.dialogs Provides three kinds of dialogs: Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI Changeset dialog based on a standalone implementation, dedicated to OSM changesets management Extended dialogs for everything elseorg.openstreetmap.josm.gui.oauth Provides GUI classes for handling OAuth authentication to OSM API. -
-
Uses of UserCancelException in org.openstreetmap.josm.actions
Methods in org.openstreetmap.josm.actions that throw UserCancelException Modifier and Type Method Description protected voidUnGlueAction. checkAndConfirmOutlyingUnglue()static Pair<Way,Command>CombineWayAction. combineWaysWorker(java.util.Collection<Way> ways)Combine multiple ways into one.protected booleanSessionSaveAction. doGetFile(boolean saveAs, boolean zipRequired)Sets the current session file.protected voidSessionSaveAction. doGetFileChooser(boolean zipRequired)private JoinAreasAction.JoinAreasResultJoinAreasAction. joinAreas(java.util.List<JoinAreasAction.Multipolygon> areas)Will join two or more overlapping areasprivate WayJoinAreasAction. joinOrientedWays(java.util.List<JoinAreasAction.WayInPolygon> ways)Joins a list of ways (using CombineWayAction and ReverseWayAction as specified in WayInPath)private JoinAreasAction.MultipolygonJoinAreasAction. joinPolygon(JoinAreasAction.AssembledMultipolygon polygon)Joins the lists of ways.private WayJoinAreasAction. joinWays(java.util.List<JoinAreasAction.WayInPolygon> ways)Joins the outer ways and deletes all short ways that can't be part of a multipolygon anyway.static ReverseWayAction.ReverseWayResultReverseWayAction. reverseWay(Way w)Reverses a given way.booleanSessionSaveAction. saveSession(boolean saveAs, boolean forceSaveAll)Attempts to save the session.private booleanSessionSaveAction. saveSessionImpl(boolean saveAs, boolean forceSaveAll)protected voidUnGlueAction. unglue()private voidUnGlueAction. unglueOneWayAnyNodes()dupe all nodes that are selected, and put the copies on the selected wayprivate voidUnGlueAction. unglueWays()dupe a single node into as many nodes as there are ways using it, OR dupe a single node once, and put the copy on the selected wayprivate static voidSessionSaveAction. updateSessionFile(java.lang.String fileName)Update the session file -
Uses of UserCancelException in org.openstreetmap.josm.actions.corrector
Methods in org.openstreetmap.josm.actions.corrector that throw UserCancelException Modifier and Type Method Description protected java.util.Collection<Command>TagCorrector. applyCorrections(DataSet dataSet, java.util.Map<OsmPrimitive,java.util.List<TagCorrection>> tagCorrectionsMap, java.util.Map<OsmPrimitive,java.util.List<RoleCorrection>> roleCorrectionMap, java.lang.String description)Creates the commands to correct the tags.static voidReverseWayNoTagCorrector. checkAndConfirmReverseWay(Way way)Checks the given way can be safely reversed and asks user to confirm the operation if it not the case.java.util.Collection<Command>ReverseWayTagCorrector. execute(Way oldway, Way way)abstract java.util.Collection<Command>TagCorrector. execute(P oldprimitive, P primitive)Executes the tag correction. -
Uses of UserCancelException in org.openstreetmap.josm.gui.conflict.tags
Methods in org.openstreetmap.josm.gui.conflict.tags that throw UserCancelException Modifier and Type Method Description protected static voidCombinePrimitiveResolverDialog. informAboutRelationMembershipConflicts(java.util.Collection<? extends OsmPrimitive> primitives, java.util.Set<Relation> parentRelations)Inform a non-expert user about what relation membership conflict resolution means.protected static voidCombinePrimitiveResolverDialog. informAboutTagConflicts(java.util.Collection<? extends OsmPrimitive> primitives, TagCollection normalizedTags)Inform a non-expert user about what tag conflict resolution means.static java.util.List<Command>CombinePrimitiveResolverDialog. launchIfNecessary(TagCollection tagsOfPrimitives, java.util.Collection<? extends OsmPrimitive> primitives, java.util.Collection<? extends OsmPrimitive> targetPrimitives)Replies the list ofcommandsneeded to resolve specified conflicts, by displaying if necessary aCombinePrimitiveResolverDialogto the user. -
Uses of UserCancelException in org.openstreetmap.josm.gui.dialogs
Methods in org.openstreetmap.josm.gui.dialogs that throw UserCancelException Modifier and Type Method Description static PropertiesMembershipChoiceDialogPropertiesMembershipChoiceDialog. showIfNecessary(java.util.Collection<Node> selectedNodes, boolean preselectNew)Creates and shows a newPropertiesMembershipChoiceDialogif necessary. -
Uses of UserCancelException in org.openstreetmap.josm.gui.oauth
Methods in org.openstreetmap.josm.gui.oauth that throw UserCancelException Modifier and Type Method Description voidOAuthAuthorizationWizard. showDialog(java.util.function.Consumer<java.util.Optional<IOAuthToken>> callback)Launches the wizard,OAuthAccessTokenHolder.setAccessToken(String, IOAuthToken)sets the token andsaves to preferences.
-