@Override
    public Stream<Item> fieldsFor(HasEnumConstantsProperty column) {

        final DOC document;
        try {
            @SuppressWarnings("unchecked")
            final DOC doc = (DOC) column;
            document = doc;
        } catch (final ClassCastException ex) {
            throw new SpeedmentException("Expected document to be a valid column, but was a '" + column.getClass().getName() + "'.");
        }

        return Stream.of(
            new AddRemoveStringItem<>(
                document,
                "Enum Constants", 
                document.enumConstantsProperty(),
                "Used for defining what constants the generated enum can have",
                Bindings.equal(document.typeMapperProperty(), StringToEnumTypeMapper.class.getName())
            )
        ).map(injector::inject);
    }
Editor for generating a comma-separated string.
<p>
We parse what values an enum should be able to take from a string, where
each element is separated by a comma. This editor allows the user
to easily edit such a string.

@param <DOC>  the column property type

@author  Simon Jonasson
@since   3.0.0
plugin-parent/enum-generator/src/main/java/com/speedment/plugins/enums/internal/ui/CommaSeparatedStringEditor.java