Regenerate the EMF models of org.eclipse.e4.ui.model.workbench#3339
Conversation
|
While looking at eclipse-pde/eclipse.pde#1974 I noticed that other GenModels, the ones in this PR, could no longer regenerate the code and they generated results that undid the cleanups. With this PRs changes, the generator will do the same cleanups, including the instanceof cleanup, and is able to generate clean code. I had to change the project-specific preferences in a "not so nice way". Most of the generated changes are whitespace/formatting changes except for the two files that @iloveeclipse modified by hand. It is possible to preserver your changes to PartImpl and UIElementImpl. One might change the |
OK, the commit was 168689f and the aim was to reduce "noise" from I would like to "freeze" the code "as is", assuming if someone would need to see new attributes in debug output it is an easy task to add them manually. So what is the simplest solution to keep the code "as is"? |
fd69173 to
6c7465d
Compare
- Fix spelling mistakes in the Ecore model so they don't reappear in the generated code. - Change the GenModel compliance level to 21. - Configure the project-specific cleanup action to include instanceof cleanup which is not part of the `Eclipse [built-in]` profile so that the cleanup of the generated code includes that action.
6c7465d to
9c666db
Compare
I described the changes I made to preserve your toString changes. OK? |
Eclipse [built-in]profile so that the cleanup of the generated code includes that action.