Relation Editor: use public constructor and add it to custom widgets