Skip to main content


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 09:38 Go to next message
Marc Herrmann is currently offline Marc HerrmannFriend
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 15:17 Go to previous messageGo to next message
Marc Herrmann is currently offline Marc HerrmannFriend
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 09:18 Go to previous messageGo to next message
Marc Herrmann is currently offline Marc HerrmannFriend
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 10:51 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

sorry i have no idea, what about relizing this with a single outline.


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Multiple Outline Views [message #1198591 is a reply to message #1198491] Wed, 20 November 2013 12:01 Go to previous messageGo to next message
Marc Herrmann is currently offline Marc HerrmannFriend
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 12:56 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

i thought about using one provider and switch internal e.g. using eclipse prefs etc


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Call-hierarchy support
Next Topic:Beginner Question: Xtext Error RULE_ID
Goto Forum:
  


Current Time: Tue Apr 23 18:03:06 GMT 2024

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

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

Back to the top