Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How can get all the enumeration literals using AQL
How can get all the enumeration literals using AQL [message #1760951] Thu, 04 May 2017 14:27
Hayet Brabra is currently offline Hayet BrabraFriend
Messages: 2
Registered: May 2017
Junior Member
I'm actually creating my specific Properties Views using Siruis Obeo. Particularly I want to create a select widget that contains all enumeration literals. In fact, I have a class 'resource' with an attribute called type and this type is an enumeration. In the properties view I want to display this Type through a select widget. So I am wondering how can get all the enumeration literals using AQL. I tried by this aql expression("aql:self.eResource().getContents().eAllContents(myModel::types)) but it does not work. I have uploaded a picture of my current Settings,
  • Attachment: type.PNG
    (Size: 15.45KB, Downloaded 46 times)
Previous Topic:Eclipse Neon on Ubuntu Budgie
Next Topic:Suddenly getting "Missing artifact com.sun:tools:jar:0" in Maven project
Goto Forum:

Current Time: Fri Mar 23 14:52:30 GMT 2018

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

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