Project

General

Profile

Change Request #3896

Support directed connectors in the kernel

Added by Alexander Diewald 10 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
20.00 h

Description

Current status

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.

Proposed change

  • 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.

Related issues

Related to Feature #3883: [UI] Introduce JavaFX-based editor for PlatformComponentStructureEditorBase<T>Closed12/02/2019

Blocks Change Request #3897: Generalize base visuals for directed ConnectorsNew

History

#1 Updated by Alexander Diewald 10 months ago

  • Related to Feature #3883: [UI] Introduce JavaFX-based editor for PlatformComponentStructureEditorBase<T> added

#2 Updated by Alexander Diewald 10 months ago

#3 Updated by Alexander Diewald 6 months ago

  • Target version changed from AF3 2.17 (Feature Freeze) to Backlog

Also available in: Atom PDF