Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to declare depend on an extension point?
icon5.gif  How to declare depend on an extension point? [message #546806] Wed, 14 July 2010 09:45 Go to next message
KwanKin Yau is currently offline KwanKin YauFriend
Messages: 32
Registered: July 2009
Member
Hi,

My bundle want to declare an extension of "org.eclipse.ui.actionSets", but I can't see this extension point in "New extension" wizard, and I dont known how to add an dependent declaration in MANIFEST.MF.

Please help me, thanks!
Re: How to declare depend on an extension point? [message #546856 is a reply to message #546806] Wed, 14 July 2010 12:43 Go to previous messageGo to next message
Holger Staudacher is currently offline Holger StaudacherFriend
Messages: 166
Registered: July 2009
Senior Member
Hi,
you will find a dependency tab on the bottom of the manifest editor.
Click on that and ad org.eclipse.rap.ui. If everything works well, you
should see the extension point.

Regards Holger

On 2010-07-14 11:45:36 +0200, Yau <alphax@vip.163.com> said:

> Hi,
> My bundle want to declare an extension of "org.eclipse.ui.actionSets",
> but I can't see this extension point in "New extension" wizard, and I
> dont known how to add an dependent declaration in MANIFEST.MF.
>
> Please help me, thanks!


--
-----------------------------------------

http://eclipsesource.com

http://twitter.com/eclipsesource
Re: How to declare depend on an extension point? [message #547011 is a reply to message #546856] Thu, 15 July 2010 01:47 Go to previous messageGo to next message
KwanKin Yau is currently offline KwanKin YauFriend
Messages: 32
Registered: July 2009
Member
Thanks Holger, but if I do so, my bundle will depend on RAP directly, when switch to RCP, I want to change the dependency again. Is there any other way to achieve this goal?
Re: How to declare depend on an extension point? [message #547198 is a reply to message #547011] Thu, 15 July 2010 21:41 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

you can add dependencies to both RCP and RAP and mark both as optional.
Just check the "Optional" checkbox in the Properties dialog for the
dependencies.

Ralf

Yau wrote:
> Thanks Holger, but if I do so, my bundle will depend on RAP directly,
> when switch to RCP, I want to change the dependency again. Is there any
> other way to achieve this goal?
Re: How to declare depend on an extension point? [message #548187 is a reply to message #547198] Wed, 21 July 2010 02:28 Go to previous message
KwanKin Yau is currently offline KwanKin YauFriend
Messages: 32
Registered: July 2009
Member
Thanks!
Previous Topic:rap.equinox.registry not needed anymore?
Next Topic:Runtime dependency from non-plugin-project
Goto Forum:
  


Current Time: Thu Dec 26 20:42:11 GMT 2024

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

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

Back to the top