- Timestamp:
- 2017-08-26T01:08:10+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/conflict/pair
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/pair/AbstractListMergeModel.java
r12620 r12661 75 75 * @param <C> the type of conflict resolution command 76 76 * @see AbstractListMerger 77 * @see PairTable For the table displaying this model 77 78 */ 78 79 public abstract class AbstractListMergeModel<T extends PrimitiveId, C extends ConflictResolveCommand> extends ChangeNotifier { -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/ComparePairListCellRenderer.java
r7001 r12661 10 10 import org.openstreetmap.josm.gui.conflict.ConflictColors; 11 11 12 /** 13 * This {@link ListCellRenderer} renders the value of a {@link ComparePairType} 14 */ 12 15 public class ComparePairListCellRenderer extends JLabel implements ListCellRenderer<ComparePairType> { 13 16 -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/IConflictResolver.java
r9440 r12661 4 4 import org.openstreetmap.josm.data.conflict.Conflict; 5 5 import org.openstreetmap.josm.data.osm.OsmPrimitive; 6 import org.openstreetmap.josm.gui.dialogs.ConflictDialog; 6 7 8 /** 9 * The conflict resolver receives the result of a {@link ConflictDialog}. It should then apply the resulution the user selected. 10 */ 7 11 public interface IConflictResolver { 8 12 -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/MergeDecisionType.java
r3083 r12661 2 2 package org.openstreetmap.josm.gui.conflict.pair; 3 3 4 import org.openstreetmap.josm.gui.conflict.tags.RelationMemberConflictDecisionType; 5 6 /** 7 * This is the merge decision for a primitive. 8 * 9 * @see RelationMemberConflictDecisionType the same for relation members 10 */ 4 11 public enum MergeDecisionType { 5 12 KEEP_MINE, -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/PairTable.java
r11330 r12661 13 13 import org.openstreetmap.josm.gui.widgets.OsmPrimitivesTableModel; 14 14 15 /** 16 * This is the base class for all tables that display an {@link AbstractListMergeModel}. 17 */ 15 18 public abstract class PairTable extends OsmPrimitivesTable { 16 19 -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/MergedTableCellRenderer.java
r8513 r12661 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import javax.swing.table.TableCellRenderer; 7 6 8 import org.openstreetmap.josm.gui.conflict.ConflictColors; 7 9 import org.openstreetmap.josm.gui.conflict.pair.MergeDecisionType; 8 10 11 /** 12 * This {@link TableCellRenderer} displays the decision a user made regarding a tag conflict 13 */ 9 14 public class MergedTableCellRenderer extends TagMergeTableCellRenderer { 10 15 protected void setBackgroundColor(TagMergeItem item, boolean isSelected) { -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/MineTableCellRenderer.java
r8510 r12661 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import javax.swing.table.TableCellRenderer; 7 6 8 import org.openstreetmap.josm.gui.conflict.ConflictColors; 7 9 import org.openstreetmap.josm.gui.conflict.pair.MergeDecisionType; 8 10 11 /** 12 * This {@link TableCellRenderer} renders the mine side of the tag conflict table. 13 */ 9 14 public class MineTableCellRenderer extends TagMergeTableCellRenderer { 10 15 -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/TagMergeTableCellRenderer.java
r8510 r12661 11 11 import org.openstreetmap.josm.gui.conflict.ConflictColors; 12 12 13 /** 14 * This is the base class for all cells in the {@link TagMerger}. 15 */ 13 16 public abstract class TagMergeTableCellRenderer extends JLabel implements TableCellRenderer { 14 17 -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/TheirTableCellRenderer.java
r8510 r12661 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import javax.swing.table.TableCellRenderer; 7 6 8 import org.openstreetmap.josm.gui.conflict.ConflictColors; 7 9 import org.openstreetmap.josm.gui.conflict.pair.MergeDecisionType; 8 10 11 /** 12 * This {@link TableCellRenderer} renders the theirs side of the tag conflict table. 13 */ 9 14 public class TheirTableCellRenderer extends TagMergeTableCellRenderer { 10 15
Note:
See TracChangeset
for help on using the changeset viewer.