|
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 |
Eclipse User |
|
|
|
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 #135215 is a reply to message #135133] |
Tue, 23 January 2007 19:27 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #615013 is a reply to message #135081] |
Sun, 21 January 2007 23:08 |
Eclipse User |
|
|
|
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???
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08400 seconds