Summary: | Unable to navigate from Problem Marker View to corresponding model element having a model which is distributed over multiple resources | ||||||
---|---|---|---|---|---|---|---|
Product: | [Automotive] Sphinx | Reporter: | Francesco Gerardi <Francesco.Gerardi> | ||||
Component: | Validation Runtime Extensions | Assignee: | Project Inbox <sphinx-inbox> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | balazs.grill, Francesco.Gerardi, stephaneberle9 | ||||
Version: | 0.9.1 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows 7 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Francesco Gerardi
2015-11-13 03:25:56 EST
Instead of following instruction (in class CheckProblemMarkerService) for retrieving the resource: - IResource file = EcorePlatformUtil.getFile(resource); I would recommend to do something like - Get affectedObject from child Diagnostic object - IResource childObjectFile = EcorePlatformUtil.getFile(affectedObject.eResource()); to solve this issue. Created attachment 267479 [details]
patch to enable navigation from error marker to affected EObject when using multiple resources
As Gerrit does not seem to be configured for contribution and as discussed in December we would like to provide this (and in future also further) patches to improve/enrich functionality w.r.t. check-based validations used within App4mc.
Closed stale issue before migration |