Community
Participate
Working Groups
Implement "Locate Value" Action in Properties View. The problem is that the current viewer in the UIEditor class is null. We have to set the current viewer to the ProR agile grid viewer. Migrated from http://dev.pror.org/ticket/47
Michael, Could you please describe what the locate value must select in the Editor? We cannot select attribute values because the displayed objects in the editor are the SpecHierarchy's.
> Could you please describe what the locate value must select in the Editor? > We cannot select attribute values because the displayed objects in the editor are the SpecHierarchy's. Yes, because the editor contains SpecHierarchies, that's what we need to select. So we have to find the SpecHierarchy that corresponds to the given AV. In theory, we just have to find the corresponding parent object, but this could indeed be tricky. First, it should be easy to find the SpecObject that the AV belongs to (by using eParent(). If the Property View's content is based on a SpecObject, then we are out of luck. Unless we want to inspect the Editor's Specification and find ALL SpecHierarchies that reference that SpecObject. However, the PropertyView's content may be based on a SpecHierarchy, and then you are pretty much done.
moved to 0.14.0