|
Re: [Property Views] Customize property Views to display containment features. [message #1751873 is a reply to message #1751863] |
Mon, 16 January 2017 11:51 |
|
Hi,
input.emfEditServices(self) is just a helper for easy access to common queries and EMF Edit integration (access to the IItemLabelProvider & co). In an interpreted expression in your properties views definitions, you have access to all the AQL language, so you can create expressions like this:
aql:self.eClass().eAllStructuralFeatures->select(f | f.containment)
or any variant. Note however that this kind of "meta-level" query is needed for the default rules (where you probably found the expression you mention) because they must be written to be completely generic. In concrete cases where you know the metamodel you may not need that and can simply refer to the actual concrete feature(s) you are interested in (e.g. aql:self.myFeature).
Regards,
Pierre-Charles David
--
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03234 seconds