Community
Participate
Working Groups
For core models with several packages, it is sometimes desirable to have an editor generated for only one of the packages (e.g. if that one contains the root element of the model and the other packages only contribute dependent elements). As Item Providers and corresponding adapter factories are created for all packages anyways, one editor is usually sufficient to create a model with elements from all packages. Currently, a workaround is to only generate the editor code for the desired package by selecting it in the GenModel editor and then running "Generate Editor". However, when sharing models with other people this policy cannot be easily enforced and there is the danger that someone runs "Generate All" from the GenModel root. An option similar to the GenPackage option "Generate Model Wizard" would be useful to deactivate generation of editor classes and corresponding extension declarations for a number of packages.