Modifier and Type | Field and Description |
---|---|
private Relation |
CreateMultipolygonAction.CreateUpdateMultipolygonTask.multipolygonRelation |
Relation |
JoinAreasAction.RelationRole.rel |
Modifier and Type | Field and Description |
---|---|
private List<Relation> |
JoinAreasAction.addedRelations |
Modifier and Type | Method and Description |
---|---|
private static Relation |
CreateMultipolygonAction.createRelation(MultipolygonBuilder pol,
Relation clone)
Builds a relation from polygon ways.
|
private static Relation |
CreateMultipolygonAction.getSelectedMultipolygonRelation() |
private static Relation |
CreateMultipolygonAction.getSelectedMultipolygonRelation(Collection<Way> selectedWays,
Collection<Relation> selectedRelations) |
Modifier and Type | Method and Description |
---|---|
static Pair<SequenceCommand,Relation> |
CreateMultipolygonAction.createMultipolygonCommand(Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.createMultipolygonRelation(Collection<Way> selectedWays,
boolean showNotif)
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.createMultipolygonRelation(Collection<Way> selectedWays,
boolean showNotif)
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.updateMultipolygonRelation(Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.updateMultipolygonRelation(Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
Modifier and Type | Method and Description |
---|---|
private static void |
CreateMultipolygonAction.addMembers(MultipolygonBuilder.JoinedPolygon polygon,
Relation rel,
String role) |
static Pair<SequenceCommand,Relation> |
CreateMultipolygonAction.createMultipolygonCommand(Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
private static Relation |
CreateMultipolygonAction.createRelation(MultipolygonBuilder pol,
Relation clone)
Builds a relation from polygon ways.
|
private static boolean |
PurgeAction.hasOnlyIncompleteMembers(Relation r,
Collection<OsmPrimitive> toPurge,
Collection<? extends OsmPrimitive> moreToPurge) |
static List<Command> |
CreateMultipolygonAction.removeTagsFromWaysIfNeeded(Relation relation)
This method removes tags/value pairs from inner and outer ways and put them on relation if necessary
Function was extended in reltoolbox plugin by Zverikk and copied back to the core
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.updateMultipolygonRelation(Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
void |
UploadSelectionAction.UploadHullBuilder.visit(Relation r) |
Modifier and Type | Method and Description |
---|---|
private void |
JoinAreasAction.fixRelations(List<JoinAreasAction.RelationRole> rels,
Way outer,
JoinAreasAction.RelationRole ownMultipol,
Set<Relation> relationsToDelete)
Adds the previously removed relations again to the outer way.
|
private static Relation |
CreateMultipolygonAction.getSelectedMultipolygonRelation(Collection<Way> selectedWays,
Collection<Relation> selectedRelations) |
Constructor and Description |
---|
CreateUpdateMultipolygonTask(Collection<Way> selectedWays,
Relation multipolygonRelation) |
RelationRole(Relation rel,
String role) |
Modifier and Type | Method and Description |
---|---|
static void |
DeleteAction.deleteRelation(OsmDataLayer layer,
Relation toDelete)
Deletes the relation in the context of the given layer.
|
Modifier and Type | Field and Description |
---|---|
protected Collection<Relation> |
AbstractRelationAction.relations |
Modifier and Type | Method and Description |
---|---|
protected static Collection<Relation> |
AbstractRelationAction.getRelations(Collection<? extends OsmPrimitive> primitives) |
Modifier and Type | Method and Description |
---|---|
protected void |
DeleteRelationsAction.deleteRelation(Relation toDelete) |
static void |
DuplicateRelationAction.duplicateRelationAndLaunchEditor(Relation original)
Duplicates the given relation and launches the relation editor for the created copy.
|
static Set<RelationMember> |
EditRelationAction.getMembersForCurrentSelection(Relation r)
Returns the set of currently selected relation members for the given relation.
|
static void |
EditRelationAction.launchEditor(Relation toEdit)
Launches relation editor for the given relation.
|
Modifier and Type | Method and Description |
---|---|
static Set<OsmPrimitive> |
DownloadSelectedIncompleteMembersAction.buildSetOfIncompleteMembers(Collection<Relation> rels)
Returns the set of incomplete members of the given relations.
|
Modifier and Type | Field and Description |
---|---|
private Stack<Relation> |
CyclicUploadDependencyException.cycle |
Modifier and Type | Method and Description |
---|---|
List<Relation> |
CyclicUploadDependencyException.getCyclicUploadDependency() |
Modifier and Type | Method and Description |
---|---|
protected String |
CyclicUploadDependencyException.formatRelation(Relation r) |
Modifier and Type | Method and Description |
---|---|
protected JPanel |
RelationUploadOrderHook.buildWarningPanel(List<Relation> dep)
builds the panel which warns users about a cyclic dependency
|
Constructor and Description |
---|
CyclicUploadDependencyException(Stack<Relation> cycle) |
Modifier and Type | Field and Description |
---|---|
private Relation |
ChangeRelationMemberRoleCommand.relation |
Modifier and Type | Method and Description |
---|---|
void |
Command.CloneVisitor.visit(Relation e) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
DeleteCommand.confirmRelationDeletion(Collection<Relation> relations) |
Constructor and Description |
---|
ChangeRelationMemberRoleCommand(Relation relation,
int position,
String newRole)
Constructs a new
ChangeRelationMemberRoleCommand . |
Modifier and Type | Field and Description |
---|---|
private Relation |
RelationMemberConflictResolverCommand.my
my relation
|
private Relation |
RelationMemberConflictResolverCommand.their
their relation
|
Constructor and Description |
---|
RelationMemberConflictResolverCommand(Relation my,
Relation their,
List<RelationMember> mergedMembers) |
Modifier and Type | Field and Description |
---|---|
Relation |
RoleCorrection.relation |
Constructor and Description |
---|
RoleCorrection(Relation relation,
int position,
RelationMember member,
String newRole) |
Modifier and Type | Field and Description |
---|---|
private Map<Relation,Set<Relation>> |
APIDataSet.RelationUploadDependencyGraph.children |
private Map<Relation,Set<Relation>> |
APIDataSet.RelationUploadDependencyGraph.children |
private Collection<Relation> |
APIDataSet.RelationUploadDependencyGraph.relations |
private List<Relation> |
APIDataSet.RelationUploadDependencyGraph.uploadOrder |
private Set<Relation> |
APIDataSet.RelationUploadDependencyGraph.visited |
Modifier and Type | Method and Description |
---|---|
List<Relation> |
APIDataSet.RelationUploadDependencyGraph.computeUploadOrder() |
protected List<Relation> |
APIDataSet.filterRelationsNotReferringToNewRelations(Collection<Relation> relations)
Replies the subset of relations in
relations which are not referring to any
new relation |
Set<Relation> |
APIDataSet.RelationUploadDependencyGraph.getChildren(Relation relation) |
Modifier and Type | Method and Description |
---|---|
void |
APIDataSet.RelationUploadDependencyGraph.addDependency(Relation relation,
Relation child) |
Set<Relation> |
APIDataSet.RelationUploadDependencyGraph.getChildren(Relation relation) |
protected void |
APIDataSet.RelationUploadDependencyGraph.visit(Stack<Relation> path,
Relation current) |
Modifier and Type | Method and Description |
---|---|
void |
APIDataSet.RelationUploadDependencyGraph.build(Collection<Relation> relations) |
protected List<Relation> |
APIDataSet.filterRelationsNotReferringToNewRelations(Collection<Relation> relations)
Replies the subset of relations in
relations which are not referring to any
new relation |
protected void |
APIDataSet.RelationUploadDependencyGraph.visit(Stack<Relation> path,
Relation current) |
Constructor and Description |
---|
RelationUploadDependencyGraph(Collection<Relation> relations,
boolean newOrUndeleted) |
Modifier and Type | Field and Description |
---|---|
private Relation |
RelationToChildReference.parent |
Modifier and Type | Field and Description |
---|---|
private Collection<Relation> |
DataSet.relations
All relations/relationships
|
Modifier and Type | Method and Description |
---|---|
Relation |
DatasetFactory.addRelation(long id) |
Relation |
DatasetFactory.addRelation(long id,
int version) |
Relation |
RelationToChildReference.getParent() |
Relation |
RelationMember.getRelation()
Returns the relation member as a relation.
|
Relation |
DatasetFactory.getRelation(long id) |
Modifier and Type | Method and Description |
---|---|
static Set<Relation> |
OsmPrimitive.getParentRelations(Collection<? extends OsmPrimitive> primitives)
Replies the set of referring relations
|
Comparator<Relation> |
NameFormatter.getRelationComparator() |
Collection<Relation> |
DataSet.getRelations()
Replies an unmodifiable collection of relations in this dataset
|
Collection<Relation> |
DataSet.getSelectedRelations()
Returns selected relations.
|
List<Relation> |
DataSet.searchRelations(BBox bbox)
Searches for relations in the given bounding box.
|
Set<Relation> |
DataSet.unlinkPrimitiveFromRelations(OsmPrimitive primitive)
removes all references from relations in this dataset to this primitive
|
Modifier and Type | Method and Description |
---|---|
boolean |
DataSet.containsRelation(Relation r)
Determines if the given relation can be retrieved in the data set through its bounding box.
|
(package private) void |
DataSet.fireRelationMembersChanged(Relation r) |
String |
NameFormatter.format(Relation relation)
Formats a name for a
Relation . |
private void |
DataSetMerger.mergeRelationMembers(Relation source)
Merges the relation members of a source relation onto the corresponding target relation.
|
private static void |
DataSet.reindexRelation(Relation relation) |
Constructor and Description |
---|
Relation(Relation clone)
Create an identical clone of the argument (including the id)
|
Relation(Relation clone,
boolean clearMetadata)
Constructs an identical clone of the argument.
|
RelationToChildReference(Relation parent,
int position,
RelationMember member) |
RelationToChildReference(Relation parent,
int position,
String role,
OsmPrimitive child) |
Modifier and Type | Field and Description |
---|---|
private Relation |
RelationMembersChangedEvent.relation |
Modifier and Type | Method and Description |
---|---|
Relation |
RelationMembersChangedEvent.getRelation() |
Constructor and Description |
---|
RelationMembersChangedEvent(DataSet dataSet,
Relation relation) |
Constructor and Description |
---|
HistoryRelation(Relation r)
Constructs a new
HistoryRelation from an existing Relation . |
Modifier and Type | Method and Description |
---|---|
protected void |
MergeSourceBuildingVisitor.rememberRelation(Relation r)
Remembers a relation in the hull
|
protected void |
MergeSourceBuildingVisitor.rememberRelationPartial(Relation r) |
void |
Visitor.visit(Relation r)
Visiting call for relations.
|
void |
AllNodesVisitor.visit(Relation e)
Relations may have any number of nodes.
|
void |
MergeSourceBuildingVisitor.visit(Relation r) |
void |
BoundingXYVisitor.visit(Relation e) |
Modifier and Type | Method and Description |
---|---|
void |
StyledMapRenderer.ComputeStyleListWorker.add(Relation osm,
int flags) |
void |
StyledMapRenderer.drawArea(Relation r,
Color color,
MapImage fillImage,
Float extent,
Float extentThreshold,
boolean disabled,
TextLabel text)
Draws a multipolygon area.
|
void |
StyledMapRenderer.drawRestriction(Relation r,
MapImage icon,
boolean disabled) |
void |
WireframeMapRenderer.visit(Relation r)
Draw objects used in relations.
|
void |
StyledMapRenderer.ComputeStyleListWorker.visit(Relation r) |
Modifier and Type | Field and Description |
---|---|
private Map<NavigatableComponent,Map<DataSet,Map<Relation,Multipolygon>>> |
MultipolygonCache.cache |
Modifier and Type | Method and Description |
---|---|
private Collection<Map<Relation,Multipolygon>> |
MultipolygonCache.getMapsFor(DataSet ds) |
private Collection<Map<Relation,Multipolygon>> |
MultipolygonCache.updateMultipolygonsReferringTo(AbstractDatasetChangedEvent event,
Collection<? extends OsmPrimitive> primitives,
DataSet ds,
Collection<Map<Relation,Multipolygon>> initialMaps) |
Modifier and Type | Method and Description |
---|---|
private static void |
MultipolygonCache.dispatchEvent(AbstractDatasetChangedEvent event,
Relation r,
Collection<Map<Relation,Multipolygon>> maps) |
Multipolygon |
MultipolygonCache.get(NavigatableComponent nc,
Relation r)
Gets a multipolygon from cache.
|
Multipolygon |
MultipolygonCache.get(NavigatableComponent nc,
Relation r,
boolean forceRefresh)
Gets a multipolygon from cache.
|
private void |
Multipolygon.load(Relation r) |
private void |
MultipolygonCache.processEvent(AbstractDatasetChangedEvent event,
Relation r,
Collection<Map<Relation,Multipolygon>> maps) |
private static void |
MultipolygonCache.removeMultipolygonFrom(Relation r,
Collection<Map<Relation,Multipolygon>> maps) |
Modifier and Type | Method and Description |
---|---|
private static void |
MultipolygonCache.dispatchEvent(AbstractDatasetChangedEvent event,
Relation r,
Collection<Map<Relation,Multipolygon>> maps) |
private void |
MultipolygonCache.processEvent(AbstractDatasetChangedEvent event,
Relation r,
Collection<Map<Relation,Multipolygon>> maps) |
private static void |
MultipolygonCache.removeMultipolygonFrom(Relation r,
Collection<Map<Relation,Multipolygon>> maps) |
private Collection<Map<Relation,Multipolygon>> |
MultipolygonCache.updateMultipolygonsReferringTo(AbstractDatasetChangedEvent event,
Collection<? extends OsmPrimitive> primitives,
DataSet ds,
Collection<Map<Relation,Multipolygon>> initialMaps) |
Constructor and Description |
---|
Multipolygon(Relation r) |
Modifier and Type | Method and Description |
---|---|
void |
PaintVisitor.visit(Relation r) |
void |
Test.visit(Relation r) |
void |
Test.TagTest.visit(Relation r) |
Modifier and Type | Method and Description |
---|---|
protected List<Relation> |
Addresses.getAndCheckAssociatedStreets(OsmPrimitive p) |
Modifier and Type | Method and Description |
---|---|
private void |
MultipolygonTest.addError(Relation r,
TestError error) |
private static void |
MultipolygonTest.addRelationIfNeeded(TestError error,
Relation r) |
private Map<String,RelationChecker.RolePreset> |
RelationChecker.buildAllRoles(Relation n) |
private Map<String,RelationChecker.RoleInfo> |
RelationChecker.buildRoleInfoMap(Relation n) |
private boolean |
RelationChecker.checkMemberExpressionAndType(RelationChecker.RolePreset rolePreset,
RelationMember member,
Relation n)
get all role definition for specified key and check, if some definition matches
|
private void |
MultipolygonTest.checkMembersAndRoles(Relation r) |
private void |
RelationChecker.checkRoleCounts(Relation n,
Roles.Role r,
String keyname,
RelationChecker.RoleInfo ri) |
private void |
RelationChecker.checkRoles(Relation n,
Map<String,RelationChecker.RolePreset> allroles,
Map<String,RelationChecker.RoleInfo> map) |
void |
DuplicateRelation.visit(Relation r) |
void |
RelationChecker.visit(Relation n) |
void |
InternetTags.visit(Relation r) |
void |
Addresses.visit(Relation r) |
void |
PowerLines.visit(Relation r) |
void |
MultipolygonTest.visit(Relation r) |
void |
TurnrestrictionTest.visit(Relation r) |
void |
CrossingWays.Boundaries.visit(Relation r) |
Modifier and Type | Method and Description |
---|---|
void |
NameVisitor.visit(Relation e) |
void |
AggregatePrimitivesVisitor.visit(Relation r) |
Modifier and Type | Field and Description |
---|---|
private Comparator<Relation> |
DefaultNameFormatter.relationComparator |
Modifier and Type | Method and Description |
---|---|
Comparator<Relation> |
DefaultNameFormatter.getRelationComparator() |
Modifier and Type | Method and Description |
---|---|
String |
DefaultNameFormatter.format(Relation relation) |
private void |
DefaultNameFormatter.formatRelationNameAndType(Relation relation,
StringBuilder result,
TaggingPreset preset) |
Modifier and Type | Method and Description |
---|---|
RelationMemberConflictResolverCommand |
RelationMemberListMergeModel.buildResolveCommand(Relation my,
Relation their)
Builds the command to resolve conflicts in the node list of a way
|
void |
RelationMemberListMergeModel.populate(Relation my,
Relation their,
Map<PrimitiveId,PrimitiveId> mergedMap)
populates the model with the relation members in relation my and their
|
Modifier and Type | Field and Description |
---|---|
private Relation |
RelationMemberConflictDecision.relation |
Modifier and Type | Field and Description |
---|---|
protected Collection<Relation> |
RelationMemberConflictResolverModel.relations
the collection of relations for which we manage conflicts
|
Modifier and Type | Method and Description |
---|---|
Relation |
RelationMemberConflictDecision.getRelation() |
Modifier and Type | Method and Description |
---|---|
Set<Relation> |
RelationMemberConflictResolverModel.getModifiedRelations(OsmPrimitive newPrimitive)
Replies the set of relations which have to be modified according
to the decisions managed by this model.
|
Modifier and Type | Method and Description |
---|---|
protected Command |
RelationMemberConflictResolverModel.buildResolveCommand(Relation relation,
OsmPrimitive newPrimitive) |
protected RelationMemberConflictDecision |
RelationMemberConflictResolverModel.getDecision(Relation relation,
int pos) |
protected boolean |
RelationMemberConflictResolverModel.isChanged(Relation relation,
OsmPrimitive newPrimitive) |
boolean |
RelationMemberConflictDecision.matches(Relation relation,
int pos) |
protected void |
RelationMemberConflictResolverModel.populate(Relation relation,
OsmPrimitive primitive)
Populates the model with the members of the relation
relation
referring to primitive . |
Modifier and Type | Method and Description |
---|---|
protected static void |
CombinePrimitiveResolverDialog.informAboutRelationMembershipConflicts(Collection<? extends OsmPrimitive> primitives,
Set<Relation> parentRelations)
Inform a non-expert user about what relation membership conflict resolution means.
|
void |
RelationMemberConflictResolverModel.populate(Collection<Relation> relations,
Collection<? extends OsmPrimitive> memberPrimitives)
Populates the model with the relation members belonging to one of the relations in
relations
and referring to one of the primitives in memberPrimitives . |
Constructor and Description |
---|
RelationMemberConflictDecision(Relation relation,
int pos) |
Modifier and Type | Field and Description |
---|---|
private JList<Relation> |
RelationListDialog.displaylist
The display list.
|
private List<Relation> |
RelationListDialog.RelationListModel.filteredRelations |
private List<Relation> |
RelationListDialog.RelationListModel.relations |
Modifier and Type | Method and Description |
---|---|
Relation |
RelationListDialog.RelationListModel.getElementAt(int index) |
private Relation |
RelationListDialog.getSelected() |
private Relation |
RelationListDialog.RelationListModel.getVisibleRelation(int index) |
Modifier and Type | Method and Description |
---|---|
Collection<Relation> |
RelationListDialog.getSelectedRelations()
Replies the list of selected relations.
|
List<Relation> |
RelationListDialog.RelationListModel.getSelectedRelations()
Replies the list of selected relations.
|
private List<Relation> |
RelationListDialog.RelationListModel.getVisibleRelations() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
InspectPrimitiveDialog.DataText.addRelationMembers(Relation r) |
private Integer |
RelationListDialog.RelationListModel.getVisibleRelationIndex(Relation rel) |
private boolean |
RelationListDialog.RelationListModel.isValid(Relation r) |
void |
RelationListDialog.selectRelation(Relation relation)
Selects the relation
relation in the list of relations. |
Modifier and Type | Method and Description |
---|---|
void |
RelationListDialog.selectRelations(Collection<Relation> relations)
Selects the relations in the list of relations.
|
void |
RelationListDialog.RelationListModel.setRelations(Collection<Relation> relations) |
void |
RelationListDialog.RelationListModel.setSelectedRelations(Collection<Relation> sel)
Sets the selected relations.
|
Modifier and Type | Field and Description |
---|---|
private Relation |
ParentRelationLoadingTask.child |
private Relation |
ReferringRelationsBrowserModel.relation
the relation
|
private Relation |
ChildRelationBrowser.DownloadAllChildrenTask.relation |
private Relation |
RelationTree.RelationLoader.relation |
private Relation |
RelationEditor.relation
The relation that this editor is working on.
|
private Relation |
MemberRoleCellEditor.relation |
Relation |
RelationDialogManager.DialogContext.relation |
private Relation |
RelationEditor.relationSnapshot
The version of the relation when editing is started.
|
private Relation |
RelationTreeModel.root
the root relation
|
Modifier and Type | Field and Description |
---|---|
private Set<Relation> |
DownloadRelationMemberTask.parents |
private List<Relation> |
ParentRelationLoadingTask.parents |
private List<Relation> |
ReferringRelationsBrowserModel.referrers |
private JList<Relation> |
ReferringRelationsBrowser.referrers
the list of relations
|
private Set<Relation> |
ChildRelationBrowser.DownloadRelationSetTask.relations |
private Collection<Relation> |
DownloadRelationTask.relations |
private Stack<Relation> |
ChildRelationBrowser.DownloadAllChildrenTask.relationsToDownload |
Modifier and Type | Method and Description |
---|---|
Relation |
ReferringRelationsBrowserModel.getElementAt(int index) |
Relation |
ReferringRelationsBrowserModel.getRelation() |
protected Relation |
RelationEditor.getRelation()
Replies the currently edited relation
|
protected Relation |
RelationTreeModel.getRelationChildByIdx(Relation parent,
int idx)
Replies the i-th child of type relation for a particular relation
parent . |
protected Relation |
RelationEditor.getRelationSnapshot()
Replies the state of the edited relation when the editor has been launched
|
Modifier and Type | Method and Description |
---|---|
List<Relation> |
ParentRelationLoadingTask.getParents() |
Modifier and Type | Method and Description |
---|---|
static Command |
GenericRelationEditor.addPrimitivesToRelation(Relation orig,
Collection<? extends OsmPrimitive> primitivesToAdd)
Adds primitives to a given relation.
|
void |
MemberTableModel.applyToRelation(Relation relation) |
void |
RelationDialogManager.close(OsmDataLayer layer,
Relation relation)
Closes the editor open for a specific layer and a specific relation.
|
static RelationEditor |
RelationEditor.getEditor(OsmDataLayer layer,
Relation r,
Collection<RelationMember> selectedMembers)
This is a factory method that creates an appropriate RelationEditor
instance suitable for editing the relation that was passed in as an
argument.
|
RelationEditor |
RelationDialogManager.getEditorForRelation(OsmDataLayer layer,
Relation relation)
Replies the editor for the relation managed by layer.
|
protected int |
RelationTreeModel.getIndexForRelationChild(Relation parent,
Relation child)
Replies the index of a particular
child with respect to its
parent . |
protected Collection<RelationMember> |
GenericRelationEditor.EditAction.getMembersForCurrentSelection(Relation r) |
protected int |
RelationTreeModel.getNumRelationChildren(Relation parent)
Replies the number of children of type relation for a particular
relation
parent |
protected Relation |
RelationTreeModel.getRelationChildByIdx(Relation parent,
int idx)
Replies the i-th child of type relation for a particular relation
parent . |
boolean |
MemberTableModel.hasSameMembersAs(Relation relation) |
boolean |
RelationDialogManager.isOpenInEditor(OsmDataLayer layer,
Relation relation)
Replies true if there is an open relation editor for the relation managed
by the given layer.
|
protected boolean |
ReferringRelationsBrowserModel.isReferringRelation(Relation parent) |
void |
ChildRelationBrowser.populate(Relation r)
populates the browser with a relation
|
void |
RelationTreeModel.populate(Relation root)
Populates the model with a root relation
|
void |
MemberTableModel.populate(Relation relation) |
protected void |
ChildRelationBrowser.DownloadTask.refreshView(Relation relation) |
void |
RelationDialogManager.register(OsmDataLayer layer,
Relation relation,
RelationEditor editor)
Register the relation editor for a relation managed by a
OsmDataLayer . |
protected void |
ChildRelationBrowser.DownloadAllChildrenTask.rememberChildRelationsToDownload(Relation parent)
Remembers the child relations to download
|
protected void |
RelationTreeCellRenderer.renderValue(Relation relation)
renders the textual value.
|
void |
ReferringRelationsBrowserModel.setRelation(Relation relation) |
protected void |
RelationEditor.setRelation(Relation relation)
Sets the currently edited relation.
|
protected void |
RelationEditor.setRelationSnapshot(Relation snapshot) |
void |
RelationDialogManager.updateContext(OsmDataLayer layer,
Relation relation,
RelationEditor editor) |
protected void |
ChildRelationBrowser.DownloadAllChildrenTask.warnBecauseOfDeletedRelation(Relation r)
warns the user if a relation couldn't be loaded because it was deleted on
the server (the server replied a HTTP code 410)
|
Modifier and Type | Method and Description |
---|---|
void |
ReferringRelationsBrowserModel.populate(List<Relation> parents) |
Constructor and Description |
---|
ChildRelationBrowser(OsmDataLayer layer,
Relation root)
constructor
|
DialogContext(OsmDataLayer layer,
Relation relation) |
DownloadAllChildrenTask(Dialog parent,
Relation r) |
DownloadRelationMemberTask(Relation parent,
Collection<OsmPrimitive> children,
OsmDataLayer curLayer) |
DownloadRelationMemberTask(Relation parent,
Collection<OsmPrimitive> children,
OsmDataLayer curLayer,
Dialog dialog) |
GenericRelationEditor(OsmDataLayer layer,
Relation relation,
Collection<RelationMember> selectedMembers)
Creates a new relation editor for the given relation.
|
MemberRoleCellEditor(DataSet ds,
Relation relation)
Constructs a new
MemberRoleCellEditor . |
MemberTable(OsmDataLayer layer,
Relation relation,
MemberTableModel model)
constructor for relation member table
|
MemberTableColumnModel(DataSet ds,
Relation relation)
Constructs a new
MemberTableColumnModel . |
ParentRelationLoadingTask(Relation child,
OsmDataLayer layer,
boolean full,
PleaseWaitProgressMonitor monitor)
Creates a new task for asynchronously downloading the parents of a child relation.
|
ReferringRelationsBrowserModel(Relation relation) |
RelationEditor(OsmDataLayer layer,
Relation relation,
Collection<RelationMember> selectedMembers)
Creates a new relation editor
|
RelationLoader(Dialog dialog,
Relation relation,
TreePath path) |
RelationTreeModel(Relation root)
constructor
|
Constructor and Description |
---|
DownloadRelationMemberTask(Collection<Relation> parents,
Collection<OsmPrimitive> children,
OsmDataLayer curLayer)
Creates a download task for downloading the child primitives
children for all parent
relations in parents . |
DownloadRelationSetTask(Dialog parent,
Set<Relation> relations) |
DownloadRelationTask(Collection<Relation> relations,
OsmDataLayer layer)
Creates the download task
|
Modifier and Type | Method and Description |
---|---|
void |
HistoryBrowserModel.HistoryPrimitiveBuilder.visit(Relation r) |
Modifier and Type | Method and Description |
---|---|
void |
OsmDataLayer.DataCountVisitor.visit(Relation r) |
Modifier and Type | Method and Description |
---|---|
void |
Selector.ChildOrParentSelector.MatchingReferrerFinder.visit(Relation r) |
void |
Selector.ChildOrParentSelector.AbstractFinder.visit(Relation r) |
Modifier and Type | Method and Description |
---|---|
protected void |
AutoCompletionManager.cacheRelationMemberRoles(Relation relation)
Caches all member roles of the relation
relation |
void |
AutoCompletionManager.populateWithMemberRoles(AutoCompletionList list,
Relation r)
Populates the
AutoCompletionList with the roles used in this relation
plus the ones defined in its applicable presets, if any. |
Modifier and Type | Method and Description |
---|---|
private boolean |
HighlightHelper.setHighlight(OsmPrimitive p,
boolean flag,
Set<Relation> seenRelations) |
Modifier and Type | Method and Description |
---|---|
protected Relation |
OsmReader.parseRelation() |
Modifier and Type | Method and Description |
---|---|
protected MultiFetchServerObjectReader |
MultiFetchServerObjectReader.appendRelation(Relation relation)
appends a
Relation id to the list of ids which will be fetched from the server. |
private RelationMemberData |
OsmReader.parseRelationMember(Relation r) |
Modifier and Type | Method and Description |
---|---|
void |
OsmWriter.writeRelations(Collection<Relation> relations)
Writes the given relations sorted by id
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Geometry.isNodeInsideMultiPolygon(Node node,
Relation multiPolygon,
Predicate<Way> isOuterWayAMatch)
Tests if the
node is inside the multipolygon multiPolygon . |
static boolean |
Geometry.isPolygonInsideMultiPolygon(List<Node> nodes,
Relation multiPolygon,
Predicate<Way> isOuterWayAMatch)
Tests if the polygon formed by
nodes is inside the multipolygon multiPolygon . |
Constructor and Description |
---|
MultiPolygonMembers(Relation multiPolygon) |