adding Plugins adds Actions, button in toolbar and preferences page... [message #459501] |
Sun, 03 December 2006 09:52  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03946 seconds