Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Genereta XML file with VE
Genereta XML file with VE [message #145485] Tue, 02 December 2008 00:03 Go to next message
burak celen is currently offline burak celenFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

i'm trying to generate a XML file with VE but i can only generate Java
source. How can i generate XML file?
Re: Genereta XML file with VE [message #145494 is a reply to message #145485] Tue, 02 December 2008 02:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nickboldt+eclipse+newsgroup.gmail.com

What's in your XML file?

Have you looked at any of the Modeling projects related to codegen? EMF,
JET, TMF... ?

http://www.eclipse.org/modeling/


burak celen wrote:
> Hi,
>
> i'm trying to generate a XML file with VE but i can only generate Java
> source. How can i generate XML file?
>

--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Re: Genereta XML file with VE [message #145517 is a reply to message #145494] Fri, 05 December 2008 16:45 Go to previous messageGo to next message
burak celen is currently offline burak celenFriend
Messages: 4
Registered: July 2009
Junior Member
Thanks,

In my XML file i keep the information about the which widgets use and
their information.My XML file like

<jframe>
<jpanel>
<jbutton>
<position>100 80</position>
<width>10</width>
<height10<height>
</jbutton>
</jpanel>
</jfram>

Normally ve generate Java file but i don't want it.I want to generate XML
file instead of Java file.
Re: Genereta XML file with VE [message #145530 is a reply to message #145517] Fri, 05 December 2008 19:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nickboldt+eclipse+newsgroup.gmail.com

If there's a schema or data model for that XML file, you could
potentially set up some sort of transform from .java to .xml; AFAIK VE
is backed by EMF, so you should be able to use that underlying model
framework to do some sort of model-to-model transform.

Perhaps asking in #eclipse-modeling on IRC or in one of the modeling
newsgroups would help? I'll copy this to EMF, M2M and M2T.

Failing the above, this sounds like a feature request for the VE project
-- "export to xml" or "transform java editor to XML representation".

Nick

burak celen wrote:
> Thanks,
>
> In my XML file i keep the information about the which widgets use and
> their information.My XML file like
>
> <jframe>
> <jpanel>
> <jbutton>
> <position>100 80</position>
> <width>10</width>
> <height10<height>
> </jbutton>
> </jpanel>
> </jfram>
>
> Normally ve generate Java file but i don't want it.I want to generate
> XML file instead of Java file.
>

--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Re: Genereta XML file with VE [message #145647 is a reply to message #145485] Mon, 12 January 2009 11:59 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
The generattion of XML UI is not supported in VE. I have worked on a project
for one of customers http://www.soyatec.com/services/vex-ccr.png.

I should say it is not an easy job. If you need help, please contact me.

Best regards
Yves YANG
soyatec yves.yang@soyatec.com
"burak celen" <celenburak@gmail.com> wrote in message
news:799e3b9392d4fad3ce28c7f4e56b0f00$1@www.eclipse.org...
> Hi,
>
> i'm trying to generate a XML file with VE but i can only generate Java
> source. How can i generate XML file?
>
Re: Genereta XML file with VE [message #617305 is a reply to message #145485] Tue, 02 December 2008 02:17 Go to previous message
Nick Boldt is currently offline Nick BoldtFriend
Messages: 481
Registered: July 2009
Senior Member
What's in your XML file?

Have you looked at any of the Modeling projects related to codegen? EMF,
JET, TMF... ?

http://www.eclipse.org/modeling/


burak celen wrote:
> Hi,
>
> i'm trying to generate a XML file with VE but i can only generate Java
> source. How can i generate XML file?
>

--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Re: Genereta XML file with VE [message #617307 is a reply to message #145494] Fri, 05 December 2008 16:45 Go to previous message
burak celen is currently offline burak celenFriend
Messages: 4
Registered: July 2009
Junior Member
Thanks,

In my XML file i keep the information about the which widgets use and
their information.My XML file like

<jframe>
<jpanel>
<jbutton>
<position>100 80</position>
<width>10</width>
<height10<height>
</jbutton>
</jpanel>
</jfram>

Normally ve generate Java file but i don't want it.I want to generate XML
file instead of Java file.
Re: Genereta XML file with VE [message #617308 is a reply to message #145517] Fri, 05 December 2008 19:24 Go to previous message
Nick Boldt is currently offline Nick BoldtFriend
Messages: 481
Registered: July 2009
Senior Member
If there's a schema or data model for that XML file, you could
potentially set up some sort of transform from .java to .xml; AFAIK VE
is backed by EMF, so you should be able to use that underlying model
framework to do some sort of model-to-model transform.

Perhaps asking in #eclipse-modeling on IRC or in one of the modeling
newsgroups would help? I'll copy this to EMF, M2M and M2T.

Failing the above, this sounds like a feature request for the VE project
-- "export to xml" or "transform java editor to XML representation".

Nick

burak celen wrote:
> Thanks,
>
> In my XML file i keep the information about the which widgets use and
> their information.My XML file like
>
> <jframe>
> <jpanel>
> <jbutton>
> <position>100 80</position>
> <width>10</width>
> <height10<height>
> </jbutton>
> </jpanel>
> </jfram>
>
> Normally ve generate Java file but i don't want it.I want to generate
> XML file instead of Java file.
>

--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Re: Genereta XML file with VE [message #617321 is a reply to message #145485] Mon, 12 January 2009 11:59 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
The generattion of XML UI is not supported in VE. I have worked on a project
for one of customers http://www.soyatec.com/services/vex-ccr.png

I should say it is not an easy job. If you need help, please contact me.

Best regards
Yves YANG
soyatec yves.yang@soyatec.com
"burak celen" <celenburak@gmail.com> wrote in message
news:799e3b9392d4fad3ce28c7f4e56b0f00$1@www.eclipse.org...
> Hi,
>
> i'm trying to generate a XML file with VE but i can only generate Java
> source. How can i generate XML file?
>
Previous Topic:palette in visual editor
Next Topic:palette Component on Visual editor
Goto Forum:
  


Current Time: Fri Apr 19 19:24:32 GMT 2024

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

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

Back to the top