Section 17.4. Extension Point Documentation


17.4. Extension Point Documentation

Now that the extension point and related schema (see Section 17.2, Defining an Extension Point, on page 597) have been declared, the PDE will include them in any list of known plug-in extension points. In addition, the documentation snippets added as part of the schema (see Section 17.2.2, Creating an extension point schema, on page 599 and Section 17.2.3, Extension point elements and attributes, on page 601) are dynamically built by the PDE into extension point help pages as requested. Navigate to the plug-in manifest editor's Extensions page and click on the Add... button. The New Extensions wizard now includes the new favorites extension point (see Figure 17-7).

Figure 17-7. New Extension wizard showing Favorites extension point.


To see the dynamically generated help pages, add the favorites extension point to the plug-in manifest (see next section), select the favorites extension in the plug-in manifest, and then click on Open extension point description. This opens a browser to display the HTML help page for the favorites extension point (see Figure 17-8).

Figure 17-8. Dynamically generated help for the Favorites extension point.




Eclipse(c) Building Commercial-Quality Plug-ins
Eclipse: Building Commercial-Quality Plug-ins (2nd Edition)
ISBN: 032142672X
EAN: 2147483647
Year: 2004
Pages: 200

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net