Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Reuse XML editor?
Reuse XML editor? [message #52215] Mon, 08 November 2004 02:09 Go to next message
Eclipse UserFriend
Originally posted by: danh.systinet.com

I have a Eclipse plugin's multipage editor which includes XML editable page.
Can I reuse XML editor of WTP into my XML editor page ( syntax highlight,
code assist,...) ?
Re: Reuse XML editor? [message #52481 is a reply to message #52215] Mon, 08 November 2004 17:02 Go to previous messageGo to next message
Eclipse UserFriend
There should not be any problem doing this. For example, look at the
XSDEditor which includes an XSDTextEditor that extends
org.eclipse.wst.xml.ui.StructuredTextEditorXML, and then includes it in a
multi-page editor along with a graphical view.

Regards,
Dave Carlson

"Ung Thanh Danh" <danh@systinet.com> wrote in message
news:cmn61p$uhu$1@eclipse.org...
>I have a Eclipse plugin's multipage editor which includes XML editable
>page.
> Can I reuse XML editor of WTP into my XML editor page ( syntax highlight,
> code assist,...) ?
>
>
Re: Reuse XML editor? [message #52556 is a reply to message #52481] Mon, 08 November 2004 18:18 Go to previous messageGo to next message
Eclipse UserFriend
I should point out that the multipage editor in the xsd editor plugin was
added as a stop gap until the xml editor plugin provides such a class.
According to David Williams, they will be providing the 'official'
multipage editor class within the next few days. So keep your eyes open
for that.

Dave Carlson wrote:

> There should not be any problem doing this. For example, look at the
> XSDEditor which includes an XSDTextEditor that extends
> org.eclipse.wst.xml.ui.StructuredTextEditorXML, and then includes it in a
> multi-page editor along with a graphical view.

> Regards,
> Dave Carlson

> "Ung Thanh Danh" <danh@systinet.com> wrote in message
> news:cmn61p$uhu$1@eclipse.org...
>>I have a Eclipse plugin's multipage editor which includes XML editable
>>page.
>> Can I reuse XML editor of WTP into my XML editor page ( syntax highlight,
>> code assist,...) ?
>>
>>
Re: Reuse XML editor? [message #52609 is a reply to message #52556] Mon, 08 November 2004 21:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: danh.systinet.com

WTP is too big, my plugin just need XML text editor. Is there any plan to
distribute WTP into seperate package ( such as XML text editor package, HTML
editor package, etc.)
Thanks,
Danh

"Craig Salter" <csalter@ca.ibm.com> wrote in message
news:cmouri$kol$1@eclipse.org...
> I should point out that the multipage editor in the xsd editor plugin was
> added as a stop gap until the xml editor plugin provides such a class.
> According to David Williams, they will be providing the 'official'
> multipage editor class within the next few days. So keep your eyes open
> for that.
>
> Dave Carlson wrote:
>
> > There should not be any problem doing this. For example, look at the
> > XSDEditor which includes an XSDTextEditor that extends
> > org.eclipse.wst.xml.ui.StructuredTextEditorXML, and then includes it in
a
> > multi-page editor along with a graphical view.
>
> > Regards,
> > Dave Carlson
>
> > "Ung Thanh Danh" <danh@systinet.com> wrote in message
> > news:cmn61p$uhu$1@eclipse.org...
> >>I have a Eclipse plugin's multipage editor which includes XML editable
> >>page.
> >> Can I reuse XML editor of WTP into my XML editor page ( syntax
highlight,
> >> code assist,...) ?
> >>
> >>
>
>
Re: Reuse XML editor? [message #52799 is a reply to message #52609] Tue, 09 November 2004 10:58 Go to previous message
Eclipse UserFriend
>WTP is too big, my plugin just need XML text editor. Is there any plan to
>distribute WTP into seperate package ( such as XML text editor package,
HTML
>editor package, etc.)
>Thanks,
>Danh

There's no plan that I know of to distribute WTP this way. But the beauty
of Eclipse is everything is a plugin so you can just install the
components you need. In your case you will need the XML editor and its
prerequisites (such as the sse - structured source editing - plugins). If
you're interested in validation you can pick up the XML validator (which
will be available this week) and the validation framework it depends on.


Lawrence
Previous Topic:A question about the example xsd editor
Next Topic:wtp modify eclipse project settings.
Goto Forum:
  


Current Time: Tue May 13 23:07:16 EDT 2025

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

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

Back to the top