| manage the String type and what is generated from my dsl Grammar [message #896940] |
Fri, 20 July 2012 09:38  |
frank fotso Messages: 88 Registered: May 2012 |
Member |
|
|
hi All,
i would like to manage what is generated from my Dsl grammar ( that means if i have for example the following rule in my grammar :
TSenderReceiverInterface:
(annotations +=TAnnotation)*
'interface' 'senderReceiver' (isService?='service')? name=ID '{'
(dataElements += TDataElement)*
'}'
;
after running the workflow and hte MWe2 file as an eclipse application , the edited file that i would have , i wat it such that when i using the content assist the file propose is this :
interface senderReceiver [color=skyblue]name [/color]{
}
, ie i wanx xtext to propose me a name as default name and ii dont want to be the one entry name all the time , but what i have now , i'm the one entry the name all the time.
also i want proposed name or the enter to be unique , i was thinking that is the case when you are using ID instead of String but is not the case.
any ideas on which class i need to modify to handle that problem.
also
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01669 seconds