"Eclipse plug-in Development" based on WTP development of Custom JSP editor (vi)

Source: Internet
Author: User

Istructuredmodel (DOM Document) profiling view

In the previous sections, we have fully covered several of the core data models of WTP: Syntax document (istructureddocument), semantic document (Idomdocument, icssdocument), and WTP model (Istructuredmodel). Istructuredmodel to some extent can be regarded as the façade of the semantic document and the grammatical document, and the relationship of the three is again:

Before finishing the WTP grammar document (istructureddocument), we developed a structured document analysis view, which I would like to deepen my understanding of istructureddocument. In this section, we are developing a view that analyzes the semantic document of WTP (we only analyze the most commonly used idomdocument) and hopefully has a similar effect.

PS: These two views can be used as a tool for developers who want to modify or customize WTP source code (including, of course, some tools based on WTP) can do a tool when writing code Analysis Istructureddocument (Text Region) and When Idomdocument (Indexed Region) encounters an obstacle, these two views should be an assistant ^_^. And by comparing the two views, you should understand why Istructureddocument is a syntax document, and why Idomdocument (icssdocument) is the semantic document.

The development of this istructuredmodel (DOM Document) parsing view is similar to the previous structured document analysis view, where there is no understanding (where technical implementation is involved), and a reference to the previous section fourth.

Demand

Similar to the previous structured document analysis view requirements, roughly as follows:

1, provide a structured model analysis view, tree-like way to display the current editor idomdocument

2, Interactive (Editor---> Structured model analysis View):

Activate the WTP JSP editor (or the editor we've customized earlier) to update structured model Analytics view instantly

Automatically select the corresponding node in the Structured model analysis view when the user light is moved in the editor

Instant Update structured Model analysis view when content in editor changes

Empty structured model parse view contents when the current activation editor closes

3, Interactive (structured model analysis View---> Editor)

Double-click a specific node in the tree control in the view, and the corresponding content is selected in the editor

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.