Changeset 13811 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-05-21T21:29:40+02:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionFactory.java
r13810 r13811 632 632 * @param e MapCSS environment 633 633 * @return {@code true} if the object has been modified 634 * @see OsmPrimitive#isModified()634 * @see IPrimitive#isModified() 635 635 */ 636 636 static boolean modified(Environment e) { // NO_UCD (unused code) … … 642 642 * @param e MapCSS environment 643 643 * @return {@code true} if the object is new 644 * @see OsmPrimitive#isNew()644 * @see IPrimitive#isNew() 645 645 */ 646 646 static boolean _new(Environment e) { // NO_UCD (unused code) … … 662 662 * @param e MapCSS environment 663 663 * @return {@code true} if the object is tagged 664 * @see OsmPrimitive#isTagged()664 * @see IPrimitive#isTagged() 665 665 */ 666 666 static boolean tagged(Environment e) { // NO_UCD (unused code) … … 672 672 * @param e MapCSS environment 673 673 * @return {@code true} if the object has the same tags as its child/parent 674 * @see OsmPrimitive#hasSameInterestingTags(OsmPrimitive)674 * @see IPrimitive#hasSameInterestingTags(IPrimitive) 675 675 */ 676 676 static boolean sameTags(Environment e) { // NO_UCD (unused code) -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
r13810 r13811 27 27 import org.openstreetmap.josm.data.osm.IPrimitive; 28 28 import org.openstreetmap.josm.data.osm.Node; 29 import org.openstreetmap.josm.data.osm.OsmPrimitive;30 29 import org.openstreetmap.josm.data.osm.Way; 31 30 import org.openstreetmap.josm.data.osm.search.SearchCompiler; … … 514 513 * @param env the environment 515 514 * @return the OSM id of the object's parent, if available, or {@code null} 516 * @see OsmPrimitive#getUniqueId()515 * @see IPrimitive#getUniqueId() 517 516 */ 518 517 public static Long parent_osm_id(final Environment env) { // NO_UCD (unused code) … … 789 788 * @param env the environment 790 789 * @return the OSM id of the current object 791 * @see OsmPrimitive#getUniqueId()790 * @see IPrimitive#getUniqueId() 792 791 */ 793 792 public static long osm_id(final Environment env) { // NO_UCD (unused code) -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
r13810 r13811 33 33 import org.openstreetmap.josm.data.osm.KeyValueVisitor; 34 34 import org.openstreetmap.josm.data.osm.Node; 35 import org.openstreetmap.josm.data.osm.OsmPrimitive;36 35 import org.openstreetmap.josm.data.osm.OsmUtils; 37 36 import org.openstreetmap.josm.data.osm.Relation; … … 164 163 * 165 164 * To use this index, you need to {@link #add(MapCSSRule)} all rules to it. You then need to call 166 * {@link #initIndex()}. Afterwards, you can use {@link #getRuleCandidates( OsmPrimitive)} to get an iterator over165 * {@link #initIndex()}. Afterwards, you can use {@link #getRuleCandidates(IPrimitive)} to get an iterator over 167 166 * all rules that might be applied to that primitive. 168 167 */
Note:
See TracChangeset
for help on using the changeset viewer.