Changeset 10008 in josm for trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
- Timestamp:
- 2016-03-18T00:56:54+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
r9978 r10008 581 581 return 0; 582 582 } 583 584 /** 585 * Gets the strategy that specifies where this layer should be inserted in a layer list. 586 * @return That strategy. 587 * @since 10008 588 */ 589 public LayerPositionStrategy getDefaultLayerPosition() { 590 if (isBackgroundLayer()) { 591 return LayerPositionStrategy.BEFORE_FIRST_BACKGROUND_LAYER; 592 } else { 593 return LayerPositionStrategy.AFTER_LAST_VALIDATION_LAYER; 594 } 595 } 583 596 }
Note:
See TracChangeset
for help on using the changeset viewer.