Community
Participate
Working Groups
As suggested by Ed's post news://news.eclipse.org:119/e1o3kb$g0n$1@utils.eclipse.org It would be nice to have more control over how the collectNewChildDescriptors code is generated. Unfortunately, ItemControl.javajet does not have a single override/include. So I am posting this bug as a request for enchancement for that class. I'll post my patches on what I found useful when solving the problem of Dynamically building the newChildDescriptors.
Created attachment 38615 [details] Override/Insert for collectNewChildDescriptors. This will allow the user to override/insert code whenever a child feature is of type Reference. It does not add any code to the CrossPackageCreateChildFeatures because I was not able to correctly identify what populates that collection.
Created attachment 38616 [details] Override/Insert for adding Factories to the Editor. Although I know the Editor code is just a starting point and most likely the Constructor is going to be tagged @generated not, the following patch allows the user to override which ItemProviderFactories are added to the Editor.
The changes have been committed to CVS. I've added control over all the parts of the new child descriptor creation code and I've also moved the editor's constructor code to a separate method so that the code is easier to specialized using the "rename-to-Gen" approach. This change includes contributed code from the patches. [contrib email="psodre@gmail.com"/]
*** Bug 141079 has been marked as a duplicate of this bug. ***
Fixed in I200704250200.
Move to verified as per bug 206558.