How to specify the property values menu part?


I'm trying to specify a list of property values for a concept property so that I get custom completion. I can't instantiate the list<string> that I need to return from the menu part because the completion only allows me to instantiate array lists. I'm following the instructions in the user manual. Should I be doing something different?



1 comment
Comment actions Permalink

Hi Rob,

the list<string> which you are required to return is actually an abstract type and can't be instantiated. Instead you should instantiate and return an instance of a concrete type, such as arraylist<string>. Alternatively, you can use "toList" operation on a sequence.




Please sign in to leave a comment.