Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Multiple Outline Views
Multiple Outline Views [message #1187806] Fri, 15 November 2013 04:38 Go to next message
Marc Herrmann is currently offline Marc Herrmann
Messages: 19
Registered: November 2013
Junior Member
Hello guys,

is it possible to have multiple outline views?

Or is it possible two switch between multiple TreeProviders by e.g. an action?

the folling methods are resposible for the provider right?

public Class<? extends IOutlineTreeProvider> bindIOutlineTreeProvider() {
		return MyDslOutlineTreeProvider.class;
	}

	public Class<? extends IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
		return MyDslOutlineTreeProvider.class;
	}

Thanks!
Re: Multiple Outline Views [message #1188320 is a reply to message #1187806] Fri, 15 November 2013 10:17 Go to previous messageGo to next message
Marc Herrmann is currently offline Marc Herrmann
Messages: 19
Registered: November 2013
Junior Member
In Addition to that, I also want to have Multiple LabelProviders. Is that possbile?

Background: I want to be able to switch in the outline view between the standard outline and a so called "call hierarchy" where i can see which references are in that file Smile

I decided to use the outline because there i have all the data i need Smile Is there a better solution?
Re: Multiple Outline Views [message #1198349 is a reply to message #1188320] Wed, 20 November 2013 04:18 Go to previous messageGo to next message
Marc Herrmann is currently offline Marc Herrmann
Messages: 19
Registered: November 2013
Junior Member
No one an idea?
Re: Multiple Outline Views [message #1198491 is a reply to message #1198349] Wed, 20 November 2013 05:51 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 5848
Registered: July 2009
Senior Member
Hi,

sorry i have no idea, what about relizing this with a single outline.
Re: Multiple Outline Views [message #1198591 is a reply to message #1198491] Wed, 20 November 2013 07:01 Go to previous messageGo to next message
Marc Herrmann is currently offline Marc Herrmann
Messages: 19
Registered: November 2013
Junior Member
Realizing it in one outline, i have to switch between different label providers and tree providers ... how can i do that?
Re: Multiple Outline Views [message #1198670 is a reply to message #1198591] Wed, 20 November 2013 07:56 Go to previous message
Christian Dietrich is currently offline Christian Dietrich
Messages: 5848
Registered: July 2009
Senior Member
Hi,

i thought about using one provider and switch internal e.g. using eclipse prefs etc
Previous Topic:Call-hierarchy support
Next Topic:Beginner Question: Xtext Error RULE_ID
Goto Forum:
  


Current Time: Sat Apr 19 06:12:29 EDT 2014

Powered by FUDForum. Page generated in 0.01795 seconds