Skip to main content



      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 09:47 Go to next message
Eclipse UserFriend
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 13:43 Go to previous message
Eclipse UserFriend
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 13:43 Go to previous message
Eclipse UserFriend
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: Sat Apr 19 11:39:16 EDT 2025

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

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

Back to the top