Custom Button in Property panel #253
Replies: 4 comments 1 reply
-
Hi @NourEldin-Ali The widget that you mention is a so called array-renderer. We are using this concept of JSONForms in the Property-Panel of Open-BPMN. If you want to customize this, you usually need to implement a so called custom renderer. We have done this in Open-BPMN also to solve some more complex situations like the new File-Link Component. But this topic is not easy to answer in general and can be very specific to your use-case. What exactly are you trying to achieve? |
Beta Was this translation helpful? Give feedback.
-
In Open-BPMN we implemented a Extension Mechanisim.
This means you can change specific elements of your core model by implementing your own business logic in a BPMNExtension class. So for example you can extend your model with new attributes or even additional elements. But if you want to generate separate files when a model is saved, this would be a different scenario. I have not thought about such things. But maybe this could be new idea for OpenBPMN. A Kind of a BPMNStorageExtension public interface BPMNStorageExtension {
public void onLoad(BPMNModel model, java.io.File source);
public void onSave(BPMNModel model, java.io.File target);
} Which such a extension you would be able to change the model on load and on save events. For example load additional content from external files or store additional content.... |
Beta Was this translation helpful? Give feedback.
-
See #254 |
Beta Was this translation helpful? Give feedback.
-
ok thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @rsoika,
Thank you again for this great project.
I have a question maybe you can help me.

In your project you add different button to the panel like "add to Data objects", "delete", ...
How I can add a new button and define an action of my button?
Thank you in advance for you reply.
Ali
Beta Was this translation helpful? Give feedback.
All reactions