Skip to main content


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 14:14 Go to next message
Greg Babcock is currently offline Greg BabcockFriend
Messages: 41
Registered: October 2012
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 17:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [xcore] Obtaining the featureID in op [message #947138 is a reply to message #946985] Tue, 16 October 2012 21:19 Go to previous message
Greg Babcock is currently offline Greg BabcockFriend
Messages: 41
Registered: October 2012
Member
Thanks,

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


Current Time: Tue Mar 19 04:10:34 GMT 2024

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

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

Back to the top