Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Manipulate getExportedObjects from third party DSL
Manipulate getExportedObjects from third party DSL [message #1234181] Tue, 21 January 2014 07:19 Go to next message
Eclipse UserFriend
Hi,

by default the name attribute of grammar objects is used to identify the "Exported Object" of a DSL. According to the documentation this can be changed by binding (IQualifiedNameProvider).

Unfortunately I'm not able to modify the injection bindings of the DSL (it is a third party DSL which I'm not allowed to modify), but need to reference to grammar objects without a name attribute but an ID.

How can this be achieved? I need to manipulate the "Exported Object" of the third party DSL in order to access the "non-named" grammar objects there.

Many thanks for your help
Kev
Re: Manipulate getExportedObjects from third party DSL [message #1234186 is a reply to message #1234181] Tue, 21 January 2014 07:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

this is not possible afaik.
Re: Manipulate getExportedObjects from third party DSL [message #1235898 is a reply to message #1234186] Sat, 25 January 2014 11:21 Go to previous message
Eclipse UserFriend
Hello,

I was just wondering - would it be possible to create another language plugin (say DSL2) that defines a variation of the base DSL ?

DSL2 would contain a Runtime Module that extends DSLRuntimeModule, and binds the desired implementation of IQualifiedNameProvider.

Regards
Vlad Gheorghe



Previous Topic:Multiline comments Xtext
Next Topic:[solved] On demand triggering of validation
Goto Forum:
  


Current Time: Fri Jul 04 08:53:05 EDT 2025

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

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

Back to the top