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 10:59 Go to next message
Eclipse User
Originally posted by: vsharma5.gmail.com

Hi,
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.
--VS
Re: resuing -- web deployment editor [message #197883 is a reply to message #197856] Fri, 03 August 2007 12:17 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2235
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: Fri Jul 25 11:27:15 EDT 2014

Powered by FUDForum. Page generated in 0.02416 seconds