Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Using Xtend for editor outline view
Using Xtend for editor outline view [message #33897] Wed, 25 March 2009 11:38 Go to next message
Eclipse UserFriend
Hello,

I'm trying to find out how to use Xtend for my editor's outline view in
the same way as EditorExtensions.ext is used in oAW's Xtext (which I
personally find more straight forward and comfortable).

I suppose that if I want to use the EditorExtensions.ext from oAW in TMF
Xtext, a binding in Abstract<MyLanguage>RuntimeModule.java must be
specified, so that the Xtend file is loaded. However, I cannot find a
suitable binding in DefaultRuntimeModule.java. Also, where do I tell
Xtext to use the Xtend file instead of the Java code
(SemanticModelTransformer)? Must I do this differently or am I missing
something?

Regards,
Johan
Re: Using Xtend for editor outline view [message #34198 is a reply to message #33897] Thu, 26 March 2009 03:01 Go to previous messageGo to next message
Eclipse UserFriend
Hi Johan,

we only have Xtend API for content assist and scoping so far.
So you'll either have to wait, use the existent Java-API or implment the
Xtend-based content provider on your own (and contribute it ;-)).

regards,
Sven

Johan Wannheden schrieb:
> Hello,
>
> I'm trying to find out how to use Xtend for my editor's outline view in
> the same way as EditorExtensions.ext is used in oAW's Xtext (which I
> personally find more straight forward and comfortable).
>
> I suppose that if I want to use the EditorExtensions.ext from oAW in TMF
> Xtext, a binding in Abstract<MyLanguage>RuntimeModule.java must be
> specified, so that the Xtend file is loaded. However, I cannot find a
> suitable binding in DefaultRuntimeModule.java. Also, where do I tell
> Xtext to use the Xtend file instead of the Java code
> (SemanticModelTransformer)? Must I do this differently or am I missing
> something?
>
> Regards,
> Johan
Re: Using Xtend for editor outline view [message #34229 is a reply to message #34198] Thu, 26 March 2009 03:09 Go to previous message
Eclipse UserFriend
Hi Sven,

thanks for your answer, I will look into that.

Regards, Johan

Sven Efftinge wrote:
> Hi Johan,
>
> we only have Xtend API for content assist and scoping so far.
> So you'll either have to wait, use the existent Java-API or implment the
> Xtend-based content provider on your own (and contribute it ;-)).
>
> regards,
> Sven
>
> Johan Wannheden schrieb:
>> Hello,
>>
>> I'm trying to find out how to use Xtend for my editor's outline view
>> in the same way as EditorExtensions.ext is used in oAW's Xtext (which
>> I personally find more straight forward and comfortable).
>>
>> I suppose that if I want to use the EditorExtensions.ext from oAW in
>> TMF Xtext, a binding in Abstract<MyLanguage>RuntimeModule.java must be
>> specified, so that the Xtend file is loaded. However, I cannot find a
>> suitable binding in DefaultRuntimeModule.java. Also, where do I tell
>> Xtext to use the Xtend file instead of the Java code
>> (SemanticModelTransformer)? Must I do this differently or am I missing
>> something?
>>
>> Regards,
>> Johan
Previous Topic:Bugzilla
Next Topic:[TCS] source campatible with ATL 3.0
Goto Forum:
  


Current Time: Fri May 09 08:40:41 EDT 2025

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

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

Back to the top