Documentation/Source/eric5.Project.Project.html

changeset 603
7f620c649182
parent 501
5c615a85241a
child 615
c8dd16cc69ce
equal deleted inserted replaced
602:2f32aef5cc67 603:7f620c649182
227 <td>Public method to read the debugger properties from an XML file.</td> 227 <td>Public method to read the debugger properties from an XML file.</td>
228 </tr><tr> 228 </tr><tr>
229 <td><a href="#Project.__readXMLProject">__readXMLProject</a></td> 229 <td><a href="#Project.__readXMLProject">__readXMLProject</a></td>
230 <td>Private method to read the project data from an XML file.</td> 230 <td>Private method to read the project data from an XML file.</td>
231 </tr><tr> 231 </tr><tr>
232 <td><a href="#Project.__readXMLSession">__readXMLSession</a></td>
233 <td>Private method to read the session data from an XML file.</td>
234 </tr><tr>
235 <td><a href="#Project.__readXMLTasks">__readXMLTasks</a></td>
236 <td>Private method to read the project tasks data from an XML file.</td>
237 </tr><tr>
238 <td><a href="#Project.__saveRecent">__saveRecent</a></td> 232 <td><a href="#Project.__saveRecent">__saveRecent</a></td>
239 <td>Private method to save the list of recently opened filenames.</td> 233 <td>Private method to save the list of recently opened filenames.</td>
240 </tr><tr> 234 </tr><tr>
241 <td><a href="#Project.__searchNewFiles">__searchNewFiles</a></td> 235 <td><a href="#Project.__searchNewFiles">__searchNewFiles</a></td>
242 <td>Private slot used to handle the search new files action.</td> 236 <td>Private slot used to handle the search new files action.</td>
912 </dl><dl> 906 </dl><dl>
913 <dt>Returns:</dt> 907 <dt>Returns:</dt>
914 <dd> 908 <dd>
915 flag indicating success (boolean) 909 flag indicating success (boolean)
916 </dd> 910 </dd>
917 </dl><a NAME="Project.__readXMLSession" ID="Project.__readXMLSession"></a>
918 <h4>Project.__readXMLSession</h4>
919 <b>__readXMLSession</b>(<i>fn, validating, quiet</i>)
920 <p>
921 Private method to read the session data from an XML file.
922 </p><p>
923 The data read is:
924 <ul>
925 <li>all open source filenames</li>
926 <li>the active window</li>
927 <li>all breakpoints</li>
928 <li>the commandline</li>
929 <li>the working directory</li>
930 <li>the exception reporting flag</li>
931 <li>the list of exception types to be highlighted</li>
932 <li>all bookmarks</li>
933 </ul>
934 </p><dl>
935 <dt><i>fn</i></dt>
936 <dd>
937 filename of the project session file to be read (string)
938 </dd><dt><i>validating</i></dt>
939 <dd>
940 flag indicating a validation of the XML file is
941 requested (boolean)
942 </dd><dt><i>quiet</i></dt>
943 <dd>
944 flag indicating quiet operations.
945 If this flag is true, no errors are reported.
946 </dd>
947 </dl><a NAME="Project.__readXMLTasks" ID="Project.__readXMLTasks"></a>
948 <h4>Project.__readXMLTasks</h4>
949 <b>__readXMLTasks</b>(<i>fn, validating</i>)
950 <p>
951 Private method to read the project tasks data from an XML file.
952 </p><dl>
953 <dt><i>fn</i></dt>
954 <dd>
955 filename of the project tasks file to be read (string)
956 </dd><dt><i>validating</i></dt>
957 <dd>
958 flag indicating a validation of the XML file is
959 requested (boolean)
960 </dd>
961 </dl><a NAME="Project.__saveRecent" ID="Project.__saveRecent"></a> 911 </dl><a NAME="Project.__saveRecent" ID="Project.__saveRecent"></a>
962 <h4>Project.__saveRecent</h4> 912 <h4>Project.__saveRecent</h4>
963 <b>__saveRecent</b>(<i></i>) 913 <b>__saveRecent</b>(<i></i>)
964 <p> 914 <p>
965 Private method to save the list of recently opened filenames. 915 Private method to save the list of recently opened filenames.
1102 </dl><a NAME="Project.__writeSession" ID="Project.__writeSession"></a> 1052 </dl><a NAME="Project.__writeSession" ID="Project.__writeSession"></a>
1103 <h4>Project.__writeSession</h4> 1053 <h4>Project.__writeSession</h4>
1104 <b>__writeSession</b>(<i>quiet = False, indicator = ""</i>) 1054 <b>__writeSession</b>(<i>quiet = False, indicator = ""</i>)
1105 <p> 1055 <p>
1106 Private method to write the session data to an XML file (.e4s). 1056 Private method to write the session data to an XML file (.e4s).
1107 </p><p>
1108 The data saved is:
1109 <ul>
1110 <li>all open source filenames belonging to the project</li>
1111 <li>the active window, if it belongs to the project</li>
1112 <li>all breakpoints</li>
1113 <li>the commandline</li>
1114 <li>the working directory</li>
1115 <li>the exception reporting flag</li>
1116 <li>the list of exception types to be highlighted</li>
1117 <li>all bookmarks of files belonging to the project</li>
1118 </ul>
1119 </p><dl> 1057 </p><dl>
1120 <dt><i>quiet</i></dt> 1058 <dt><i>quiet</i></dt>
1121 <dd> 1059 <dd>
1122 flag indicating quiet operations. 1060 flag indicating quiet operations.
1123 If this flag is true, no errors are reported. 1061 If this flag is true, no errors are reported.

eric ide

mercurial