Changeset 13272 in josm


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

see #15713 - rename dirty mode

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/maps.xsd

    r13266 r13272  
    701701                            <!-- does imagery server supports JOSM 4326 to 3857 reprojection and non-square queries. Affects showing warnings. -->
    702702                            <xs:element name="epsg4326to3857Supported" minOccurs="0" maxOccurs="1" type="xs:boolean" />
    703                             <!-- does imagery server supports tile re-rendering using "/dirty". Defaults to false. -->
    704                             <xs:element name="dirty-mode" minOccurs="0" maxOccurs="1" type="xs:boolean" />
     703                            <!-- does imagery server supports "/status" and tile re-rendering using "/dirty". Defaults to false. -->
     704                            <xs:element name="mod-tile-features" minOccurs="0" maxOccurs="1" type="xs:boolean" />
    705705                        </xs:choice>
    706706                    </xs:sequence>
  • 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.