Only use packages which are inside a plugin [message #436107] |
Tue, 30 August 2005 21:13  |
Eclipse User |
|
|
|
Hi,
I need to use some packages which are inside plugin, such as "new file
wizard" class in org.eclipse.ui.ide. But I don't have any intention to
include the "ide" plugin, which will contribute some views and menus not
needed. I notice some workaround that to "remove" these views and menus.
But, is it possible I just include that plugin as a library where I can use
the packages, rather than a dependent plugin? If possible, could you tell me
how to do it?
Thanks a lot.
Linwei
|
|
|
|
Re: Only use packages which are inside a plugin [message #436124 is a reply to message #436107] |
Wed, 31 August 2005 09:21  |
Eclipse User |
|
|
|
hovercheng wrote:
> Hi,
>
> I need to use some packages which are inside plugin, such as "new file
> wizard" class in org.eclipse.ui.ide. But I don't have any intention to
> include the "ide" plugin, which will contribute some views and menus not
> needed. I notice some workaround that to "remove" these views and menus.
> But, is it possible I just include that plugin as a library where I can use
> the packages, rather than a dependent plugin? If possible, could you tell me
> how to do it?
Short answer, no.
You could try and copy the classes from a plugin to a java project, and
see whatever it takes to get them to compile, include them in yours, and
then you're good to go.
If you want to be able to rely on what comes with eclipse, you'll have
to include the plugin and use one of the workarounds like:
Create an activity that will name all of the menu items/actions/etc that
you don't want, and then leave it disabled.
Later,
PW
|
|
|
Powered by
FUDForum. Page generated in 0.04170 seconds