Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » [XWT] XSD or Ecore ?
[XWT] XSD or Ecore ? [message #577029] Wed, 02 June 2010 14:47 Go to next message
labassim  is currently offline labassim
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 #577048 is a reply to message #577029] Wed, 02 June 2010 15:19 Go to previous message
Yves YANG is currently offline Yves YANG
Messages: 687
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:[XWT] XSD or Ecore ?
Next Topic:Opening the e4 workbench designer distorts the screen
Goto Forum:
  


Current Time: Mon Oct 20 22:57:58 GMT 2014

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

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