Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Prevent from adding or Remove/Hide Property Pages in Settings(how to remove/hide property pages added by other plugins)
Prevent from adding or Remove/Hide Property Pages in Settings [message #1700987] Wed, 08 July 2015 14:07 Go to next message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
Hello,

I'm including 3rd party plugins in my RCP Application. Unfortunately these plugins add Property Pages to my Settings.

how can i remove or hide these pages. or how can i configure Eclipse
to prevent adding them (something like a filter)?

thanks in advance!

PS: i use default settings for the 3rd party plugins and the user should not be flooded with too much. therefore a clean menue would be preferred

[Updated on: Wed, 08 July 2015 14:08]

Report message to a moderator

Re: Prevent from adding or Remove/Hide Property Pages in Settings [message #1701067 is a reply to message #1700987] Thu, 09 July 2015 07:40 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You can't do that easily - I'm not sure if activities apply to
preference pages but I found this
http://stackoverflow.com/questions/1460761/howto-hide-a-preference-page-in-an-eclipse-rcp
where they are removing the preference pages the hard way!

The ideal thing would be if you upstream dep would move the preference
stuff in an extra plugin so that you have:
* ...my.bundle
* ...my.bundle.preferences

or even better
* ...my.bundle
=> here is the implementations of views, preference pages, ...
* ...my.bundle.wbcontrib
=> here are the contributions they are making to the workbench (the
plugin.xml)


Tom

On 08.07.15 16:07, Ludwig Moser wrote:
> Hello,
>
> I'm including 3rd party plugins in my RCP Application. Unfortunately
> these plugins add Property Pages to my Settings.
>
> how can i remove or hide these pages. or how can i configure Eclipse to
> prevent adding them?
>
>
> thanks in advance!
>
> PS: i use default settings for the 3rd party plugins and the user should
> not be flooded with too much. therefore a clean menue would be preferred
Re: Prevent from adding or Remove/Hide Property Pages in Settings [message #1701257 is a reply to message #1701067] Fri, 10 July 2015 09:42 Go to previous message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
thanks this post was helpful.

so in
public void postStartup()
i can clean out the Preferences. but i was not able to clean out the menu there (eg 'run' gets contributed by an plugin.)

i already have a Handler which cleans up the menu fine, (i have it in the menue now to test it.)
my first intention was to call it on
public void postWindowOpen(IWorkbenchWindowConfigurer configurer)
but still no luck
Previous Topic:RCP 3.x register alternate service implementation with locator
Next Topic:Control doesn't flow into createInitialLayout() in RCP perspective Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 23:57:10 GMT 2024

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

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

Back to the top