- Timestamp:
- 2015-12-13T18:22:02+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Filter.java
r8840 r9113 8 8 9 9 /** 10 * 10 * Data class representing one entry in the filter dialog. 11 * 11 12 * @author Petr_Dlouhý 12 13 */ -
trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java
r7509 r9113 9 9 10 10 /** 11 * 11 * Class for applying {@link Filter}s to {@link OsmPrimitive}s. 12 * 13 * Provides a bridge between Filter GUI and the data. 14 * 12 15 * @author Petr_Dlouhý 13 16 */ … … 58 61 } 59 62 63 /** 64 * Apply the filters to a single primitive. 65 * 66 * @param primitive the primitive 67 * @param filterMatcher the FilterMatcher 68 * @return true, if the filter state (normal / disabled / hidden) 69 * of the primitive has changed in the process 70 */ 60 71 public static boolean executeFilters(OsmPrimitive primitive, FilterMatcher filterMatcher) { 61 72 return doExecuteFilters(Collections.singleton(primitive), filterMatcher); 62 73 } 63 74 75 /** 76 * Clear all filter flags, i.e. turn off filters. 77 * @param prims the primitives 78 */ 64 79 public static void clearFilterFlags(Collection<OsmPrimitive> prims) { 65 80 for (OsmPrimitive osm : prims) {
Note:
See TracChangeset
for help on using the changeset viewer.