Bugfix
There is an unnecessary import in the SubtypesProvider class: the imported class is in the same package. This is noticeable after I updated Eclipse from 2019.09 to 2020.03.
Code Migration
- The com.top_logic.element.structured.SubtypesProvider type has been deleted.
- Its only method getAllowedTypesFor(...) was also deleted in StructuredElementFactory.
- StructuredElement.getChildrenTypes() can be used directly instead.
Test
Neither an old Eclipse (2019.09 or older) nor a current Eclipse (2020.03) shows a compiler error in the workspace.