Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Extend XML Editor
Extend XML Editor [message #277511] Mon, 13 December 2004 05:50 Go to next message
Eclipse UserFriend
Originally posted by: dee101_1999.yahoo.com

Hey,

Does anyone know of a way to extend the XML editor, so that, for example,
when a new file is created with an .xml file extension, not only is a
Design and Source page available, but also a custom page, relating to the
xml.

I've looked at some examples, e.g. Plugin.xml and
orbeon.oxfstudio.eclipse.monitor.log4j.editors.LogEventEdito r (thanks
foo), but they all seem to be writing XML editors from scratch, rather
than extending the existing one, which is so good, i do want to use.

But also I the only xml related extension-point i could find in the
"com.ibm.etools" plug-ins was "com.ibm.etools.xmlbuilder.catalogFileType",
which I don't think is any help.

Does anyone have any suggestions, before i scrap the idea of trying to
extend the XMLEditor?

Thanks, Jen
Re: Extend XML Editor [message #277582 is a reply to message #277511] Mon, 13 December 2004 15:48 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jen,

Judging from your reference to "com.ibm" extension point, you are looking at
the original IBM contribution code for Web Tools. Instead, look at the
latest integration build of WTP project and/or its CVS source. A new M2
build is planned for Dec 22nd.

I don't think there is an extension point for what you want to do, but
writing a new plugin that adds a new custom page should be quite easy. As
an example, look at the xsd.ui plugin. It reuses the source page editor
from xml.ui plugin, and adds a new graph page for viewing the XSD structure.

Cheers,
Dave Carlson

"Jen" <dee101_1999@yahoo.com> wrote in message
news:cpjs6f$uom$1@www.eclipse.org...
> Hey,
>
> Does anyone know of a way to extend the XML editor, so that, for example,
> when a new file is created with an .xml file extension, not only is a
> Design and Source page available, but also a custom page, relating to the
> xml.
>
> I've looked at some examples, e.g. Plugin.xml and
> orbeon.oxfstudio.eclipse.monitor.log4j.editors.LogEventEdito r (thanks
> foo), but they all seem to be writing XML editors from scratch, rather
> than extending the existing one, which is so good, i do want to use.
>
> But also I the only xml related extension-point i could find in the
> "com.ibm.etools" plug-ins was "com.ibm.etools.xmlbuilder.catalogFileType",
> which I don't think is any help.
> Does anyone have any suggestions, before i scrap the idea of trying to
> extend the XMLEditor?
>
> Thanks, Jen
>
Re: Extend XML Editor [message #277603 is a reply to message #277582] Tue, 14 December 2004 05:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jennifer89.webcomputing.com

Hey Dave,

Thanks for the info. Is the xsd.ui plugin also part of the original IBM
contribution? If not, where can I find its java source?

Thanks, Jen



Dave Carlson wrote:

> Hi Jen,

> Judging from your reference to "com.ibm" extension point, you are looking at
> the original IBM contribution code for Web Tools. Instead, look at the
> latest integration build of WTP project and/or its CVS source. A new M2
> build is planned for Dec 22nd.

> I don't think there is an extension point for what you want to do, but
> writing a new plugin that adds a new custom page should be quite easy. As
> an example, look at the xsd.ui plugin. It reuses the source page editor
> from xml.ui plugin, and adds a new graph page for viewing the XSD structure.

> Cheers,
> Dave Carlson

> "Jen" <dee101_1999@yahoo.com> wrote in message
> news:cpjs6f$uom$1@www.eclipse.org...
>> Hey,
>>
>> Does anyone know of a way to extend the XML editor, so that, for example,
>> when a new file is created with an .xml file extension, not only is a
>> Design and Source page available, but also a custom page, relating to the
>> xml.
>>
>> I've looked at some examples, e.g. Plugin.xml and
>> orbeon.oxfstudio.eclipse.monitor.log4j.editors.LogEventEdito r (thanks
>> foo), but they all seem to be writing XML editors from scratch, rather
>> than extending the existing one, which is so good, i do want to use.
>>
>> But also I the only xml related extension-point i could find in the
>> "com.ibm.etools" plug-ins was "com.ibm.etools.xmlbuilder.catalogFileType",
>> which I don't think is any help.
>> Does anyone have any suggestions, before i scrap the idea of trying to
>> extend the XMLEditor?
>>
>> Thanks, Jen
>>
Re: Extend XML Editor [message #277760 is a reply to message #277603] Thu, 16 December 2004 10:09 Go to previous message
Eclipse UserFriend
Hi Jen,

I don't think there is any need to use the old IBM contribution zip --
everything in it has been updated and moved into the Eclipse project CVS.

I didn't spell out the complete project names, they are:
org.eclipse.wst.xml.ui
org.ecipse.wst.xsd.ui

You can download the lastest I-build, or connect to CVS using these
instructions:
http://www.eclipse.org/webtools/development/main.html

Cheers,
Dave

"Jen" <jennifer89@webcomputing.com> wrote in message
news:cpmdpk$k82$1@www.eclipse.org...
> Hey Dave,
>
> Thanks for the info. Is the xsd.ui plugin also part of the original IBM
> contribution? If not, where can I find its java source?
>
> Thanks, Jen
>
>
>
> Dave Carlson wrote:
>
>> Hi Jen,
>
>> Judging from your reference to "com.ibm" extension point, you are looking
>> at the original IBM contribution code for Web Tools. Instead, look at
>> the latest integration build of WTP project and/or its CVS source. A new
>> M2 build is planned for Dec 22nd.
>
>> I don't think there is an extension point for what you want to do, but
>> writing a new plugin that adds a new custom page should be quite easy.
>> As an example, look at the xsd.ui plugin. It reuses the source page
>> editor from xml.ui plugin, and adds a new graph page for viewing the XSD
>> structure.
>
>> Cheers,
>> Dave Carlson
>
>> "Jen" <dee101_1999@yahoo.com> wrote in message
>> news:cpjs6f$uom$1@www.eclipse.org...
>>> Hey,
>>>
>>> Does anyone know of a way to extend the XML editor, so that, for
>>> example, when a new file is created with an .xml file extension, not
>>> only is a Design and Source page available, but also a custom page,
>>> relating to the xml.
>>>
>>> I've looked at some examples, e.g. Plugin.xml and
>>> orbeon.oxfstudio.eclipse.monitor.log4j.editors.LogEventEdito r (thanks
>>> foo), but they all seem to be writing XML editors from scratch, rather
>>> than extending the existing one, which is so good, i do want to use.
>>>
>>> But also I the only xml related extension-point i could find in the
>>> "com.ibm.etools" plug-ins was
>>> "com.ibm.etools.xmlbuilder.catalogFileType", which I don't think is any
>>> help.
>>> Does anyone have any suggestions, before i scrap the idea of trying to
>>> extend the XMLEditor?
>>>
>>> Thanks, Jen
>>>
>
>
Previous Topic:How to acquire a specific piug-in location path?
Next Topic:I have eclipse startup error
Goto Forum:
  


Current Time: Mon Oct 27 06:37:54 EDT 2025

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

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

Back to the top