Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Multiple Outline Views
Multiple Outline Views [message #1187806] Fri, 15 November 2013 04:38 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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: Fri Jul 04 03:59:13 EDT 2025

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

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

Back to the top