Hi everyone,
I am currently trying to customize the contextPad by giving some custom functionality to a specific contextPad entry. I created and registered a provider and implemented the following method:
getContextPadEntries(element) {
return (entries) => {
entries['some-entry'].action = () => {
// someCustomAction();
}
return entries;
}
}
This works perfectly fine when a single element is selected. However, when i select multiple elements in my diagram and open up the contextPad, the getContextPadEntries() function seems to be ignored.
Am I missing something? Is this wanted behavior?
Thanks in Advance,
Luka