Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Only use packages which are inside a plugin
Only use packages which are inside a plugin [message #436107] Wed, 31 August 2005 01:13 Go to next message
No real name is currently offline No real nameFriend
Messages: 9
Registered: July 2009
Junior Member
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 #436115 is a reply to message #436107] Wed, 31 August 2005 09:39 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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


Previous Topic:The required steps for adding a keybinding to a custom action/command ?
Next Topic:Built problems: eclipse3.1, cdt 3.0 and AIX 5.2
Goto Forum:
  


Current Time: Sun Dec 08 16:53:04 GMT 2024

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

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

Back to the top