Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » adding Plugins adds Actions, button in toolbar and preferences page...
adding Plugins adds Actions, button in toolbar and preferences page... [message #459501] Sun, 03 December 2006 09:52 Go to next message
Eclipse UserFriend
Originally posted by: buloup.laps.univ-mrs.fr

Hello,

I want to use FileEditorInput.
So I need to add org.eclipse.ui.ide (in dependencies of the manifest an in
the run configuration),
org.eclipse.update.core (only in the run configuration) and
org.eclipse.update.ui (only in the run configuration).
By this way my plugin is validated...

Now, when I run my appli there is a new button in the toolbar for managing
working sets and many preferences
in the preferences page (Appearance, workspace, update). Obviously, these
things have been added automatically
because of the new plugins...

Is-it possible to avoid several of these add ons (I don't want "managing
working sets", "Install/update", "workspace") all in keeping
some others (Appearance for instance) ?

thnks,
frank
Re: adding Plugins adds Actions, button in toolbar and preferences page... [message #459510 is a reply to message #459501] Mon, 04 December 2006 00:10 Go to previous messageGo to next message
Eclipse UserFriend
You can try to remove some of them in your ApplicationWorkbenchAdvisor's
initialize method. For example, to remove unneeded preference page, I use:

PreferenceManager preferenceManager =
configurer.getWorkbench().getPreferenceManager();
preferenceManager.remove("org.eclipse.help.ui.browsersPreferencePage ");



frank Buloup wrote:
>
> I want to use FileEditorInput.
> So I need to add org.eclipse.ui.ide (in dependencies of the manifest an in
> the run configuration),
> org.eclipse.update.core (only in the run configuration) and
> org.eclipse.update.ui (only in the run configuration).
> By this way my plugin is validated...
>
> Now, when I run my appli there is a new button in the toolbar for managing
> working sets and many preferences
> in the preferences page (Appearance, workspace, update). Obviously, these
> things have been added automatically
> because of the new plugins...
>
> Is-it possible to avoid several of these add ons (I don't want "managing
> working sets", "Install/update", "workspace") all in keeping
> some others (Appearance for instance) ?
>

--
With best regards, Michael Spector
Re: adding Plugins adds Actions, button in toolbar and preferences page... [message #459529 is a reply to message #459501] Mon, 04 December 2006 13:59 Go to previous message
Eclipse UserFriend
For most unwanted additions, you can remove them by creating activities,
binding them to the unwanted contribution by id, and then making the
activities disabled.

You can search this group for a number of discussions with good
examples, as well as check out the Help>Help Contents>Platform Plug-in
Developer Guide ... check out the advanced workbench concepts section.

Later,
PW
Previous Topic:PartInitException instead of editor opened - Newbie question
Next Topic:opening an editor with FileEditorInput
Goto Forum:
  


Current Time: Tue Mar 18 09:06:30 EDT 2025

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

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

Back to the top