|
Re: Only use packages which are inside a plugin [message #436115 is a reply to message #436107] |
Wed, 31 August 2005 09:39 |
Eclipse User |
|
|
|
Originally posted by: mail4zlq.gmail.com
Maybe you can jast include the jar as a library by add it to the java
build path.just guess :-)
> 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 13:21 |
|
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
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
|
Powered by
FUDForum. Page generated in 0.02929 seconds