Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsreference but in content assist
https://www.eclipse.org/forums/index.php/mv/msg/264085/762307/#msg_762307
Is it possible to let content assist list all pre-entered instances of some rule?
because cross reference restricts me
Regards,
Mokhtar]]>Mokhtar Alshubei2011-12-07T21:19:29-00:00Re: reference but in content assist
https://www.eclipse.org/forums/index.php/mv/msg/264085/762310/#msg_762310
i do not understand this can you elaborate a bit on this? basically "everything" is possible in CA.
~Christian]]>Christian Dietrich2011-12-07T21:25:22-00:00Re: reference but in content assist
https://www.eclipse.org/forums/index.php/mv/msg/264085/762313/#msg_762313
in my editor out of my DSL i want if user presses Ctrl space she gets a list of some element instances as if it was defined as cross reference.
reason is cross reference ref = [MyRule] asks exactly identical instances of MyRule whereas i need to show part of MyRule features.
If you would say okay reference that part, i would say it is complicated to specify its Qname.
Regards, Mokhtar]]>Mokhtar Alshubei2011-12-07T21:34:17-00:00Re: reference but in content assist
https://www.eclipse.org/forums/index.php/mv/msg/264085/762315/#msg_762315
~Christian]]>Christian Dietrich2011-12-07T21:38:18-00:00Re: reference but in content assist
https://www.eclipse.org/forums/index.php/mv/msg/264085/762318/#msg_762318
Model: elements+=Elements*
Element: Person|FriendShip;
Person: 'person' name=ID 'from' country=ID ;
FreindShip:person=[Person] 'is friend with' freind=[Person] ;
okay given this valid input:
person Mokhtar from "Yemen"
person Christian from "Holand"
Mokhtar is friend with Christian
My Question: can one in CA collect the persons and countries defined above and list them without using that cross-reference?
i.e the rule would be:
FriendShip: person= Person 'is friend with' friend = Person;
Thank you so much,
Mokhtar]]>Mokhtar Alshubei2011-12-07T21:47:16-00:00Re: reference but in content assist
https://www.eclipse.org/forums/index.php/mv/msg/264085/762320/#msg_762320
Christian Dietrich2011-12-07T21:49:33-00:00Re: reference but in content assist
https://www.eclipse.org/forums/index.php/mv/msg/264085/762322/#msg_762322
Mokhtar]]>Mokhtar Alshubei2011-12-07T21:54:49-00:00Re: reference but in content assist
https://www.eclipse.org/forums/index.php/mv/msg/264085/762363/#msg_762363
thank you
Mokhtar]]>Mokhtar Alshubei2011-12-08T00:01:15-00:00Re: reference but in content assist
https://www.eclipse.org/forums/index.php/mv/msg/264085/762389/#msg_762389
generated in the model instead of a string. Noone would prefer a
string over a real ref]]>Christian Dietrich2011-12-08T01:08:16-00:00