Community
Participate
Working Groups
user product have proxy node that use EMF framework when trying to update theses proxy that reference resources, all resource must have finished their physical action to be in good location with good name (EMF often load theses resource to update the model) so, we need an entry point so that theses update operations can be run when all resources are physically copied/pasted/moved/renamed inside TPTP, theses "final" update are performed inside a general EMFRefactoringTransaction. this mechanism is totally internal and closed to user product. we have to add an extension point mechanism so that user can declare their own final actions to be performed
We need to fix this. This is important.
Created attachment 178129 [details] patch this patch add new API for EMFRefactoringTransaction it add theses 2 methods : . public void addCustomChange(Change change) => allow user to add a custom change . public List<Change> getCustomChanges() => allow user to retrieve the list of all custom change theses custom change will be performed at end of EMFRefactoringTransaction commit part with theses entry points, user that have their own EMF change to be performed to update their EMF model when all physical change have already been done (so that any resource loading made by EMF will not fail)
Paul, could you please review this small patch ? many thanks to you
Reviewed and approved with comments: -Please make the new methods @provisional.
Note, this may have been resolved by defect 324996. Please confirm.
324996 is necessary but not enough, we have to deliver also this patch
patch pushed under 4.7.2 CVS closing
This defect had been resolved as FIXED for more than 1 month. Please verify with the latest TPTP 4.7.2 driver. If this defect is still left unverified by February 25, we'll close it on the originator's behalf. TPTP 4.7.2 driver can be downloaded from: http://www.eclipse.org/tptp/home/downloads/?ver=4.7.2
closing