Hi Matthieu, I finally managed to figure it out:
import org.openstreetmap.josm.gui.dialogs.relation.RelationEditor as RelationEditor RelationEditor.getEditor(mv.getEditLayer(), newRelation, None).setVisible(True) 2015-04-30 12:44 GMT+02:00 Matthieu Gaillet <mgwebm...@fastmail.fm>: > Hi, > > I’m using a small Python script (launched using the scripting plugin) to > create a relation based on the currently selected ways. I’d like to open > this newly created relation in the relation editor aftermath so that one > can review the result, ensure continuity, and so on. > > How can I do that programmatically ? > > Thanks > > Matthieu > _______________________________________________ > josm-dev mailing list > josm-dev@openstreetmap.org > https://lists.openstreetmap.org/listinfo/josm-dev > _______________________________________________ josm-dev mailing list josm-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/josm-dev