Community
Participate
Working Groups
Basic form editors should allows using custom adapter factories. Therefore, we should adapt the implementation of the org.eclipse.sphinx.emf.editors.forms.BasicTransactionalFormEditor#getAdapterFactory() method.
Fixed by adding: - org.eclipse.sphinx.emf.editors.forms.BasicTransactionalFormEditor#getCustomAdapterFactory() method that return null by default. Clients which want to use their own adapter factory that creates item providers which are specifically designed for the editor in which this form editor is used may override this method and return any adapter factory of their choice. - modification of the org.eclipse.sphinx.emf.editors.forms.BasicTransactionalFormEditor#getAdapterFactory() method like this: public AdapterFactory getAdapterFactory() { EditingDomain editingDomain = getEditingDomain(); AdapterFactory customAdapterFactory = getCustomAdapterFactory(); if (customAdapterFactory != null) { return customAdapterFactory; } else if (editingDomain != null) { return ((AdapterFactoryEditingDomain) editingDomain).getAdapterFactory(); } return null; }
Mass-closing Resolved tickets