-
Notifications
You must be signed in to change notification settings - Fork 30
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
GLSP-1388 Enhance extensibility of ContainerManager
#385
Conversation
- Added IContainerManager interface for easier customization - Consume IContainerManager for dependency injection - Extract isCreationAllowed submethod for element insertion checks Resolves eclipse-glsp/glsp#1388
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Nina, thank you for the PR. It has opened a few questions for me, so hopefully we can get that sorted quickly. Otherwise, everything works as expected.
packages/client/src/features/tools/node-creation/node-creation-module.ts
Outdated
Show resolved
Hide resolved
packages/client/src/features/tools/node-creation/container-manager.ts
Outdated
Show resolved
Hide resolved
- Ensure backward compatibility for ContainerManager binding by using bindAsService. - Make isCreationAllowed public and reuse in KeyboardPointerPosition (accessibility tools)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the quick turnaround! LGTM!
Thank you for the review @martin-fleck-at! |
* GLSP-1388 Enhance extensibility of `ContainerManager` - Added IContainerManager interface for easier customization - Consume IContainerManager for dependency injection - Extract isCreationAllowed submethod for element insertion checks Resolves eclipse-glsp/glsp#1388 * Address review comments - Ensure backward compatibility for ContainerManager binding by using bindAsService. - Make isCreationAllowed public and reuse in KeyboardPointerPosition (accessibility tools)
* GLSP-1388 Enhance extensibility of `ContainerManager` - Added IContainerManager interface for easier customization - Consume IContainerManager for dependency injection - Extract isCreationAllowed submethod for element insertion checks Resolves eclipse-glsp/glsp#1388 * Address review comments - Ensure backward compatibility for ContainerManager binding by using bindAsService. - Make isCreationAllowed public and reuse in KeyboardPointerPosition (accessibility tools)
What it does
Resolves eclipse-glsp/glsp#1388
How to test
Node creation should work as before, this should not impact the functionality at all.
Follow-ups
--
Changelog