Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to use the plugin mechanism with RAP?
How to use the plugin mechanism with RAP? [message #137232] Mon, 22 June 2009 08:37 Go to next message
Eclipse UserFriend
Originally posted by: s0181013.mail.inf.tu-dresden.de

Hello everyone,

The Maildemo.ext shows an example of using the plugin mechanism on
extending the org.eclipse.rap.maildemo with a new navigationbar from the
org.eclipse.rap.maildemo.ext plugin.

I have a View in Plugin A and have written a widget as Composite in
Plugin B. How can I accomplish Plugin B being visible in the View of
Plugin A without importing my widget class of Plugin B in Plugin A?

Thanks
Re: How to use the plugin mechanism with RAP? [message #137244 is a reply to message #137232] Mon, 22 June 2009 08:59 Go to previous messageGo to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
If you don't want to have the dependency from A to B, you could declare
your own Extension Point (kind of widget factory) where Plugin B
contributes to.

Regards,
Stefan.

Jessica Nierth schrieb:
>
> I have a View in Plugin A and have written a widget as Composite in
> Plugin B. How can I accomplish Plugin B being visible in the View of
> Plugin A without importing my widget class of Plugin B in Plugin A?
>
> Thanks
Re: How to use the plugin mechanism with RAP? [message #137258 is a reply to message #137244] Mon, 22 June 2009 09:54 Go to previous message
Eclipse UserFriend
Originally posted by: s0181013.mail.inf.tu-dresden.de

Hello Stefan,

first of all, thanks for your reply!

> If you don't want to have the dependency from A to B, you could declare
> your own Extension Point (kind of widget factory) where Plugin B
> contributes to.
If there is no dependency from A to B ... where or how can I specify
which widget will be visualized in which view?

So I need somehow identify different Widgets, preferable by their
supporting API, which is not readable in the plugin.xml file and then I
need to specify which widget will should be visualized in which view,
could a hashMap with <Widget, View> be appropriate for that?

Sincerely

Jes
Previous Topic:Ribbon
Next Topic:RAP and org.eclipse.ui.services-Extension-Point
Goto Forum:
  


Current Time: Tue Apr 16 23:01:11 GMT 2024

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

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

Back to the top