Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [xcore] Obtaining the featureID in op ([xcore] Obtaining the featureID in op )
[xcore] Obtaining the featureID in op [message #946795] Tue, 16 October 2012 10:14 Go to next message
Greg Babcock is currently offline Greg Babcock
Messages: 24
Registered: October 2012
Junior Member
With the assistance of this forum, I was able to create a Diagnostic with a data array that included the object being validated.

I need to add an EAttribute to the data array for a complete implementation, but have no idea how to accomplish that, or if it is even possible.
Re: [xcore] Obtaining the featureID in op [message #946985 is a reply to message #946795] Tue, 16 October 2012 13:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25747
Registered: July 2009
Senior Member
With the fixes in the SR1 build, something like
XyzPackage$Literals::ABC__DEF should work, with the appropriate names
for your package interface, class, and feature.


On 16/10/2012 5:23 PM, Greg Babcock wrote:
> With the assistance of this forum, I was able to create a Diagnostic
> with a data array that included the object being validated.
> I need to add an EAttribute to the data array for a complete
> implementation, but have no idea how to accomplish that, or if it is
> even possible.
Re: [xcore] Obtaining the featureID in op [message #947138 is a reply to message #946985] Tue, 16 October 2012 17:19 Go to previous message
Greg Babcock is currently offline Greg Babcock
Messages: 24
Registered: October 2012
Junior Member
Thanks,

Worked as advertised Cool
Previous Topic:Validating a model instance with the generated XSD Schema
Next Topic:[EMF]
Goto Forum:
  


Current Time: Sun Apr 20 04:23:59 EDT 2014

Powered by FUDForum. Page generated in 0.02027 seconds