Changeset 13811 in josm for trunk


Ignore:
Timestamp:
2018-05-21T21:29:40+02:00 (13 months ago)
Author:
Don-vip
Message:

javadoc

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  
    632632         * @param e MapCSS environment
    633633         * @return {@code true} if the object has been modified
    634          * @see OsmPrimitive#isModified()
     634         * @see IPrimitive#isModified()
    635635         */
    636636        static boolean modified(Environment e) { // NO_UCD (unused code)
     
    642642         * @param e MapCSS environment
    643643         * @return {@code true} if the object is new
    644          * @see OsmPrimitive#isNew()
     644         * @see IPrimitive#isNew()
    645645         */
    646646        static boolean _new(Environment e) { // NO_UCD (unused code)
     
    662662         * @param e MapCSS environment
    663663         * @return {@code true} if the object is tagged
    664          * @see OsmPrimitive#isTagged()
     664         * @see IPrimitive#isTagged()
    665665         */
    666666        static boolean tagged(Environment e) { // NO_UCD (unused code)
     
    672672         * @param e MapCSS environment
    673673         * @return {@code true} if the object has the same tags as its child/parent
    674          * @see OsmPrimitive#hasSameInterestingTags(OsmPrimitive)
     674         * @see IPrimitive#hasSameInterestingTags(IPrimitive)
    675675         */
    676676        static boolean sameTags(Environment e) { // NO_UCD (unused code)
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java

    r13810 r13811  
    2727import org.openstreetmap.josm.data.osm.IPrimitive;
    2828import org.openstreetmap.josm.data.osm.Node;
    29 import org.openstreetmap.josm.data.osm.OsmPrimitive;
    3029import org.openstreetmap.josm.data.osm.Way;
    3130import org.openstreetmap.josm.data.osm.search.SearchCompiler;
     
    514513         * @param env the environment
    515514         * @return the OSM id of the object's parent, if available, or {@code null}
    516          * @see OsmPrimitive#getUniqueId()
     515         * @see IPrimitive#getUniqueId()
    517516         */
    518517        public static Long parent_osm_id(final Environment env) { // NO_UCD (unused code)
     
    789788         * @param env the environment
    790789         * @return the OSM id of the current object
    791          * @see OsmPrimitive#getUniqueId()
     790         * @see IPrimitive#getUniqueId()
    792791         */
    793792        public static long osm_id(final Environment env) { // NO_UCD (unused code)
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java

    r13810 r13811  
    3333import org.openstreetmap.josm.data.osm.KeyValueVisitor;
    3434import org.openstreetmap.josm.data.osm.Node;
    35 import org.openstreetmap.josm.data.osm.OsmPrimitive;
    3635import org.openstreetmap.josm.data.osm.OsmUtils;
    3736import org.openstreetmap.josm.data.osm.Relation;
     
    164163     *
    165164     * 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 over
     165     * {@link #initIndex()}. Afterwards, you can use {@link #getRuleCandidates(IPrimitive)} to get an iterator over
    167166     * all rules that might be applied to that primitive.
    168167     */
Note: See TracChangeset for help on using the changeset viewer.