Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Container Support #1384

Open
3 tasks
martin-fleck-at opened this issue Jul 25, 2024 · 0 comments
Open
3 tasks

Improve Container Support #1384

martin-fleck-at opened this issue Jul 25, 2024 · 0 comments
Assignees
Labels

Comments

@martin-fleck-at
Copy link
Contributor

martin-fleck-at commented Jul 25, 2024

Goal

The goal of this epic is to ensure that the current support we have for containers and nested or structured components works as expected across all aspects of GLSP. A Container is defined as an element that can container other elements, i.e., the parent of it's contained elements ("children") is set to the container. The default container is the graph which contains all top-level elements. For an element to be a container it needs to have the 'containerFeature' set. With this feature, the container element will automatically implement the 'Containable' interface which defines the 'isContainableElement' method to check whether an element can be a child of the container. This can be controlled via the 'containableElementTypeIds' type hint. If none are given, the container cannot have any children.

Elements that can be moved between different parent containers need to have the 'reparentFeature' set (may also be specified through the 'reparentable' type hint).

This includes:

  • Integration within the different layouts and their flags
  • Tool support to re-parent elements
  • Ensuring restriction and validations are considered

Steps

Issues

Related but not in scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant