DeploymentEditor: View is not updated on changes of the underlying component and platform architecture
Steps to reproduce:
- Create new AF3 project
- Create component architecture with one component C1
- Create platform architecture with one Generic_ECU
- Create Deployment
- Observe that C1 is available in the left part of the view
- Switch to the component architecture and create annotation component C2
- Switch back to the Deployment and observe that C2 is not available in the left part of the view
Work around:
- Close the deployment view
- Reopen the deployment view
- Observe that C2 is now available in the left part of the view
Similar problems:
- Component / platform architectures that are added after the deployment view has been opened are not shown in the drop-down menus at the top
- Potentially similar issues in the other tabs of the view (sensor/actuator port mapping, …)
Suggested fix:
- Watch file project for modifications e.g., using an EContentAdapter (expensive operation!!).
- See
org.fortiss.tooling.base.ui.annotation.view.AnnotationViewPartBase
for an example.
(from redmine: issue id 2167, created on 2014-11-25, closed on 2015-01-26)
- Relations:
- relates #2222 (closed)
- parent #2060 (closed)