Support directed connectors in the kernel
IConnectors that define an incoming or outgoing direction are currently created in AF3 plugins. This is recurring pattern and thus can be generalized. However, no generic code can be written for these IConnectors as of now.
- Change the IConnector to implement a getOwner() method that wraps calls to the eContainer() field.
- Add the interfaces IInputConnector and IOutputConnector that have the input and output reference lists as before. They shall inherit from the reduced IConnector interface.
- Create an IInOutputConnector interface that unifies the IInputConnector and IOutputConnectors.
- Migration of the “owner” field should not be needed since the EMF-encoded containment relations already duplicates the owner reference in the eContainer field.
(from redmine: issue id 3896, created on 2019-12-10)
- relates #3883 (closed)
- blocks #3897