You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a new Interface BPMNModelExtension that allows an adopter to react on the load and save events of Open-BPMN
publicinterfaceBPMNModelExtension {
/** * Called after the BPMNModel was loaded the first time. * * An injected ModelState already holds the generated GModel Tree. * * @param model - the BPMNModel */voidonLoad(finalBPMNModelmodel);
/** * Called before the BPMNModel is stored to disk. * * @param model - the BPMNModel */voidonSave(finalBPMNModelmodel);
}
This extension allows an adopter to react on a new loaded model to extend the model or load external content. In the onSave method an adapter can externalize content or change the model before it is finally written to disk.
With this new concept the recently developed resolveFileLinksOnLoad#246 feature can be realized in a BPMNModelExtension which is a much more clean way to implement such a kind of behaviour.
Introduce a new Interface
BPMNModelExtension
that allows an adopter to react on the load and save events of Open-BPMNThis extension allows an adopter to react on a new loaded model to extend the model or load external content. In the
onSave
method an adapter can externalize content or change the model before it is finally written to disk.With this new concept the recently developed
resolveFileLinksOnLoad
#246 feature can be realized in aBPMNModelExtension
which is a much more clean way to implement such a kind of behaviour.See also this discussion: #253
The text was updated successfully, but these errors were encountered: