Extend file [message #533347] |
Thu, 13 May 2010 09:36  |
Eclipse User |
|
|
|
Hi,
I write this function on a extend file but its uncomplete:
Quote: |
String typeSet(String s):
JAVA getEStructuralFeature(java.lang.String)
;
|
i want to check if an element "type" in my metamodel got a name,
so i need to have access to the element and to test if the name isnt null, by using just an en Extend files
mahmoud
|
|
|
|
|
|
Re: Extend file [message #533594 is a reply to message #533497] |
Fri, 14 May 2010 12:33  |
Eclipse User |
|
|
|
H Christian,
soory its my fault, i have my own metamodel, with its elements (but it still an ecore),i have some element that i used to access directlly but now, i want to used some ecore functions.
i nedd to do this :
Quote: |
context Entities::Attribute ERROR "msg" :
this.eClass().getEstructuralFeature("type").name!=null;
|
Entities : its my Epackage.
mahmoud
|
|
|
Powered by
FUDForum. Page generated in 0.03575 seconds