Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » When is the RCP complete and the rest is done using plug-ins
When is the RCP complete and the rest is done using plug-ins [message #509627] Sat, 23 January 2010 18:54 Go to next message
John Steele is currently offline John SteeleFriend
Messages: 49
Registered: January 2010
Member
Hello,

My RCP application is getting very lengthy, and I'm not sure when it's time to stop working on the actual RCP application, and do the rest with plug-ins.

Is there a general layout that you usually use?

Say for example when you build an RCP application do you create one perspective, some menu/toolbar items, and some views, and then do the rest with plug-ins?

I'm finding my RCP app source folder to be very thick with different content/label providers, views, etc.

Thank you,

John
Re: When is the RCP complete and the rest is done using plug-ins [message #509672 is a reply to message #509627] Sun, 24 January 2010 14:56 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 418
Registered: July 2009
Senior Member
Hi John

You should stop working on your main RCP plugin as soon as possible. Then
start moving other parts of you application into separate modular plugins
(also known as bundles). A new perspective, for instance, sounds like a good
candidate to put in its own plugin. Please google a little to get some ideas.

Best regards,

Wim Jongman


> Hello,
>
> My RCP application is getting very lengthy, and I'm not sure when it's time
to stop working on the actual RCP application, and do the rest with plug-ins.
>
> Is there a general layout that you usually use?
>
> Say for example when you build an RCP application do you create one
perspective, some menu/toolbar items, and some views, and then do the rest
with plug-ins?
>
> I'm finding my RCP app source folder to be very thick with different
content/label providers, views, etc.
>
> Thank you,
>
> John
Re: When is the RCP complete and the rest is done using plug-ins [message #509710 is a reply to message #509627] Mon, 25 January 2010 07:15 Go to previous messageGo to next message
Michael Golovanov is currently offline Michael GolovanovFriend
Messages: 37
Registered: October 2009
Member
Hi

You can thinking about modularization on services(logic) and GUI.

And on GUI, as Wim sayed, good candidate separate on perspective basis.
Re: When is the RCP complete and the rest is done using plug-ins [message #509797 is a reply to message #509627] Mon, 25 January 2010 12:41 Go to previous message
Christian is currently offline ChristianFriend
Messages: 72
Registered: July 2009
Member
Am 23.01.2010 19:54, schrieb Mr. Steele:
> Hello,
> My RCP application is getting very lengthy, and I'm not sure when it's
> time to stop working on the actual RCP application, and do the rest with
> plug-ins.
> Is there a general layout that you usually use?
>
> Say for example when you build an RCP application do you create one
> perspective, some menu/toolbar items, and some views, and then do the
> rest with plug-ins?
>
> I'm finding my RCP app source folder to be very thick with different
> content/label providers, views, etc.
> Thank you,
> John

I would ask myself what the gain would be in modularization.

If your sourcefolder gets to thick, the first approach would be to
seperate it with normal java packages.

I would recommend separating UI and model/core into a 2 different
plugins at least.

Though the UI itself might only improve on further separation depending
on size. Question is what is your gain. More plugins might get you fewer
classes to watch over and a smaller plugin.xml which can thanks to
commands become very crowded. Though it also gives you some management
overhead. Like tracking before each release where exactly you changed
stuff so you change the version numbers in the plugins.

If features are optional for some installations in your application
separating them in some plugin naturally is the simplest way.

For the rest the answer seems to be: what ever is the least work for you
and yiels most beautiful code.

christian
Previous Topic:Nominate for Best RCP Application by Jan. 29
Next Topic:Using asyncExec in TitleAreaDialog
Goto Forum:
  


Current Time: Sun Nov 23 12:32:24 GMT 2014

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

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