So, in order, to do the semi-automatic "get the parent resource definition" I described above:
- Create or obtain the ResourceType instance that matches the client tag project resource.
- Obtain an instance of the local DesignableProject instance.
- Ask the project to discardOverrides for the 'root' resource path of the resource type you care about (I forgot this method existed). So
myClientTagResourceTypeReference.rootPath()
to obtain the path, andmyDesignerProjectReference.discardOverrides(thatPath)
. - Reopen the project in the designer, and Vision should automatically recreate the client tags from the parent project.