Community
Participate
Working Groups
It seems that TrimElementImpl is not used anywhere. In the UIElements.ecore file, the TrimElement doesn't have interface="true" property which then results in unnecessary class generation. If this class is meant only to exist as an interface like StackElement, WindowElement, PartSashContainerElement then it would be good to mark it as interface in the ecore and regenerate the model to make it as simple as possible.
Eric, does it sound reasonable to you?
Szymon, nice pickup :), yes 'TrimElement' should match the other 'containment' specifiers as being an interface... I'll bundle this with a few other model changes that we'll be making soon, thanks a lot.
Passing on to Paul...
Pushed fix to Gerrit for review. Note that change does not affect API - only Javadoc and a small amount of EMF metadata has changed. https://git.eclipse.org/r/18973
Released on master as: https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=937b734d57ce9d85b68624e2e8a05b09f2eb61d2
In 4.4.0.I20131209-2000, noticed the TrimElementImpl is still present. Needs to be removed, as it is now dead code (EMF no longer generates it.)
Patch to remove obsolete class TrimElementImpl. https://git.eclipse.org/r/19648
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=f7292e8781ab96b67f2e522332d6eae7101052b3 PW
Verified in 4.4.0.I20131211-2000