Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Extending Visual Editor to generate XML instead of Java code
Extending Visual Editor to generate XML instead of Java code [message #135081] Fri, 19 January 2007 23:32 Go to next message
Eclipse UserFriend
Originally posted by: sunil_ramaiah.intuit.com

Hi,

If I want to extend VE to create an XML file instead of java source code,
where should I start. Any help is appreciated. If there is a working
example that would greatly benefit.

Thanks,
Sunil.
Re: Extending Visual Editor to generate XML instead of Java code [message #135120 is a reply to message #135081] Sun, 21 January 2007 23:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwarner.uneedspeed.net

Sunil wrote:
> Hi,
>
> If I want to extend VE to create an XML file instead of java source
> code, where should I start. Any help is appreciated. If there is a
> working example that would greatly benefit.
> Thanks,
> Sunil.
>

I would like to extend VE so that I can modify the way it generates getter / setter code.

Is there a way to do that??? Where does VE hide it's code generation templates???
Re: Extending Visual Editor to generate XML instead of Java code [message #135133 is a reply to message #135081] Mon, 22 January 2007 04:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

Depends what you mean. If you're looking at something for editing XML files visually, then perhaps you should look at GMF, which allows you to take EMF models and translate them into visual editors.

Alex.
Re: Extending Visual Editor to generate XML instead of Java code [message #135215 is a reply to message #135133] Tue, 23 January 2007 19:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_ramaiah.intuit.com

I would like to use the VE to visually create a form, but I want to be
able to use an alternative persistence format other than Java, such as XML
( XSWT, XAML, SwingML ). I have a proprietry XML format to describe the
GUI and I would like to extend VE to write it this format and vice-versa.

Thanks,
Sunil.
Re: Extending Visual Editor to generate XML instead of Java code [message #135225 is a reply to message #135215] Wed, 24 January 2007 03:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

Ah. Then you're almost certainly completely out of luck. That would likely be a massive change to the way that VE works, and not something you could just flick a switch to configure, so no.

The only way you'd do that is if you used VE to create the GUI, then instantiated it, and iterated over the components and constructed an appropriate form yourself.

You might also look at SWTDesigner (I think) or the other WindowsBuilderPro type Eclipse apps which might offer that kind of functionality; but AFAIK this is unlikely with the current VE.

Alex.
Re: Extending Visual Editor to generate XML instead of Java code [message #135236 is a reply to message #135225] Wed, 24 January 2007 18:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_ramaiah.intuit.com

This is an abstract from the description of "(3629) Extending the Eclipse
Visual Editor - deep dive" a short tutorial planned to be presented in
EclipseCon 2007.

2) Using an alternative persistence format other than Java, such as XML.
This is useful for those who are using technologies such as XSWT, XAML,
SwingML and other markup languages to describe their GUI.

This gave me the hope that it could be done. I do understand it would be
very involved. Guess I will have to wait till the conference to figure it
out.

Thanks,
Sunil.
Re: Extending Visual Editor to generate XML instead of Java code [message #507194 is a reply to message #135236] Tue, 12 January 2010 13:05 Go to previous messageGo to next message
Ozkan Demir is currently offline Ozkan DemirFriend
Messages: 2
Registered: January 2010
Junior Member
Hi;

Hence the EclipseCon 2007 is over Smile Did you find any answer?

Thanks...
Re: Extending Visual Editor to generate XML instead of Java code [message #507341 is a reply to message #507194] Wed, 13 January 2010 00:42 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
We are working on it. The project is incubated in e4. There are wo tools: e4
Designer and XWT Designer. I suppose when they graduate, they will come back
in VE.

yves
"Ozkan Demir" <ozkandemir80@gmail.com> wrote in message
news:hihs3d$ppp$1@build.eclipse.org...
> Hi;
>
> Hence the EclipseCon 2007 is over :) Did you find any answer?
>
> Thanks...
Re: Extending Visual Editor to generate XML instead of Java code [message #509140 is a reply to message #507194] Thu, 21 January 2010 13:52 Go to previous messageGo to next message
Sanjeev  is currently offline Sanjeev Friend
Messages: 15
Registered: July 2009
Junior Member
Try SwixEditor, which is uses some core VE plugins to persist UI in swixml. You can download the editor from http://www.invivosoft.com/downloads/swixplugins_3.2.25.zip

This editor can be customized to render any custom xml schema. I can provide instructions on building such an editor. I'm also trying to opensource swixeditor, and if someone can help me with instructions on how to opensource it, I can donate all the code.'

Thanks
Re: Extending Visual Editor to generate XML instead of Java code [message #509465 is a reply to message #509140] Fri, 22 January 2010 09:22 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
We have also some experiences with this architecture. We have developped two
editors: one for XSWT and another for a proprietary UI XML. Our conclusion
is the architetcure is too complicate with VE based on 2 JVMS and JEM. And
the system is not flexible enough. Based on XML, it could be much simple and
powerful. It is what we adopt in XWT Designer.

Best regards
Yves YANG
"Sanjeev" <sanjeevk@invivosoft.com> wrote in message
news:hj9m78$sle$1@build.eclipse.org...
> Try SwixEditor, which is uses some core VE plugins to persist UI in
> swixml. You can download the editor from
> http://www.invivosoft.com/downloads/swixplugins_3.2.25.zip
>
> This editor can be customized to render any custom xml schema. I can
> provide instructions on building such an editor. I'm also trying to
> opensource swixeditor, and if someone can help me with instructions on how
> to opensource it, I can donate all the code.'
>
> Thanks
>
Re: Extending Visual Editor to generate XML instead of Java code [message #615013 is a reply to message #135081] Sun, 21 January 2007 23:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwarner.uneedspeed.net

Sunil wrote:
> Hi,
>
> If I want to extend VE to create an XML file instead of java source
> code, where should I start. Any help is appreciated. If there is a
> working example that would greatly benefit.
> Thanks,
> Sunil.
>

I would like to extend VE so that I can modify the way it generates getter / setter code.

Is there a way to do that??? Where does VE hide it's code generation templates???
Re: Extending Visual Editor to generate XML instead of Java code [message #615014 is a reply to message #135081] Mon, 22 January 2007 04:42 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Depends what you mean. If you're looking at something for editing XML files visually, then perhaps you should look at GMF, which allows you to take EMF models and translate them into visual editors.

Alex.
Re: Extending Visual Editor to generate XML instead of Java code [message #615020 is a reply to message #135133] Tue, 23 January 2007 19:27 Go to previous messageGo to next message
Sunil Ramaiah is currently offline Sunil RamaiahFriend
Messages: 14
Registered: July 2009
Junior Member
I would like to use the VE to visually create a form, but I want to be
able to use an alternative persistence format other than Java, such as XML
( XSWT, XAML, SwingML ). I have a proprietry XML format to describe the
GUI and I would like to extend VE to write it this format and vice-versa.

Thanks,
Sunil.
Re: Extending Visual Editor to generate XML instead of Java code [message #615021 is a reply to message #135215] Wed, 24 January 2007 03:26 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Ah. Then you're almost certainly completely out of luck. That would likely be a massive change to the way that VE works, and not something you could just flick a switch to configure, so no.

The only way you'd do that is if you used VE to create the GUI, then instantiated it, and iterated over the components and constructed an appropriate form yourself.

You might also look at SWTDesigner (I think) or the other WindowsBuilderPro type Eclipse apps which might offer that kind of functionality; but AFAIK this is unlikely with the current VE.

Alex.
Re: Extending Visual Editor to generate XML instead of Java code [message #615022 is a reply to message #135225] Wed, 24 January 2007 18:15 Go to previous messageGo to next message
Sunil Ramaiah is currently offline Sunil RamaiahFriend
Messages: 14
Registered: July 2009
Junior Member
This is an abstract from the description of "(3629) Extending the Eclipse
Visual Editor - deep dive" a short tutorial planned to be presented in
EclipseCon 2007.

2) Using an alternative persistence format other than Java, such as XML.
This is useful for those who are using technologies such as XSWT, XAML,
SwingML and other markup languages to describe their GUI.

This gave me the hope that it could be done. I do understand it would be
very involved. Guess I will have to wait till the conference to figure it
out.

Thanks,
Sunil.
Re: Extending Visual Editor to generate XML instead of Java code [message #618354 is a reply to message #135236] Tue, 12 January 2010 13:05 Go to previous messageGo to next message
Ozkan Demir is currently offline Ozkan DemirFriend
Messages: 2
Registered: January 2010
Junior Member
Hi;

Hence the EclipseCon 2007 is over :) Did you find any answer?

Thanks...
Re: Extending Visual Editor to generate XML instead of Java code [message #618355 is a reply to message #618354] Wed, 13 January 2010 00:42 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
We are working on it. The project is incubated in e4. There are wo tools: e4
Designer and XWT Designer. I suppose when they graduate, they will come back
in VE.

yves
"Ozkan Demir" <ozkandemir80@gmail.com> wrote in message
news:hihs3d$ppp$1@build.eclipse.org...
> Hi;
>
> Hence the EclipseCon 2007 is over :) Did you find any answer?
>
> Thanks...
Re: Extending Visual Editor to generate XML instead of Java code [message #618359 is a reply to message #618354] Thu, 21 January 2010 13:52 Go to previous messageGo to next message
Sanjeev  is currently offline Sanjeev Friend
Messages: 15
Registered: July 2009
Junior Member
Try SwixEditor, which is uses some core VE plugins to persist UI in swixml. You can download the editor from http://www.invivosoft.com/downloads/swixplugins_3.2.25.zip

This editor can be customized to render any custom xml schema. I can provide instructions on building such an editor. I'm also trying to opensource swixeditor, and if someone can help me with instructions on how to opensource it, I can donate all the code.'

Thanks
Re: Extending Visual Editor to generate XML instead of Java code [message #618360 is a reply to message #618359] Fri, 22 January 2010 14:06 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
We have also some experiences with this architecture. We have developped two
editors: one for XSWT and another for a proprietary UI XML. Our conclusion
is the architetcure is too complicate with VE based on 2 JVMS and JEM. And
the system is not flexible enough. Based on XML, it could be much simple and
powerful. It is what we adopt in XWT Designer.

Best regards
Yves YANG
"Sanjeev" <sanjeevk@invivosoft.com> wrote in message
news:hj9m78$sle$1@build.eclipse.org...
> Try SwixEditor, which is uses some core VE plugins to persist UI in
> swixml. You can download the editor from
> http://www.invivosoft.com/downloads/swixplugins_3.2.25.zip
>
> This editor can be customized to render any custom xml schema. I can
> provide instructions on building such an editor. I'm also trying to
> opensource swixeditor, and if someone can help me with instructions on how
> to opensource it, I can donate all the code.'
>
> Thanks
>
Previous Topic:VE Doesn't Install Into Galileo Packages
Next Topic:Can't install VE 1.4 on Galileo 3.5
Goto Forum:
  


Current Time: Fri Dec 19 08:12:20 GMT 2014

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

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