Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] How to add an item on an enumerated IOption ?



Like in this thread, I want to add/remove enumeratedOptionValue for my option (type enumerated so) !

I have a look on the source you mentioned :, but all is done for a string_list type option :

List<String> list = (List<String>)option.getValue();

String[] values2 = option.getBasicStringListValue();

OptionStringValue[] values3 = option.getBasicStringListValueElements();

All the methods in red is for sting_list type option.


How can I recover the list of the current enumeratedOptionValue ?

How can I change it with my enumeratedOptionValue ?


It’s possible ?


Thank you !

Back to the top