Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Linking to a java class with specific criteria ?
Linking to a java class with specific criteria ? [message #908772] Thu, 06 September 2012 01:18
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
Hi,

I have a challenge here and would like any help to start digging.

In my dsl (not using Xbase) I have a rule that contains a String:

MyRule:
'name' name = ID
'sentence'sentence = String
;

---

name "sentenceString"


I need to link the sentence string with one java class in the classpath of the model project that contains any method annotated with @MyAnn("sentenceString"). And if there are more than two options I must to create a warning saying how many occurrences were found.

Could someone give any tip ?

thanks,

Cristiano
Previous Topic:Editing in-memory content
Next Topic:How to refer to two rules at the same time
Goto Forum:
  


Current Time: Mon Feb 24 00:19:40 GMT 2020

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

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

Back to the top