Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » XWT + RCP
XWT + RCP [message #574326] Fri, 16 April 2010 00:33 Go to next message
Eclipse UserFriend
I've been studying the ins and outs of RCP. After a while I discovered e4 and XWT, which was a huge relief as far as UI programming goes.

After a few days of study, I still have not figured out how to integrate XWT UI files with RCP views. Is this even necessary anymore?

So.. the question is.. is integrating XWT with RCP possible? How is it done? Is there a better way to do it? For example, I build a view with XWT, and I want to make it the UI for a view inside my RCP plugin.

Thank you.
Re: XWT + RCP [message #574447 is a reply to message #574326] Fri, 16 April 2010 10:44 Go to previous message
Eclipse UserFriend
Hi Bijan,

Please see my comments below:

"Bijan" <bijan.pourriahi@gmail.com> wrote in message
news:hq8pao$s24$1@build.eclipse.org...
> I've been studying the ins and outs of RCP. After a while I discovered e4
> and XWT, which was a huge relief as far as UI programming goes.
> After a few days of study, I still have not figured out how to integrate
> XWT UI files with RCP views. Is this even necessary anymore?
>
> So.. the question is.. is integrating XWT with RCP possible? How is it
> done? Is there a better way to do it? For example, I build a view with
> XWT, and I want to make it the UI for a view inside my RCP plugin.

e4
==
If you want to use directly the last version of workbench (e4), you can look
at the Contact demo in the e4 repository:
e4/org.eclipse.e4.xwt/examples/

The Visual Designer in the las version provides some palette tools to create
a Java based Prt and XWT Part. Please read e4 M5 News and Worthy
http://download.eclipse.org/e4/downloads/drops/S-1.0M5-20100 4111600/e4-news-M5.html


eclipse 3.x
========
If you use eclipse 3.x, there is a bundle for this purpose:
org;eclipse.e4.xwt.pde. This plugin defines some abstract View Part, you
need to create a subclass by providing the UI resource in URL. And you
declare your ViewPart as usual in plugin.xml. There is an example in
org.eclipse.e4.xwt.tools.ui\src\org\eclipse\e4\xwt\ui\views\ XWTView

Best regards
Yves YANG
Previous Topic:XWT + RCP
Next Topic:XWT. Using TableViewer.columns. Why?
Goto Forum:
  


Current Time: Thu Jul 10 01:34:45 EDT 2025

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

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

Back to the top