Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » IApplication versus IEntryPoint
IApplication versus IEntryPoint [message #644891] Tue, 14 December 2010 16:02 Go to next message
Tom H is currently offline Tom HFriend
Messages: 139
Registered: July 2009
Senior Member
I see from the documentation that RAP applications use the IEntryPoint and the RCP apps use the IApplication;
http://www.ibm.com/developerworks/opensource/library/os-ecli pse-richajax1/#N10123

However from some of the examples I see that RAP applications can implement IApplication;
http://wiki.eclipse.org/RAP/Equinox_Security_Integration

It looks like using IApplication as the entrypoint, is going to give you the bundle context for free given how it is called, plus a stop() method. (but I am not sure how that would be called in the RAP web environment)

So can I switch over my RAP apps to use the IAppplication entryPoint? what is the effect of this? and the recommended way?

Thanks,
T
Re: IApplication versus IEntryPoint [message #644915 is a reply to message #644891] Tue, 14 December 2010 17:52 Go to previous messageGo to next message
Benjamin Wolff is currently offline Benjamin WolffFriend
Messages: 136
Registered: July 2009
Senior Member
Hi,

i switched to the IApplication method supsequently as it was supported. There are no problems so far, you can also have multiple IApplication extensions registered.
The problem with the IApplication methods in the RAP (PDE) Tooling. When selecting a default entrypoint in the branding or in the run configuration, you cannot select the IApplication extension IDs. You have to enter them manually.

What do you mean by bundle context? Did you mean IApplicationContext? The bundle context is provided to the Activator class?!

HTH,
ben


Am 14.12.2010 17:02, schrieb Tom H:
> I see from the documentation that RAP applications use the IEntryPoint and the RCP apps use the IApplication;
> http://www.ibm.com/developerworks/opensource/library/os-ecli pse-richajax1/#N10123
>
> However from some of the examples I see that RAP applications can implement IApplication;
> http://wiki.eclipse.org/RAP/Equinox_Security_Integration
>
> It looks like using IApplication as the entrypoint, is going to give you the bundle context for free given how it is called, plus a stop() method. (but I am not sure how that would be called in the RAP web environment)
>
> So can I switch over my RAP apps to use the IAppplication entryPoint? what is the effect of this? and the recommended way?
>
> Thanks,
> T
Re: IApplication versus IEntryPoint [message #645064 is a reply to message #644891] Wed, 15 December 2010 13:23 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

IApplication is fully supported since 1.4, so you can now use either
IEntryPoint or IApplication. Since it is the standard in Eclipse, I would
recommend to use IApplication for new applications.

The 1.4 Tooling handles IApplications in the launch configuration.
Branding EP is still a problem.

Regards, Ralf

--
Ralf Sternberg

Twitter: http://twitter.com/ralfstx
Blog: http://www.eclipsesource.com/blogs/

Professional support for RAP and RCP?
http://www.eclipsesource.com/support/
Previous Topic:Focus event over IPad (mobile safari)
Next Topic:Tree H_SCROLL and Images
Goto Forum:
  


Current Time: Thu Apr 18 02:17:23 GMT 2024

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

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

Back to the top