Double clicking on a Raspberry Pi platform element causes an exception to be thrown
How to reproduce
- Pull the latest changes from all AF3 repositories
- Import the attached model
- Try to open the platform architecture by double clicking on the Raspberry Pi component
Desired behavior
- If the Raspberry Pi component has an editor on its own (e.g. to tune some of its properties), then this shall be opened.
- Otherwise, the platform architecture shall be opened.
Notes
- Notice the following in the
ModelEditorBindingService
* Line 156:
* Here the bindings of the double clicked elements are retrieved. For a normal platform element (e.g. a GenericExecutionUnit), the returned list is empty and, hence, its parent element is opened: The platform architecture.
* When double clicking a Raspberry Pi component, however, a binding is found: ThePlatformRaspberryPiArchitectureFXEditorBinding
. Thus, the service tries to open this instead of the platform editor.
(from redmine: issue id 4060, created on 2020-09-09, closed on 2020-10-20)
- Uploads: