Ignore:
Timestamp:
2021-05-13T00:19:28+02:00 (4 years ago)
Author:
simon04
Message:

fix #20880 - History browser: show color gutter based on timestamp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/VersionTableModel.java

    r17838 r17890  
    22package org.openstreetmap.josm.gui.history;
    33
     4import java.awt.Color;
    45import java.time.format.FormatStyle;
    56
     
    7879    }
    7980
     81    /**
     82     * Returns the color for the primitive in the given row
     83     * @param row row number
     84     * @return the color for the primitive in the given row
     85     */
     86    public Color getVersionColor(int row) {
     87        return model.getVersionColor(row);
     88    }
     89
    8090    @Override
    8191    public void setValueAt(Object aValue, int row, int column) {
Note: See TracChangeset for help on using the changeset viewer.