Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EEF/User Guide/Custom Widget Generation
Need to generate new widgets ?
In the CustomElementEditor guide, we saw how to ponctually include specific widgets in EEF generated editing forms. If this need is becoming common, EEF offers the ability to extend its generators to generate new widgets.
Environment initialization
As we will create acceleo generator, we need to install the Acceleo SDK. It can be done via the release train:
Next, in an empty workspace, we create an Acceleo Project. In the new project wizard, we can initialize our first template:
Let's name it spinnerGettersSetter. It need two metamodels:
The other data are marginal, we will erase the generated body of this module.