Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » [XWT] XSD or Ecore ?
[XWT] XSD or Ecore ? [message #537469] Wed, 02 June 2010 14:47 Go to next message
labassim  is currently offline labassim Friend
Messages: 6
Registered: May 2010
Junior Member
Hi all,
I have just discovered XWT designer in Eclipse 4 and i find it's a great tool.
Well, I want to make an M2T transformation from an XWT model to generate some GWT code and I was wondering if there was a meta-model (XSD or Ecore) for XWT.
Thanks in advance.
Re: [XWT] XSD or Ecore ? [message #537487 is a reply to message #537469] Wed, 02 June 2010 15:19 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
Hi,

> I have just discovered XWT designer in Eclipse 4 and i find it's a great
> tool.
Please note that the name of the Visual tools is Visual Design editor.

> Well, I want to make an M2T transformation from an XWT model to generate
> some GWT code and I was wondering if there was a meta-model (XSD or Ecore)
> for XWT.
XWT provides a dynamic model mapping between XML and bebind UI Model in
Java. In other words, XWT UI model is almost the same as SWT/JFace. You can
find here the basic rules to find the corresponidng model:
http://wiki.eclipse.org/E4/XWT/SWT2XWT

And XWT provides a metamodels services to access the UI model in runtime.
XWT.getAllMetaclasses()
It returns you all registered UI Model. This services are used to load XML
file.

There is also a library to read XWT resource file in EMF:
org.eclipse.e4.xwt.tools.ui.xaml

Best regards
Yves YANG
"labassim" <mehdi.labassi@bull.net> wrote in message
news:hu5qtc$hfr$1@build.eclipse.org...
> Hi all,
> I have just discovered XWT designer in Eclipse 4 and i find it's a great
> tool.
> Well, I want to make an M2T transformation from an XWT model to generate
> some GWT code and I was wondering if there was a meta-model (XSD or Ecore)
> for XWT.
> Thanks in advance.
Previous Topic:Where does TableViewer select an entry?
Next Topic:[XWT] XSD or Ecore ?
Goto Forum:
  


Current Time: Wed Apr 24 18:55:36 GMT 2024

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

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

Back to the top