Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » oaw: Outline View not working in xtext generated editor
oaw: Outline View not working in xtext generated editor [message #376926] Sat, 28 April 2007 13:47 Go to next message
Andreas Voss is currently offline Andreas VossFriend
Messages: 51
Registered: July 2009
Member
Hi all, I have generated an editor with the xtext wizard (my.dsl), wrote
a small grammar and generated the editor. The editor works fine for the
grammar, content folding works but the outline view remains empty.

I think I saw a working outline on jax 2007, is there a trick to get it
working?

Thanks,
Andreas
Re: oaw: Outline View not working in xtext generated editor [message #376933 is a reply to message #376926] Tue, 01 May 2007 17:43 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Andreas Voss wrote:
> Hi all, I have generated an editor with the xtext wizard (my.dsl), wrote
> a small grammar and generated the editor. The editor works fine for the
> grammar, content folding works but the outline view remains empty.
>
> I think I saw a working outline on jax 2007, is there a trick to get it
> working?
>
> Thanks,
> Andreas
There are two extensions (one for the labels, one for the images)
located in the extension file in the editor project you have to overwrite.
The default implementation looks for a property 'name' and invokes it.
If there is no such property the element (and it's children) will not be
displayed in the outline view.

Sven
Re: oaw: Outline View not working in xtext generated editor [message #581593 is a reply to message #376926] Tue, 01 May 2007 17:43 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Andreas Voss wrote:
> Hi all, I have generated an editor with the xtext wizard (my.dsl), wrote
> a small grammar and generated the editor. The editor works fine for the
> grammar, content folding works but the outline view remains empty.
>
> I think I saw a working outline on jax 2007, is there a trick to get it
> working?
>
> Thanks,
> Andreas
There are two extensions (one for the labels, one for the images)
located in the extension file in the editor project you have to overwrite.
The default implementation looks for a property 'name' and invokes it.
If there is no such property the element (and it's children) will not be
displayed in the outline view.

Sven
Previous Topic:[Epsilon] Informations about transformations strategies
Next Topic:Re: [TCS] TCS reference
Goto Forum:
  


Current Time: Tue Apr 23 10:55:01 GMT 2024

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

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

Back to the top