Patch Set 8:

adding EMF SDK helped to fix compile errors

tried described example with your sample model:

We should not show the dialog "Selection Adjustment Required" if the selected resources including their model dependencies aren't dirty instead commit should then say "nothing to commit".