Skip to content

How to add an UIExtension? #578

Answered by tortmayr
rsoika asked this question in Q&A
Mar 9, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @rsoika,

In addition I defined a di.config - which I think is not necessary ???

You are right a separate module in a di.config is not strictly necessary. You could always define your additional bindings as part of the main diagram module (i.e. the main di.config) which in your case seems to be the bpmnDiagramModule. In general it's up to the adopter whether he wants to provide new features in a separate feature module or as part of the main diagram module.
For the GLSP base framework using feature modules makes a lot of sense because it enables adopters to easily disable features that they don't need or replace them with custom modules that are tailored to their needs.

My question i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rsoika
Comment options

Answer selected by rsoika
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants