Changeset 5903 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2013-04-25T17:57:04+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MultiSplitLayout.java
r5874 r5903 944 944 * @return the Node that comes after this one in the parent's list of children. 945 945 * @see #previousSibling 946 * @see # getParent946 * @see #parent_get 947 947 */ 948 948 public Node nextSibling() { … … 957 957 * @return the Node that comes before this one in the parent's list of children. 958 958 * @see #nextSibling 959 * @see # getParent959 * @see #parent_get 960 960 */ 961 961 public Node previousSibling() { -
trunk/src/org/openstreetmap/josm/gui/NameFormatterHook.java
r4209 r5903 30 30 * @return The corrected format if needed, null otherwise. 31 31 */ 32 public String checkFormat(IWay node, String defaultName);32 public String checkFormat(IWay way, String defaultName); 33 33 34 34 /** … … 38 38 * @return The corrected format if needed, null otherwise. 39 39 */ 40 public String checkFormat(IRelation node, String defaultName);40 public String checkFormat(IRelation relation, String defaultName); 41 41 } -
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r5870 r5903 347 347 * Zoom to the given coordinate. 348 348 * @param newCenter The center x-value (easting) to zoom to. 349 * @param scale The scale to use.349 * @param newScale The scale to use. 350 350 */ 351 351 public void zoomTo(EastNorth newCenter, double newScale) { … … 396 396 * Zoom to the given coordinate without adding to the zoom undo buffer. 397 397 * @param newCenter The center x-value (easting) to zoom to. 398 * @param scale The scale to use.398 * @param newScale The scale to use. 399 399 */ 400 400 private void zoomNoUndoTo(EastNorth newCenter, double newScale) { … … 929 929 * @return The nearest way to point p, 930 930 * prefer a selected way if there are multiple nearest. 931 * @see #getNearestWaySegment(Point, Collection,Predicate)931 * @see #getNearestWaySegment(Point, Predicate) 932 932 * 933 933 * @param p the point for which to search the nearest segment. … … 985 985 * 986 986 * @return Primitives nearest to the given screen point. 987 * @see #getNearest s(Point, Collection, Predicate)987 * @see #getNearestNodesOrWays(Point, Collection, Predicate) 988 988 * 989 989 * @param p The point on screen. … … 1035 1035 * @return A primitive within snap-distance to point p, 1036 1036 * that is chosen by the algorithm described. 1037 * @see getNearestNode(Point, Predicate)1038 * @see getNearestNodesImpl(Point, Predicate)1039 * @see getNearestWay(Point, Predicate)1037 * @see #getNearestNode(Point, Predicate) 1038 * @see #getNearestNodesImpl(Point, Predicate) 1039 * @see #getNearestWay(Point, Predicate) 1040 1040 * 1041 1041 * @param p The point on screen. -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/ComparePairType.java
r5266 r5903 13 13 14 14 /** 15 * compare my version of an {@link OsmPrimitive} with their version15 * compare my version of an {@link org.openstreetmap.josm.data.osm.OsmPrimitive} with their version 16 16 */ 17 17 MY_WITH_THEIR (tr("My with Their"), new ListRole[] {MY_ENTRIES, THEIR_ENTRIES}), 18 18 19 19 /** 20 * compare my version of an {@link OsmPrimitive} with the merged version20 * compare my version of an {@link org.openstreetmap.josm.data.osm.OsmPrimitive} with the merged version 21 21 */ 22 22 MY_WITH_MERGED (tr("My with Merged"), new ListRole[] {MY_ENTRIES, MERGED_ENTRIES}), 23 23 24 24 /** 25 * compare their version of an {@link OsmPrimitive} with the merged veresion25 * compare their version of an {@link org.openstreetmap.josm.data.osm.OsmPrimitive} with the merged veresion 26 26 */ 27 27 THEIR_WITH_MERGED(tr("Their with Merged"), new ListRole[] {THEIR_ENTRIES, MERGED_ENTRIES}); -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/ConflictResolver.java
r5297 r5903 163 163 /** 164 164 * handles property change events 165 * @param evt the event 166 * @see TagMergeModel 167 * @see ListMergeModel 168 * @see PropertiesMergeModel 165 169 */ 166 170 public void propertyChange(PropertyChangeEvent evt) { … … 223 227 * populates the conflict resolver with the conflicts between my and their 224 228 * 225 * @param my my primitive (i.e. the primitive in the local dataset) 226 * @param their their primitive (i.e. the primitive in the server dataset) 227 * 229 * @param conflict the conflict data set 228 230 */ 229 231 public void populate(Conflict<? extends OsmPrimitive> conflict) { -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMergeModel.java
r5335 r5903 55 55 * A ListMergeModel can be ''frozen''. If it's frozen, it doesn't accept additional merge 56 56 * decisions. {@link PropertyChangeListener}s can register for property value changes of 57 * {@link # PROP_FROZEN}.57 * {@link #FROZEN_PROP}. 58 58 * 59 59 * ListMergeModel is an abstract class. Three methods have to be implemented by subclasses: 60 60 * <ul> 61 * <li>{@link ListMergeModel#cloneEntryForMergedList (Object)} - clones an entry of type T</li>62 * <li>{@link ListMergeModel#isEqualEntry (Object, Object)} - checks whether two entries are equals </li>61 * <li>{@link ListMergeModel#cloneEntryForMergedList} - clones an entry of type T</li> 62 * <li>{@link ListMergeModel#isEqualEntry} - checks whether two entries are equals </li> 63 63 * <li>{@link ListMergeModel#setValueAt(DefaultTableModel, Object, int, int)} - handles values edited in 64 64 * a JTable, dispatched from {@link TableModel#setValueAt(Object, int, int)} </li> … … 586 586 * From the point of view of the {@link JTable} it is a {@link TableModel}. 587 587 * 588 * @param <T>589 588 * @see ListMergeModel#getMyTableModel() 590 589 * @see ListMergeModel#getTheirTableModel() -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/nodes/NodeListMergeModel.java
r5298 r5903 52 52 * Builds the command to resolve conflicts in the node list of a way 53 53 * 54 * @param my my way. Must not be null. 55 * @param their their way. Must not be null 54 * @param conflict the conflict data set 56 55 * @return the command 57 56 * @exception IllegalStateException thrown, if the merge is not yet frozen -
trunk/src/org/openstreetmap/josm/gui/dialogs/FilterDialog.java
r5496 r5903 279 279 280 280 /** 281 * 282 * @param primitive 283 * @return List of primitives whose filtering can be affected by change in primitive281 * Returns the list of primitives whose filtering can be affected by change in primitive 282 * @param primitives list of primitives to check 283 * @return List of primitives whose filtering can be affected by change in source primitives 284 284 */ 285 285 private Collection<OsmPrimitive> getAffectedPrimitives(Collection<? extends OsmPrimitive> primitives) { -
trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
r5825 r5903 464 464 * Replies the history of JOSM selections 465 465 * 466 * @return 466 * @return history of JOSM selections 467 467 */ 468 468 public List<Collection<? extends OsmPrimitive>> getSelectionHistory() { … … 484 484 * of this model 485 485 * 486 * @return 486 * @return choosen elements in the view 487 487 */ 488 488 public Collection<OsmPrimitive> getSelected() { … … 500 500 * of this model 501 501 * 502 * @return 502 * @return complete content of the view 503 503 */ 504 504 public Collection<OsmPrimitive> getAllElements() { -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheManager.java
r5890 r5903 209 209 * in the changeset table. 210 210 * 211 * @return 211 * @return changset actions panel 212 212 */ 213 213 protected JPanel buildChangesetTableActionPanel() { … … 607 607 * respective changesets are already present in the local changeset cache. 608 608 * 609 * @param ids the collection of changesets. If null, the selection is cleared. 609 * @param changesets the collection of changesets. If {@code null}, the 610 * selection is cleared. 610 611 */ 611 612 public void setSelectedChangesets(Collection<Changeset> changesets) { -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentDownloadTask.java
r5266 r5903 87 87 * Creates a download task for a single changeset 88 88 * 89 * @param parent the parent component for the {@link PleaseWaitDialog}. Must not be null.90 * @param changesetId the changeset id. >0required.91 * @throws IllegalArgumentException thrown if changesetId <= 092 * @throws IllegalArgumentException thrown if parent is null89 * @param parent the parent component for the {@link org.openstreetmap.josm.gui.PleaseWaitDialog}. Must not be {@code null}. 90 * @param changesetId the changeset id. {@code >0} required. 91 * @throws IllegalArgumentException thrown if {@code changesetId <= 0} 92 * @throws IllegalArgumentException thrown if parent is {@code null} 93 93 */ 94 94 public ChangesetContentDownloadTask(Component parent, int changesetId) throws IllegalArgumentException{ … … 103 103 * the collection are sillently discarded. 104 104 * 105 * @param parent the parent component for the {@link PleaseWaitDialog}. Must not be null.106 * @param changesetIds the changeset ids. Empty collection assumed, if null.107 * @throws IllegalArgumentException thrown if parent is null105 * @param parent the parent component for the {@link org.openstreetmap.josm.gui.PleaseWaitDialog}. Must not be {@code null}. 106 * @param changesetIds the changeset ids. Empty collection assumed, if {@code null}. 107 * @throws IllegalArgumentException thrown if parent is {@code null} 108 108 */ 109 109 public ChangesetContentDownloadTask(Component parent, Collection<Integer> changesetIds) throws IllegalArgumentException { -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetHeaderDownloadTask.java
r5266 r5903 53 53 * Ignores null values and changesets with {@link Changeset#isNew()} == true. 54 54 * 55 * @param parent the parent component relative to which the {@link PleaseWaitDialog} is displayed.55 * @param parent the parent component relative to which the {@link org.openstreetmap.josm.gui.PleaseWaitDialog} is displayed. 56 56 * Must not be null. 57 57 * @param changesets the collection of changesets. Assumes an empty collection if null. … … 101 101 102 102 /** 103 * Creates the download task for a collection of changeset ids. Uses a {@link PleaseWaitDialog}103 * Creates the download task for a collection of changeset ids. Uses a {@link org.openstreetmap.josm.gui.PleaseWaitDialog} 104 104 * whose parent is {@link Main#parent}. 105 105 * … … 115 115 116 116 /** 117 * Creates the download task for a collection of changeset ids. Uses a {@link PleaseWaitDialog}117 * Creates the download task for a collection of changeset ids. Uses a {@link org.openstreetmap.josm.gui.PleaseWaitDialog} 118 118 * whose parent is the parent window of <code>dialogParent</code>. 119 119 * 120 120 * Null ids or or ids <= 0 in the id collection are ignored. 121 121 * 122 * @param dialogParent the parent reference component for the {@link PleaseWaitDialog}. Must not be null.122 * @param dialogParent the parent reference component for the {@link org.openstreetmap.josm.gui.PleaseWaitDialog}. Must not be null. 123 123 * @param ids the collection of ids. Empty collection assumed if null. 124 124 * @throws IllegalArgumentException thrown if dialogParent is null -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/query/ChangesetQueryTask.java
r5890 r5903 65 65 * Creates the task. 66 66 * 67 * @param parent the parent component relative to which the {@link PleaseWaitDialog} is displayed.67 * @param parent the parent component relative to which the {@link org.openstreetmap.josm.gui.PleaseWaitDialog} is displayed. 68 68 * Must not be null. 69 69 * @param query the query to submit to the OSM server. Must not be null. -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java
r5724 r5903 429 429 * builds the panel with the table displaying the currently selected primitives 430 430 * 431 * @return 431 * @return panel with current selection 432 432 */ 433 433 protected JPanel buildSelectionTablePanel() { … … 466 466 * build the panel with the buttons on the left 467 467 * 468 * @return 468 * @return left button panel 469 469 */ 470 470 protected JToolBar buildLeftButtonPanel() { … … 535 535 * build the panel with the buttons for adding or removing the current selection 536 536 * 537 * @return 537 * @return control buttons panel for selection/members 538 538 */ 539 539 protected JToolBar buildSelectionControlButtonPanel() {
Note:
See TracChangeset
for help on using the changeset viewer.