Changeset 13272 in josm for trunk/src


Ignore:
Timestamp:
2018-01-02T14:28:20+01:00 (2 years ago)
Author:
stoecker
Message:

see #15713 - rename dirty mode

Location:
trunk/src/org/openstreetmap/josm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java

    r13267 r13272  
    514514                Objects.equals(this.id, other.id) &&
    515515                Objects.equals(this.url, other.url) &&
    516                 Objects.equals(this.dirtyMode, other.dirtyMode) &&
     516                Objects.equals(this.modTileFeatures, other.modTileFeatures) &&
    517517                Objects.equals(this.bestMarked, other.bestMarked) &&
    518518                Objects.equals(this.isGeoreferenceValid, other.isGeoreferenceValid) &&
  • trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java

    r13266 r13272  
    616616            add(new JMenuItem(new LoadTileAction()));
    617617            add(new JMenuItem(new ShowTileInfoAction()));
    618             if (ExpertToggleAction.isExpert() && tileSource != null && tileSource.isDirtyMode()) {
     618            if (ExpertToggleAction.isExpert() && tileSource != null && tileSource.isModTileFeatures()) {
    619619                add(new JMenuItem(new GetOsmTileStatusAction()));
    620620                add(new JMenuItem(new MarkOsmTileDirtyAction()));
  • trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java

    r13266 r13272  
    208208                        TILE_SIZE,
    209209                        "valid-georeference",
    210                         "dirty-mode"
     210                        "mod-tile-features"
    211211                ).contains(qName)) {
    212212                    newState = State.ENTRY_ATTRIBUTE;
     
    472472                    entry.setGeoreferenceValid(Boolean.parseBoolean(accumulator.toString()));
    473473                    break;
    474                 case "dirty-mode":
    475                     entry.setDirtyMode(Boolean.parseBoolean(accumulator.toString()));
     474                case "mod-tile-features":
     475                    entry.setModTileFeatures(Boolean.parseBoolean(accumulator.toString()));
    476476                    break;
    477477                default: // Do nothing
Note: See TracChangeset for help on using the changeset viewer.