Let’s say I have a HasTraits object with a Tuple or a List attribute. Is there a way to set up an editor that would display (or allow to edit, in the case of a List), for example, only the first element of the sequence?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On the epd-users mailing list, I got the following answer: define a new trait as a property that depends on the tuple, and create an editor for this new Property.
Something like:
(and likewise a setter if necessary).