Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » IPlatformRunnable versus IApplication in 3.3's RCP?
IPlatformRunnable versus IApplication in 3.3's RCP? [message #461977] Fri, 19 January 2007 13:53 Go to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
R3.2.1 (but looking ahead)

I see by checking out 3.3M4 for a trial run that IPlatformRunnable will be deprecated in favor of
IApplication. OK, but how to migrate? It looks, based on a quick glance at the two interfaces, like
the migration could be as simple as "in your RCP's 'Application' class, and everywhere else that you
use IPlatformRunnable, textually replace references to IPlatformRunnable with references
IApplication" -- but I worry that I am being too simple-minded. What is the correct procedure? (I
suppose this will be in the "3.2 to 3.3 migration guide", presumably not yet written?)

thanks,
Paul
Re: IPlatformRunnable versus IApplication in 3.3's RCP? [message #461978 is a reply to message #461977] Fri, 19 January 2007 14:25 Go to previous message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Paul Keyser wrote:
> R3.2.1 (but looking ahead)
>
> I see by checking out 3.3M4 for a trial run that IPlatformRunnable will
> be deprecated in favor of IApplication. OK, but how to migrate? It
> looks, based on a quick glance at the two interfaces, like the migration
> could be as simple as "in your RCP's 'Application' class, and everywhere
> else that you use IPlatformRunnable, textually replace references to
> IPlatformRunnable with references IApplication" -- but I worry that I am
> being too simple-minded. What is the correct procedure? (I suppose this
> will be in the "3.2 to 3.3 migration guide", presumably not yet written?)

AFAIK you replace IPlatformRunnable -> IApplication and put your
internals of IPlatformRunnable.run(Object) into the new
IApplication.start(IApplicationContext), thereby exchanging

IPlatformRunnable.EXIT_RESTART -> IApplication.EXIT_RESTART
IPlatformRunnable.EXIT_OK -> IApplication.EXIT_OK

Greetings from Bremen,

Daniel Krügler
Previous Topic:Error: MESSAGE Could not create action delegate for id:
Next Topic:to remove icons coming with package explorer
Goto Forum:
  


Current Time: Fri Apr 26 03:00:40 GMT 2024

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

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

Back to the top