Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » resuing -- web deployment editor
resuing -- web deployment editor [message #197856] Fri, 03 August 2007 14:59 Go to next message
Eclipse UserFriend
Originally posted by:

We are working on an open source project with xml configuration editor
user interface requirements similar to the web.xml configuration editor
(the web deployment descriptor).

Is there a way to reuse this code as part of a plugin or extend it to be
launched as the default editor for our xmls?

I was pointed to the
org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditor Part but did
not find this to be the entry class for the UI editor. Is there a way to
understand the class "call" structure to resue the web deployment
descriptor code?

Or, rephrasing the question -- which is the class that's called first when
a web.xml is double-clicked?

Please point out if my understanding is incorrect and there is a
better/smarter way to achive what I want to do, please suggest.

Also, I am assuming that the user interface is laid out (rendered) using a
standard xml doc descriptor (dtd or xsd) that creates the place holders
for the web.xml's elements. Your thoughts!

Would anyone recommend additional resources/docs to follow?

Any help is appreciate.
Re: resuing -- web deployment editor [message #197883 is a reply to message #197856] Fri, 03 August 2007 16:17 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2579
Registered: July 2009
Senior Member
WTP does not provide any special editor for web.xml files. When you
go to a web.xml file and look at the "Open With" context menu, are
you opening something other than the "XML Editor"?

Nitin Dahyabhai
Structured Source Editor

Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Are there any docs for the XML Schema engine?
Next Topic:Can I customize the "new xml file" wizard?
Goto Forum:

Current Time: Mon Nov 30 01:03:04 GMT 2015

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

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