The Structured Source Editing framework provided by WTP is used to implement many of WTP's editors. Learn how these editors are built and how to add your own features to them.
This tutorial will briefly cover the basic organization of text editors and give an in-depth look at how the SSE editors work within those frameworks. Topics will cover usage of provisional APIs to access and edit the SSE XML DOM as well as APIs and extension points allowing for customization of the outline view, properties view, enabling reuse within multi-page editors, contributing as-you-type validation, adding Content Assist templates and items to the Snippets view, and the provided debugging aids. This tutorial will include coding examples that involve the XML and SSE components, but that apply equally well to the HTML, JSP, CSS, and DTD components of WTP, as well as commercial products such as IBM Rational Application Developer.
This tutorial targets developers who are familiar with writing Eclipse plug-ins and who are interested in customizing the provided SSE editors, either for use with more specific file types or adding functionality to the existing file types. Attendees will take away a XML editor with added functionality tailored to a particular XML file type.
Nitin Dahyabhai is an Eclipse Committer from IBM Rational and leads the Source Editing subproject of the Eclipse Web Tools Platform. He has worked on the WTP source editors and with Eclipse itself since their inception. He is also known for watching many, many people and components in Eclipse's Bugzilla.