Package | Description |
---|---|
org.openstreetmap.josm.actions.search |
Provides the classes for JOSM
search action . |
org.openstreetmap.josm.data.gpx |
Provides the classes for JOSM
GPX data (points, tracks, routes). |
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.gui.dialogs |
Provides three kinds of dialogs:
Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI
Changeset dialog based on a standalone implementation, dedicated to OSM changesets management
Extended dialogs for everything else
|
org.openstreetmap.josm.gui.dialogs.properties |
Toggle dialog allowing to display/edit tags and relation memberships of currently selected OSM objects.
|
org.openstreetmap.josm.gui.layer.markerlayer |
Provides classes for handling marker layers.
|
org.openstreetmap.josm.gui.tagging.presets |
Provides classes for handling tagging presets.
|
org.openstreetmap.josm.gui.tagging.presets.items |
Provides classes for handling tagging presets items.
|
org.openstreetmap.josm.gui.widgets |
Provides GUI widgets customized for JOSM needs.
|
org.openstreetmap.josm.tools.template_engine |
Provides classes for a generic template engine used in presets, name rendering and search function.
|
Modifier and Type | Class and Description |
---|---|
static class |
SearchCompiler.AbstractBinaryMatch
A binary search operator which may take data parameters.
|
static class |
SearchCompiler.Always
Matches every OsmPrimitive.
|
static class |
SearchCompiler.And
Matches if both left and right expressions match.
|
private static class |
SearchCompiler.Any
Match a string in any tags (key or value), with optional regex and case insensitivity.
|
private static class |
SearchCompiler.AreaSize
Matches if the size of the area is within the given range
|
private static class |
SearchCompiler.BooleanMatch
Matches if the value of the corresponding key is ''yes'', ''true'', ''1'' or ''on''.
|
private static class |
SearchCompiler.ChangesetId
Matches objects with a changeset ID in the given range.
|
static class |
SearchCompiler.Child
Matches objects if they are children of the expression
|
private static class |
SearchCompiler.Closed
Matches ways which are closed (i.e.
|
static class |
SearchCompiler.ExactKeyValue
Matches objects with the exact given key-value pair.
|
private static class |
SearchCompiler.ExactType |
private static class |
SearchCompiler.HasRole
Matches relations with a member of the given role
|
private static class |
SearchCompiler.Id
Matches objects with ID in the given range.
|
private static class |
SearchCompiler.InArea
Matches objects within the given bounds.
|
private static class |
SearchCompiler.Incomplete
Match objects that are incomplete, where only id and type are known.
|
static class |
SearchCompiler.InDataSourceArea
Matches objects within source area ("downloaded area").
|
private static class |
SearchCompiler.InView
Matches objects within current map view.
|
private static class |
SearchCompiler.KeyValue
Matches objects with the given key-value pair.
|
private static class |
SearchCompiler.Modified
Matches all objects that have been modified, created, or undeleted
|
static class |
SearchCompiler.Never
Never matches any OsmPrimitive.
|
private static class |
SearchCompiler.New
Matches objects that are new (i.e.
|
private static class |
SearchCompiler.NodeCountRange
Matches ways with a number of nodes in given range
|
static class |
SearchCompiler.Not
Inverts the match.
|
static class |
SearchCompiler.NotOutsideDataSourceArea
Matches objects which are not outside the source area ("downloaded area").
|
private static class |
SearchCompiler.Nth
Matches the n-th object of a relation and/or the n-th node of a way.
|
static class |
SearchCompiler.Or
Matches if the left OR the right expression match.
|
static class |
SearchCompiler.Parent
Matches objects if they are parents of the expression
|
private static class |
SearchCompiler.RangeMatch
Matches objects with properties in a certain range.
|
private static class |
SearchCompiler.RoleMatch
Matches objects with the given relation role (i.e.
|
private static class |
SearchCompiler.Selected
Matches all objects currently selected
|
private static class |
SearchCompiler.TagCountRange
Matches objects with a number of tags in given range
|
static class |
SearchCompiler.TaggedMatch |
private static class |
SearchCompiler.TimestampRange
Matches objects with a timestamp in given range
|
static class |
SearchCompiler.UnaryMatch
A unary search operator which may take data parameters.
|
private static class |
SearchCompiler.Untagged
Matches objects that don't have any interesting tags (i.e.
|
private static class |
SearchCompiler.UserMatch
Matches objects last changed by the given username.
|
static class |
SearchCompiler.ValueComparison |
private static class |
SearchCompiler.Version
Matches objects with a version number in the given range.
|
private static class |
SearchCompiler.WayCountRange
Matches objects with the number of referring/contained ways in the given range
|
private static class |
SearchCompiler.WayLength
Matches if the length of a way is within the given range
|
static class |
SearchCompiler.Xor
Matches if the left OR the right expression match, but not both.
|
Modifier and Type | Field and Description |
---|---|
protected SearchCompiler.Match |
SearchCompiler.AbstractBinaryMatch.lhs |
protected SearchCompiler.Match |
SearchCompiler.UnaryMatch.match |
protected SearchCompiler.Match |
SearchCompiler.AbstractBinaryMatch.rhs |
Modifier and Type | Method and Description |
---|---|
static SearchCompiler.Match |
SearchCompiler.compile(SearchAction.SearchSetting setting)
Compiles the search expression.
|
static SearchCompiler.Match |
SearchCompiler.compile(java.lang.String searchStr)
Compiles the search expression.
|
(package private) static SearchCompiler.Match |
SearchCompiler.compileMapCSS(java.lang.String mapCSS) |
SearchCompiler.Match |
SearchCompiler.CoreSimpleMatchFactory.get(java.lang.String keyword,
PushbackTokenizer tokenizer) |
SearchCompiler.Match |
SearchCompiler.SimpleMatchFactory.get(java.lang.String keyword,
PushbackTokenizer tokenizer) |
SearchCompiler.Match |
SearchCompiler.AbstractBinaryMatch.getLhs()
Returns left hand side.
|
SearchCompiler.Match |
SearchCompiler.Not.getMatch() |
SearchCompiler.Match |
SearchCompiler.UnaryMatch.getOperand() |
SearchCompiler.Match |
SearchCompiler.AbstractBinaryMatch.getRhs()
Returns right hand side.
|
SearchCompiler.Match |
SearchCompiler.parse()
Parse search string.
|
private SearchCompiler.Match |
SearchCompiler.parseExpression()
Parse expression.
|
private SearchCompiler.Match |
SearchCompiler.parseExpression(java.lang.String errorMessage)
Parse expression, showing the specified error message if parsing fails.
|
private SearchCompiler.Match |
SearchCompiler.parseFactor()
Parse next factor (a search operator or search term).
|
private SearchCompiler.Match |
SearchCompiler.parseFactor(java.lang.String errorMessage) |
Modifier and Type | Method and Description |
---|---|
SearchCompiler.UnaryMatch |
SearchCompiler.CoreUnaryMatchFactory.get(java.lang.String keyword,
SearchCompiler.Match matchOperand,
PushbackTokenizer tokenizer) |
SearchCompiler.UnaryMatch |
SearchCompiler.UnaryMatchFactory.get(java.lang.String keyword,
SearchCompiler.Match matchOperand,
PushbackTokenizer tokenizer) |
SearchCompiler.AbstractBinaryMatch |
SearchCompiler.BinaryMatchFactory.get(java.lang.String keyword,
SearchCompiler.Match lhs,
SearchCompiler.Match rhs,
PushbackTokenizer tokenizer) |
protected static java.lang.String |
SearchCompiler.AbstractBinaryMatch.parenthesis(SearchCompiler.Match m) |
Constructor and Description |
---|
AbstractBinaryMatch(SearchCompiler.Match lhs,
SearchCompiler.Match rhs)
Constructs a new
BinaryMatch . |
And(SearchCompiler.Match lhs,
SearchCompiler.Match rhs)
Constructs a new
And match. |
Child(SearchCompiler.Match m) |
Not(SearchCompiler.Match match) |
Or(SearchCompiler.Match lhs,
SearchCompiler.Match rhs)
Constructs a new
Or match. |
Parent(SearchCompiler.Match m) |
UnaryMatch(SearchCompiler.Match match) |
Xor(SearchCompiler.Match lhs,
SearchCompiler.Match rhs)
Constructs a new
Xor match. |
Modifier and Type | Method and Description |
---|---|
boolean |
WayPoint.evaluateCondition(SearchCompiler.Match condition) |
Modifier and Type | Field and Description |
---|---|
(package private) static SearchCompiler.Match |
OsmPrimitive.directionKeys
A tagged way that matches this pattern has a direction.
|
private SearchCompiler.Match |
FilterMatcher.FilterInfo.match |
private static SearchCompiler.Match |
OsmPrimitive.reversedDirectionKeys
A tagged way that matches this pattern has a direction that is reversed.
|
Modifier and Type | Method and Description |
---|---|
private static SearchCompiler.Match |
OsmPrimitive.compileDirectionKeys(java.lang.String prefName,
java.lang.String defaultValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
OsmPrimitive.evaluateCondition(SearchCompiler.Match condition) |
Modifier and Type | Field and Description |
---|---|
private SearchCompiler.Match |
RelationListDialog.RelationListModel.filter |
Modifier and Type | Method and Description |
---|---|
void |
RelationListDialog.RelationListModel.setFilter(SearchCompiler.Match filter) |
Modifier and Type | Field and Description |
---|---|
(package private) SearchCompiler.Match |
SearchBasedRowFilter.filter |
private SearchCompiler.Match |
RecentTagCollection.tagsToIgnore |
Modifier and Type | Method and Description |
---|---|
void |
PropertiesDialog.setFilter(SearchCompiler.Match filter) |
void |
RecentTagCollection.setTagsToIgnore(SearchCompiler.Match tagsToIgnore) |
Constructor and Description |
---|
SearchBasedRowFilter(SearchCompiler.Match filter)
Constructs a new
SearchBasedRowFilter with the given filter. |
Modifier and Type | Method and Description |
---|---|
boolean |
Marker.evaluateCondition(SearchCompiler.Match condition) |
Modifier and Type | Field and Description |
---|---|
SearchCompiler.Match |
TaggingPreset.nameTemplateFilter |
Modifier and Type | Field and Description |
---|---|
SearchCompiler.Match |
Roles.Role.memberExpression
An expression (cf.
|
Modifier and Type | Field and Description |
---|---|
private SearchCompiler.Match |
CompileSearchTextDecorator.filter |
Modifier and Type | Method and Description |
---|---|
SearchCompiler.Match |
CompileSearchTextDecorator.getMatch()
Returns the compiled search
|
Modifier and Type | Class and Description |
---|---|
private static class |
ContextSwitchTemplate.AndSet |
private static class |
ContextSwitchTemplate.ChildSet |
private static class |
ContextSwitchTemplate.ContextProvider |
private static class |
ContextSwitchTemplate.OrSet |
private static class |
ContextSwitchTemplate.ParentSet |
Modifier and Type | Field and Description |
---|---|
private SearchCompiler.Match |
ContextSwitchTemplate.ParentSet.childCondition |
private SearchCompiler.Match |
SearchExpressionCondition.condition |
protected SearchCompiler.Match |
ContextSwitchTemplate.ContextProvider.condition |
private SearchCompiler.Match |
ContextSwitchTemplate.ChildSet.parentCondition |
Modifier and Type | Method and Description |
---|---|
private static SearchCompiler.Match |
ContextSwitchTemplate.transform(SearchCompiler.Match m,
int searchExpressionPosition) |
Modifier and Type | Method and Description |
---|---|
boolean |
TemplateEngineDataProvider.evaluateCondition(SearchCompiler.Match condition) |
private static SearchCompiler.Match |
ContextSwitchTemplate.transform(SearchCompiler.Match m,
int searchExpressionPosition) |
Constructor and Description |
---|
ChildSet(SearchCompiler.Match parentCondition) |
ContextSwitchTemplate(SearchCompiler.Match match,
TemplateEntry template,
int searchExpressionPosition) |
ParentSet(SearchCompiler.Match child) |
SearchExpressionCondition(SearchCompiler.Match condition,
TemplateEntry text) |