Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » XML Form Editor using WTP's Structured Text Editor
XML Form Editor using WTP's Structured Text Editor [message #202002] Fri, 12 October 2007 19:38 Go to next message
Eclipse UserFriend
Originally posted by: italdesign99.hotmail.com

I am in the process of creating an XML Eclipse Forms Editor: Here is what
I have so far before I get to my question:

The model is DOM (ie.org.w3c.dom)
The text editor I am using is an instance of
org.eclipse.wst.sse.ui.StructuredTextEditor

The form pages consist of a variety of widgets like lists, combo-boxes,
checkboxes, text boxes and fields, etc.

I did a little test and created a DOM label provider and content provider
and had it populate a treeviewer. This worked pretty nicely.

Is there anything like this I can use for a FormPage, like settign a
viewer on a form page or on each individual widget which can have a
content provider and label provider set to it that way whenever the
underlying model changes the affected widget's content will change
accordingly.

I reasearched into this and didn't find any such eclispe api that would
help me out in this fairly easy way.

Maybe in WTP I could use it's IStateModelListener to help let me know when
soemething changes in the xml model, iterate through the model,and refresh
the form page with an update.

Please let me know what you think?
Re: XML Form Editor using WTP's Structured Text Editor [message #202060 is a reply to message #202002] Sat, 13 October 2007 06:31 Go to previous messageGo to next message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"Muneer" <italdesign99@hotmail.com> wrote in message
news:f719e4e924a1389e258297142daea50f$1@www.eclipse.org...
> I am in the process of creating an XML Eclipse Forms Editor: Here is what
> I have so far before I get to my question:
I would quite interested by that too, but in the context of the Visual
editor project.
Is your project open source?

Read that blog post:
http://dev.eclipse.org/blogs/wonk/2007/10/12/fighting-aids-w ith-open-source/
Cordially
Re: XML Form Editor using WTP's Structured Text Editor [message #202067 is a reply to message #202060] Sat, 13 October 2007 15:20 Go to previous messageGo to next message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
Philippe Ombredanne wrote:
> "Muneer" <italdesign99@hotmail.com> wrote in message
> news:f719e4e924a1389e258297142daea50f$1@www.eclipse.org...
>> I am in the process of creating an XML Eclipse Forms Editor: Here is what
>> I have so far before I get to my question:
> I would quite interested by that too, but in the context of the Visual
> editor project.
> Is your project open source?
>
> Read that blog post:
> http://dev.eclipse.org/blogs/wonk/2007/10/12/fighting-aids-w ith-open-source/
> Cordially

Might want to look at the following, it's based on WTP 1.5 though:

http://www.alphaworks.ibm.com/tech/vxd
Re: XML Form Editor using WTP's Structured Text Editor [message #202080 is a reply to message #202060] Sat, 13 October 2007 16:26 Go to previous messageGo to next message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
Philippe Ombredanne wrote:
> "Muneer" <italdesign99@hotmail.com> wrote in message
> news:f719e4e924a1389e258297142daea50f$1@www.eclipse.org...
>> I am in the process of creating an XML Eclipse Forms Editor: Here is what
>> I have so far before I get to my question:
> I would quite interested by that too, but in the context of the Visual
> editor project.
> Is your project open source?
>
> Read that blog post:
> http://dev.eclipse.org/blogs/wonk/2007/10/12/fighting-aids-w ith-open-source/
> Cordially

You may want to check out the Apogee project:

http://www.eclipse.org/apogee/
Re: XML Form Editor using WTP's Structured Text Editor [message #202246 is a reply to message #202080] Mon, 15 October 2007 14:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: italdesign99.hotmail.com

Thanks,

I checked out the XForms Editor from Apogee; It defenitley looks very
useful, however the issuse is that I already have all the form pages for
my editor created and I just need help figuring out the simplest way of
using WST's StructuredTextEditor, and StructuredModel to listen for
changes in the xml document and have it update the fields in my
FormPages. Similarly, The reverse (ie. listening for changes in the form
page for changes on any of the widgets, and then modifying the xml source
appropriately) is also an anrea need some help. I know how to imitate,
WTP's XML editor with the design view, source view,and content outline
link, but when it comes to substituting the treeviewer with Eclipse Forms,
I can't find any API that will help me do it easily like just providing
label and content providers.

P.S.
I think I'l join the fight against aids, too : )
Re: XML Form Editor using WTP's Structured Text Editor [message #202325 is a reply to message #202246] Tue, 16 October 2007 13:37 Go to previous messageGo to next message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
Muneer wrote:
> Thanks,
> I checked out the XForms Editor from Apogee; It defenitley looks very
> useful, however the issuse is that I already have all the form pages for
> my editor created and I just need help figuring out the simplest way of
> using WST's StructuredTextEditor, and StructuredModel to listen for
> changes in the xml document and have it update the fields in my
> FormPages. Similarly, The reverse (ie. listening for changes in the
> form page for changes on any of the widgets, and then modifying the xml
> source appropriately) is also an anrea need some help. I know how to
> imitate, WTP's XML editor with the design view, source view,and content
> outline link, but when it comes to substituting the treeviewer with
> Eclipse Forms, I can't find any API that will help me do it easily like
> just providing label and content providers.
>

You may want to check out the code for the Web Page Designer in the the
WTP jst project. It adds it's own graphical designer along with a
structured text editor. It might give you some ideas on how to
implement this. Unfortunately, I don't know that code, but maybe Nitin
or another committer can answer the question.
Re: XML Form Editor using WTP's Structured Text Editor [message #202448 is a reply to message #202067] Wed, 17 October 2007 04:24 Go to previous messageGo to next message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"David Carver" <d_a_carver@yahoo.com> wrote in message
news:feqk51$ehu$1@build.eclipse.org...
> Philippe Ombredanne wrote:
> Might want to look at the following, it's based on WTP 1.5 though:
> http://www.alphaworks.ibm.com/tech/vxd

Thanks... quite interesting. I'll be reaching out to them.
In the meantime we also got interestsing volunteer contributions that showed
up for the Visual Editor.

--
Cheers, Philippe
http://www.nexb.com - http://eclipse.org/ve - http://eclipse.org/atf -
http://easyeclipse.org - http://phpeclipse.net
Re: XML Form Editor using WTP's Structured Text Editor [message #202455 is a reply to message #202080] Wed, 17 October 2007 04:31 Go to previous messageGo to next message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"David Carver" <d_a_carver@yahoo.com> wrote in message
news:feqo0q$m44$1@build.eclipse.org...
> You may want to check out the Apogee project:
> http://www.eclipse.org/apogee/
Apogee is an EclipseForms editor using Xforms, not a Visual XForms designer.
Akin to an SWT XForms "player".
What we need is authoring, not rendering. There are plenty of renderers.
--
Cheers, Philippe
http://www.nexb.com - http://eclipse.org/ve - http://eclipse.org/atf -
http://easyeclipse.org - http://phpeclipse.net
Re: XML Form Editor using WTP's Structured Text Editor [message #202463 is a reply to message #202246] Wed, 17 October 2007 04:32 Go to previous message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"Muneer" <italdesign99@hotmail.com> wrote in message
news:e0ea238055e0229e49d1bb5cb53483ed$1@www.eclipse.org...
> P.S.
> I think I'l join the fight against aids, too : )
That is cool. I am trying to structure the talk in the ve-dev mailimg if you
want to participate.
Cordially
Philippe
Previous Topic:.class.getResource() returns wrong directory?
Next Topic:[ANN] ATF project new name search: final voting round starts- PLEASE VOTE ... http://www.surveymonke
Goto Forum:
  


Current Time: Thu Mar 28 18:54:39 GMT 2024

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

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

Back to the top