Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Getting the id of a enumeration option value

Wieant Nielander wrote:

I agree that passing the enum id would have made more sense. But you
should be able to retreive the id using option.getEnumeratedId(enumValue).

This went well until I got two enumeration value with the same name but different ids (and commands). I had to rename them to avoid weird behavior.

--
/Jesper




Back to the top