Changeset 12660 in josm
- Timestamp:
- 2017-08-26T00:58:40+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/conflict/tags
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/tags/PasteTagsConflictResolverDialog.java
r11772 r12660 44 44 import org.openstreetmap.josm.tools.WindowGeometry; 45 45 46 /** 47 * This conflict resolution dialog is used when tags are pasted from the clipboard that conflict with the existing ones. 48 */ 46 49 public class PasteTagsConflictResolverDialog extends JDialog implements PropertyChangeListener { 47 50 static final Map<OsmPrimitiveType, String> PANE_TITLES; -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictDecision.java
r11553 r12660 13 13 import org.openstreetmap.josm.tools.CheckParameterUtil; 14 14 15 /** 16 * This class stores the decision the user made regarding a relation member conflict 17 */ 15 18 public class RelationMemberConflictDecision { 16 19 -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictDecisionRenderer.java
r9078 r12660 14 14 import org.openstreetmap.josm.gui.widgets.JosmComboBox; 15 15 16 /** 17 * This class renders {@link RelationMemberConflictDecisionType} entries of a list/table 18 */ 16 19 public class RelationMemberConflictDecisionRenderer extends JLabel 17 20 implements TableCellRenderer, ListCellRenderer<RelationMemberConflictDecisionType> { -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictDecisionType.java
r6883 r12660 6 6 import javax.swing.JLabel; 7 7 8 /** 9 * This represents the decision a user can make regarding a relation conflict 10 */ 8 11 public enum RelationMemberConflictDecisionType { 9 12 /** … … 23 26 UNDECIDED; 24 27 28 /** 29 * Sets the label according to the current decision. 30 * @param decision The decision 31 * @param label The label to set 32 */ 25 33 public static void prepareLabel(RelationMemberConflictDecisionType decision, JLabel label) { 26 34 switch(decision) { -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolver.java
r12636 r12660 39 39 import org.openstreetmap.josm.tools.ImageProvider; 40 40 41 /** 42 * This component presents the user with the ability to resolve a relation member conflict 43 * @see RelationMemberConflictResolverModel 44 */ 41 45 public class RelationMemberConflictResolver extends JPanel { 42 46 -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolverColumnModel.java
r11350 r12660 14 14 import org.openstreetmap.josm.gui.OsmPrimitivRenderer; 15 15 import org.openstreetmap.josm.gui.conflict.ConflictColors; 16 import org.openstreetmap.josm.gui.conflict.pair.relation.RelationMemberTable; 16 17 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletingTextField; 17 18 19 /** 20 * This class defines the columns of a {@link RelationMemberTable} 21 */ 18 22 public class RelationMemberConflictResolverColumnModel extends DefaultTableColumnModel { 19 23 -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolverTable.java
r8510 r12660 13 13 import org.openstreetmap.josm.gui.widgets.JosmComboBox; 14 14 15 /** 16 * The main table displayed in the {@link RelationMemberConflictResolver} 17 * 18 * @see RelationMemberConflictResolverColumnModel 19 */ 15 20 public class RelationMemberConflictResolverTable extends JTable implements MultiValueCellEditor.NavigationListener { 16 21 -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolverModel.java
r11627 r12660 17 17 import org.openstreetmap.josm.tools.CheckParameterUtil; 18 18 19 /** 20 * This model holds the information about tags that are currently conflicting and the decision of the user regarding them. 21 */ 19 22 public class TagConflictResolverModel extends DefaultTableModel { 20 23 public static final String NUM_CONFLICTS_PROP = TagConflictResolverModel.class.getName() + ".numConflicts"; -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolverTable.java
r9847 r12660 11 11 import org.openstreetmap.josm.gui.widgets.JosmTable; 12 12 13 /** 14 * This table presents the tags that are conflicting to the user. 15 */ 13 16 public class TagConflictResolverTable extends JosmTable implements MultiValueCellEditor.NavigationListener { 14 17
Note:
See TracChangeset
for help on using the changeset viewer.