class FeatureActionsMenuProvider implements ContextMenuProvider<DataGroupContextKey> {

    public DataTypeInfo getDataTypes(DataGroupContextKey key)
    {
        Collection<DataTypeInfo> dataTypes = New.list(key.getDataTypes());
        key.getDataGroups().stream().filter(Objects::nonNull).forEach(group -> dataTypes.addAll(group.getMembers(false)));

        for (DataTypeInfo layer : dataTypes)
        {
            if (DataTypeChecker.isFeatureType(layer))
            {
                return layer;
            }
        }

        return null;
    }

    public  FeatureActionsMenuProvider(ActionEditorDisplayer displayer, UIRegistry uiRegistry);

}