Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Reuse XML editor?
Reuse XML editor? [message #52215] Mon, 08 November 2004 07: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 22:02 Go to previous messageGo to next message
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 402
Registered: July 2009
Senior Member
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 23:18 Go to previous messageGo to next message
Craig Salter is currently offline Craig SalterFriend
Messages: 169
Registered: July 2009
Senior Member
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] Tue, 09 November 2004 02: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 15:58 Go to previous message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
>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: Sat Jul 27 16:51:45 GMT 2024

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

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

Back to the top