Skip to main content



      Home
Home » Eclipse Projects » Sirius » How can I use selection wizard to select from a list of String?(Selection Wizard)
How can I use selection wizard to select from a list of String? [message #1822948] Tue, 17 March 2020 05:16 Go to next message
Eclipse UserFriend
Hi,
I'm trying to use a selection wizard to choose the name of a component, and all the available names are saved in a config file which are all in the type of String. I see that the Candidate Expression property in the Selection Wizard mentioned that this expression should return a Collection of EObjects, but unfortunately String type is not an EObject. So I wonder is there any way I can put a list of String in the Selection Wizard's Candidates Expression without a great performance loss?
Thanks so much for any advice.
Re: How can I use selection wizard to select from a list of String? [message #1823147 is a reply to message #1822948] Fri, 20 March 2020 06:11 Go to previous message
Eclipse UserFriend
Hello,

The selection wizard (and other tool) are expecting model elements, you will have trouble to display information coming from a file that is not in the Sirius session (your config file). I think you either need to import the content of the config file as model elements, or have an action/button that open a custom dialog that process your config file.

Best regards,
Steve
Previous Topic:Node label margin
Next Topic:Element icons get blurred
Goto Forum:
  


Current Time: Sun Jun 22 08:53:03 EDT 2025

Powered by FUDForum. Page generated in 0.04698 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top