Package | Description |
---|---|
org.openstreetmap.josm.actions.search |
Provides the classes for JOSM
search action . |
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.data.osm.search |
Provides classes allowing to search OSM primitives in a dataset using textual queries.
|
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.
|
Modifier and Type | Field and Description |
---|---|
private static SearchSetting |
SearchAction.lastSearch |
private SearchSetting |
SearchAction.SearchTask.setting |
Modifier and Type | Field and Description |
---|---|
private static java.util.LinkedList<SearchSetting> |
SearchAction.searchHistory |
Modifier and Type | Method and Description |
---|---|
SearchSetting |
SearchAction.SearchSettingsActionParameter.readFromString(java.lang.String s) |
static SearchSetting |
SearchAction.showSearchDialog(SearchSetting initialValues)
Builds and shows the search dialog.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<SearchSetting> |
SearchAction.getSearchHistory()
Gets the search history
|
java.lang.Class<SearchSetting> |
SearchAction.SearchSettingsActionParameter.getType() |
Modifier and Type | Method and Description |
---|---|
private static SearchAction.SearchTask |
SearchAction.SearchTask.newSearchTask(SearchSetting setting,
OsmData<?,?,?,?> ds,
SearchAction.SearchReceiver resultReceiver)
Create a new search task for the given search setting.
|
(package private) static SearchAction.SearchTask |
SearchAction.SearchTask.newSearchTask(SearchSetting setting,
SearchAction.SearchReceiver resultReceiver) |
void |
SearchAction.SearchReceiver.receiveSearchResult(OsmData<?,?,?,?> ds,
java.util.Collection<IPrimitive> result,
int foundMatches,
SearchSetting setting,
java.awt.Component parent)
Receive the search result
|
void |
SearchAction.SelectSearchReceiver.receiveSearchResult(OsmData<?,?,?,?> ds,
java.util.Collection<IPrimitive> result,
int foundMatches,
SearchSetting setting,
java.awt.Component parent) |
void |
SearchAction.CapturingSearchReceiver.receiveSearchResult(OsmData<?,?,?,?> ds,
java.util.Collection<IPrimitive> result,
int foundMatches,
SearchSetting setting,
java.awt.Component parent) |
static void |
SearchAction.saveToHistory(SearchSetting s)
Saves a search to the search history.
|
static void |
SearchAction.searchStateless(SearchSetting s)
Performs a stateless search specified by the settings in
s . |
static void |
SearchAction.searchWithHistory(SearchSetting s)
Adds the search specified by the settings in
s to the
search history and performs the search. |
static void |
SearchAction.searchWithoutHistory(SearchSetting s)
Performs the search specified by the settings in
s without saving it to search history. |
static SearchSetting |
SearchAction.showSearchDialog(SearchSetting initialValues)
Builds and shows the search dialog.
|
java.lang.String |
SearchAction.SearchSettingsActionParameter.writeToString(SearchSetting value) |
Constructor and Description |
---|
SearchTask(OsmData<?,?,?,?> ds,
SearchSetting setting,
java.util.Collection<IPrimitive> selection,
java.util.function.Predicate<IPrimitive> predicate,
SearchAction.SearchReceiver resultReceiver) |
Modifier and Type | Class and Description |
---|---|
class |
Filter
Data class representing one entry in the filter dialog.
|
Constructor and Description |
---|
Filter(SearchSetting setting)
Constructs a new
Filter from a SearchSetting |
Modifier and Type | Method and Description |
---|---|
static SearchSetting |
SearchSetting.readFromString(java.lang.String s)
Transforms a string following a certain format, namely "[R | A | D | S][C?,R?,A?,M?] [a-zA-Z]"
where the first part defines the mode of the search, see
SearchMode , the second defines
a set of attributes within the SearchSetting class and the second is the search query. |
Modifier and Type | Method and Description |
---|---|
static SearchCompiler.Match |
SearchCompiler.compile(SearchSetting setting)
Compiles the search expression.
|
Constructor and Description |
---|
SearchSetting(SearchSetting original)
Constructs a new
SearchSetting from an existing one. |
Modifier and Type | Field and Description |
---|---|
protected SearchSetting |
SelectionListDialog.SearchMenuItem.s |
private SearchSetting |
SearchDialog.searchSettings |
Modifier and Type | Method and Description |
---|---|
SearchSetting |
SearchDialog.getSearchSettings()
Returns the search settings chosen by user.
|
Constructor and Description |
---|
SearchDialog(SearchSetting initialValues,
java.util.List<java.lang.String> searchExpressionHistory,
boolean expertMode)
Constructs a new
SearchDialog . |
SearchMenuItem(SearchSetting s) |
Modifier and Type | Field and Description |
---|---|
(package private) SearchSetting |
TagEditHelper.tagsToIgnore |
Modifier and Type | Method and Description |
---|---|
(package private) static SearchSetting |
PropertiesDialog.createSearchSetting(java.lang.String key,
java.util.Collection<? extends IPrimitive> sel,
boolean sameType) |
SearchSetting |
RecentTagCollection.ignoreTag(Tag tagToIgnore,
SearchSetting settingToUpdate) |
Modifier and Type | Method and Description |
---|---|
SearchSetting |
RecentTagCollection.ignoreTag(Tag tagToIgnore,
SearchSetting settingToUpdate) |
void |
RecentTagCollection.setTagsToIgnore(SearchSetting tagsToIgnore) |