What is the best practice for deciding which resources to save?
I notice that the generated example saves every resource in the
resourceset, but that would be too many in our case as we have very
We had started with the idea of a command stack listener which decided
which resources to save based on the getAffectedObjects method - however
it seems that does not return every affected object but the ones it deems
most suitable to be selected in the GUI.