<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML> | |
<HEAD> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | |
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> | |
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> | |
<title>Source page</title> | |
</head> | |
<BODY BGCOLOR="#ffffff"> | |
<h2>Source page</h2> | |
<p>In addition to the GUI pages, PDE provides a source page where users who | |
prefer to edit the plugin.xml file by hand can work. Since manual editing | |
of the file can open the door to a wide variety of errors, both syntactic and | |
semantic, PDE validates the file upon saving or switching tabs to flag such | |
errors.</p> | |
<p align="center"> | |
<img border="0" src="images/plugin-source.gif" alt="Source editor page" width="545" height="501"></p> | |
<p>If a syntax error is introduced, PDE will lock out the form pages until the error | |
is fixed. If you try to switch to any of the non-source pages, you will see the | |
following dialog:</p> | |
<p align="center"> | |
<img border="0" src="images/source-errors.gif" alt="Source editor page - error dialog" width="443" height="148"></p> | |
<p align="left">If you close the editor with errors in it and open it again, the | |
editor will open into the Source page and other pages will not be accessible | |
until the source is fixed.</p> | |
<p align="left">The semantic errors, which PDE is able to detect, are listed on the <b> | |
Plug-ins</b> tab of the <b>Plug-in Development->Compilers</b> preference | |
page:</p> | |
<p align="center"> | |
<img border="0" src="images/manifest-validate.gif" align="center" width="492" height="541" alt="Plug-in Development compiler preferences"></p> | |
<p align="left">You can set the level of each to one of 'Error', 'Warning' or | |
'Ignore'.</p> | |
<p align="left">Note that for PDE to be able to detect some of these problems | |
(e.g. required attributes not defined, undefined extension attributes, etc.), | |
extension points you are using must have a valid schema associated with them. | |
See <a href="pde_schema.htm">Extension Point Schema</a> for more details.</p> | |
<p> <br> | |
<a href="../hglegal2003.htm"> | |
<img src = "../images/ngibmcpy2003.gif" alt="Copyright IBM Corporation and others 2000, 2003" border="0" width="324" height="14"></a> | |
</p> | |
</body> | |
</html> |