Extending and reusing the UberFire UI components
One of the greatest advantages of the KIE workbench adoption of UberFire is not the components it provides, but how easy it is to integrate new custom components into an existing workbench.
Since all of the jBPM6 tooling is based on UberFire, adding new components becomes a great advantage for adopters of the tooling. It is also a very significant improvement from the previous versions, where the jBPM tooling was very difficult to change due to its complexity and highly-coupled code. In this version, adding new components is very easy, and we will show how to create new screens for an existing workbench and how to integrate them together.
Model View Presenter
Before we fully dive into the code, we need to understand how it is composed and designed. UberFire component design is based on a very useful design pattern used for building user interfaces called Model View Presenter (MVP). MVP is based on a highly used pattern called Model View Controller...