Documentation/Source/eric5.E5XML.UserProjectHandler.html

changeset 58
37f0444c3479
parent 50
a36eecf45b2e
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.E5XML.UserProjectHandler</h1> 23 <h1>eric5.E5XML.UserProjectHandler</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#104;&#97;&#110;&#100;&#108;&#101;&#114; &#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; &#114;&#101;&#97;&#100;&#105;&#110;&#103; &#97;&#110; &#88;&#77;&#76; &#117;&#115;&#101;&#114; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#112;&#114;&#111;&#112;&#101;&#114;&#116;&#105;&#101;&#115; &#102;&#105;&#108;&#101;. 25 Module implementing the handler class for reading an XML user project properties file.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#UserProjectHandler">UserProjectHandler</a></td> 34 <td><a href="#UserProjectHandler">UserProjectHandler</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#115;&#97;x &#104;&#97;&#110;&#100;&#108;&#101;&#114; &#116;&#111; &#114;&#101;&#97;&#100; &#97;&#110; &#88;&#77;&#76; &#117;&#115;&#101;&#114; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#112;&#114;&#111;&#112;&#101;&#114;&#116;&#105;&#101;&#115; &#102;&#105;&#108;&#101;.</td> 35 <td>Class implementing a sax handler to read an XML user project properties file.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="UserProjectHandler" ID="UserProjectHandler"></a> 43 <a NAME="UserProjectHandler" ID="UserProjectHandler"></a>
44 <h2>UserProjectHandler</h2> 44 <h2>UserProjectHandler</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#115;&#97;x &#104;&#97;&#110;&#100;&#108;&#101;&#114; &#116;&#111; &#114;&#101;&#97;&#100; &#97;&#110; &#88;&#77;&#76; &#117;&#115;&#101;&#114; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#112;&#114;&#111;&#112;&#101;&#114;&#116;&#105;&#101;&#115; &#102;&#105;&#108;&#101;. 46 Class implementing a sax handler to read an XML user project properties file.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 XMLHandlerBase 49 XMLHandlerBase
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Methods</h3>
55 <table> 55 <table>
56 <tr> 56 <tr>
57 <td><a href="#UserProjectHandler.__init__">UserProjectHandler</a></td> 57 <td><a href="#UserProjectHandler.__init__">UserProjectHandler</a></td>
58 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 58 <td>Constructor</td>
59 </tr><tr> 59 </tr><tr>
60 <td><a href="#UserProjectHandler.endVcsType">endVcsType</a></td> 60 <td><a href="#UserProjectHandler.endVcsType">endVcsType</a></td>
61 <td>&#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#86;&#99;&#115;&#84;y&#112;&#101;" &#101;&#110;&#100; &#116;&#97;&#103;.</td> 61 <td>Handler method for the "VcsType" end tag.</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#UserProjectHandler.getVersion">getVersion</a></td> 63 <td><a href="#UserProjectHandler.getVersion">getVersion</a></td>
64 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; v&#101;&#114;&#115;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#102;&#105;&#108;&#101;.</td> 64 <td>Public method to retrieve the version of the user project file.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#UserProjectHandler.startDocumentProject">startDocumentProject</a></td> 66 <td><a href="#UserProjectHandler.startDocumentProject">startDocumentProject</a></td>
67 <td>&#72;&#97;&#110;&#100;&#108;&#101;&#114; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#116;&#104;&#101; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116; &#112;&#97;&#114;&#115;&#105;&#110;&#103; &#105;&#115; &#115;&#116;&#97;&#114;&#116;&#101;&#100;.</td> 67 <td>Handler called, when the document parsing is started.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#UserProjectHandler.startUserProject">startUserProject</a></td> 69 <td><a href="#UserProjectHandler.startUserProject">startUserProject</a></td>
70 <td>&#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#85;&#115;&#101;&#114;&#80;&#114;&#111;&#106;&#101;&#99;&#116;" &#115;&#116;&#97;&#114;&#116; &#116;&#97;&#103;.</td> 70 <td>Handler method for the "UserProject" start tag.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#UserProjectHandler.startVcsStatusMonitorInterval">startVcsStatusMonitorInterval</a></td> 72 <td><a href="#UserProjectHandler.startVcsStatusMonitorInterval">startVcsStatusMonitorInterval</a></td>
73 <td>&#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#86;&#99;&#115;&#83;&#116;&#97;&#116;&#117;&#115;&#77;&#111;&#110;&#105;&#116;&#111;&#114;&#73;&#110;&#116;&#101;&#114;v&#97;&#108;" &#115;&#116;&#97;&#114;&#116; &#116;&#97;&#103;.</td> 73 <td>Handler method for the "VcsStatusMonitorInterval" start tag.</td>
74 </tr> 74 </tr>
75 </table> 75 </table>
76 <a NAME="UserProjectHandler.__init__" ID="UserProjectHandler.__init__"></a> 76 <a NAME="UserProjectHandler.__init__" ID="UserProjectHandler.__init__"></a>
77 <h4>UserProjectHandler (Constructor)</h4> 77 <h4>UserProjectHandler (Constructor)</h4>
78 <b>UserProjectHandler</b>(<i>project</i>) 78 <b>UserProjectHandler</b>(<i>project</i>)
79 <p> 79 <p>
80 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 80 Constructor
81 </p><dl> 81 </p><dl>
82 <dt><i>project</i></dt> 82 <dt><i>project</i></dt>
83 <dd> 83 <dd>
84 &#82;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#111;&#98;&#106;&#101;&#99;&#116; &#116;&#111; &#115;&#116;&#111;&#114;&#101; &#116;&#104;&#101; 84 Reference to the project object to store the
85 &#105;&#110;&#102;&#111;&#114;&#109;&#97;&#116;&#105;&#111;&#110; &#105;&#110;&#116;&#111;. 85 information into.
86 </dd> 86 </dd>
87 </dl><a NAME="UserProjectHandler.endVcsType" ID="UserProjectHandler.endVcsType"></a> 87 </dl><a NAME="UserProjectHandler.endVcsType" ID="UserProjectHandler.endVcsType"></a>
88 <h4>UserProjectHandler.endVcsType</h4> 88 <h4>UserProjectHandler.endVcsType</h4>
89 <b>endVcsType</b>(<i></i>) 89 <b>endVcsType</b>(<i></i>)
90 <p> 90 <p>
91 &#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#86;&#99;&#115;&#84;y&#112;&#101;" &#101;&#110;&#100; &#116;&#97;&#103;. 91 Handler method for the "VcsType" end tag.
92 </p><a NAME="UserProjectHandler.getVersion" ID="UserProjectHandler.getVersion"></a> 92 </p><a NAME="UserProjectHandler.getVersion" ID="UserProjectHandler.getVersion"></a>
93 <h4>UserProjectHandler.getVersion</h4> 93 <h4>UserProjectHandler.getVersion</h4>
94 <b>getVersion</b>(<i></i>) 94 <b>getVersion</b>(<i></i>)
95 <p> 95 <p>
96 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; v&#101;&#114;&#115;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#102;&#105;&#108;&#101;. 96 Public method to retrieve the version of the user project file.
97 </p><dl> 97 </p><dl>
98 <dt>Returns:</dt> 98 <dt>Returns:</dt>
99 <dd> 99 <dd>
100 &#83;&#116;&#114;&#105;&#110;&#103; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; v&#101;&#114;&#115;&#105;&#111;&#110; &#110;&#117;&#109;&#98;&#101;&#114;. 100 String containing the version number.
101 </dd> 101 </dd>
102 </dl><a NAME="UserProjectHandler.startDocumentProject" ID="UserProjectHandler.startDocumentProject"></a> 102 </dl><a NAME="UserProjectHandler.startDocumentProject" ID="UserProjectHandler.startDocumentProject"></a>
103 <h4>UserProjectHandler.startDocumentProject</h4> 103 <h4>UserProjectHandler.startDocumentProject</h4>
104 <b>startDocumentProject</b>(<i></i>) 104 <b>startDocumentProject</b>(<i></i>)
105 <p> 105 <p>
106 &#72;&#97;&#110;&#100;&#108;&#101;&#114; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#116;&#104;&#101; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116; &#112;&#97;&#114;&#115;&#105;&#110;&#103; &#105;&#115; &#115;&#116;&#97;&#114;&#116;&#101;&#100;. 106 Handler called, when the document parsing is started.
107 </p><a NAME="UserProjectHandler.startUserProject" ID="UserProjectHandler.startUserProject"></a> 107 </p><a NAME="UserProjectHandler.startUserProject" ID="UserProjectHandler.startUserProject"></a>
108 <h4>UserProjectHandler.startUserProject</h4> 108 <h4>UserProjectHandler.startUserProject</h4>
109 <b>startUserProject</b>(<i>attrs</i>) 109 <b>startUserProject</b>(<i>attrs</i>)
110 <p> 110 <p>
111 &#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#85;&#115;&#101;&#114;&#80;&#114;&#111;&#106;&#101;&#99;&#116;" &#115;&#116;&#97;&#114;&#116; &#116;&#97;&#103;. 111 Handler method for the "UserProject" start tag.
112 </p><dl> 112 </p><dl>
113 <dt><i>attrs</i></dt> 113 <dt><i>attrs</i></dt>
114 <dd> 114 <dd>
115 &#108;&#105;&#115;&#116; &#111;&#102; &#116;&#97;&#103; &#97;&#116;&#116;&#114;&#105;&#98;&#117;&#116;&#101;&#115; 115 list of tag attributes
116 </dd> 116 </dd>
117 </dl><a NAME="UserProjectHandler.startVcsStatusMonitorInterval" ID="UserProjectHandler.startVcsStatusMonitorInterval"></a> 117 </dl><a NAME="UserProjectHandler.startVcsStatusMonitorInterval" ID="UserProjectHandler.startVcsStatusMonitorInterval"></a>
118 <h4>UserProjectHandler.startVcsStatusMonitorInterval</h4> 118 <h4>UserProjectHandler.startVcsStatusMonitorInterval</h4>
119 <b>startVcsStatusMonitorInterval</b>(<i>attrs</i>) 119 <b>startVcsStatusMonitorInterval</b>(<i>attrs</i>)
120 <p> 120 <p>
121 &#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#86;&#99;&#115;&#83;&#116;&#97;&#116;&#117;&#115;&#77;&#111;&#110;&#105;&#116;&#111;&#114;&#73;&#110;&#116;&#101;&#114;v&#97;&#108;" &#115;&#116;&#97;&#114;&#116; &#116;&#97;&#103;. 121 Handler method for the "VcsStatusMonitorInterval" start tag.
122 </p><dl> 122 </p><dl>
123 <dt><i>attrs</i></dt> 123 <dt><i>attrs</i></dt>
124 <dd> 124 <dd>
125 &#108;&#105;&#115;&#116; &#111;&#102; &#116;&#97;&#103; &#97;&#116;&#116;&#114;&#105;&#98;&#117;&#116;&#101;&#115; 125 list of tag attributes
126 </dd> 126 </dd>
127 </dl> 127 </dl>
128 <div align="right"><a href="#top">Up</a></div> 128 <div align="right"><a href="#top">Up</a></div>
129 <hr /> 129 <hr />
130 </body></html> 130 </body></html>

eric ide

mercurial