Hi Patrik,

I tried some similar code earlier when I was trying to write a more generic
function, but I always get an oAW validation error at "metaType".  The error
is:

"no viable alternative at input 'metaType'"

I'm not sure what this means.  I will post on the oAW forum.  We might not
hear back though cause they are probably busy working on RC2.

Thanks,
Polly


Patrik Nordwall wrote:
> 
> Maybe something like this:
> List[emf::EObject] objectsWithSameTypeAndName(emf::EObject this, String
> name) : 
>         allElements().select(d | (d.metaType = this.metaType) && (d.id()
> == name));
> 
> Can you adjust Extensions.ext and add the new checks and send me the
> changes, and I will commit it to trunk. 
> 
> /Patrik
> 

-- 
View this message in context: 
http://www.nabble.com/-Sculptor--Duplicate-name-validation-tp20901565s17564p20904688.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to