Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Reassigning view categories
Reassigning view categories [message #642730] Thu, 02 December 2010 13:59 Go to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
An RCP application that incorporates views from other plugins (e.g.
third-party-plugins) would sometimes like to associate a different view
category for selection in the Show View dialog. But usually such a
third-party plugin also defines a corresponding view category and thus
fixes this name.

Is there some way to "override" the name of such a view category?
Actually, I'm not interested in modifying the name of someone else's
view category, but want to realize to provide this view in a different
group field in the "Show View..." dialog if this makes a difference.

I was searching for something like the perspectiveExtensions that allows
to customize an RCP applcation even in the presence of third-party
contributions, but did not find yet anything comparable.

Thanks & Greetings from Bremen,

Daniel Krügler
Re: Reassigning view categories [message #642810 is a reply to message #642730] Thu, 02 December 2010 18:34 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

There's the ever-popular product customization :-)

Here's the starting page: http://wiki.eclipse.org/Product_Customization

basically, you would use adapter hooks and XSLT to "fix" the view
definition in the plugin.xml *before* it is read into the system.

Note: I've seen this successfully work on a couple of occasions, but you
might have to fiddle with the steps as I haven't heard anybody talk
about this for a couple of releases now.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:-p2 directory call with -uninstallIU
Next Topic:Platform URL encoding: Also for strings?
Goto Forum:
  


Current Time: Fri Apr 26 12:11:31 GMT 2024

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

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

Back to the top