Package | Description |
---|---|
org.openstreetmap.josm.gui.dialogs.relation |
Toggle dialog allowing to display currently loaded relations and perform operations on them.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericRelationEditor
This dialog is for editing relations.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.List<java.lang.Class<RelationEditor>> |
RelationEditor.editors
the list of registered relation editor classes
|
private java.util.Map<RelationDialogManager.DialogContext,RelationEditor> |
RelationDialogManager.openDialogs
the map of open dialogs
|
Modifier and Type | Method and Description |
---|---|
static RelationEditor |
RelationEditor.getEditor(OsmDataLayer layer,
Relation r,
java.util.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.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
RelationDialogManager.hasEditorWithCloseUpperLeftCorner(java.awt.Point p,
RelationEditor thisEditor)
Replies true, if there is another open
RelationEditor whose
upper left corner is close to p . |
void |
RelationDialogManager.positionOnScreen(RelationEditor editor)
Positions a
RelationEditor on the screen. |
void |
RelationDialogManager.register(OsmDataLayer layer,
Relation relation,
RelationEditor editor)
Register the relation editor for a relation managed by a
OsmDataLayer . |
void |
RelationDialogManager.updateContext(OsmDataLayer layer,
Relation relation,
RelationEditor editor) |
Modifier and Type | Method and Description |
---|---|
void |
RelationEditor.registerRelationEditor(java.lang.Class<RelationEditor> clazz)
Registers a relation editor class.
|