1 |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2007-09-02 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
4 |
|
tree traversals is a common task. To ease this a decorator function |
5 |
|
checkMode in union with sub classing ModeChecker can be used. |
6 |
|
To make it work simply subclass from ModeChecker and add the decorator |
7 |
|
to the methods that need mode tracking. Before you start the recursion |
8 |
|
call self.prepareDescent(). |
9 |
|
|
10 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
11 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
12 |
|
too. |
13 |
|
|
14 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
15 |
|
|
16 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
17 |
|
|
18 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
19 |
|
uses new FileDialogFilter base class too. |
20 |
|
|
21 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
22 |
|
|
23 |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
* tools/formed/formed/plugins/ui/*: New. All file exporters |
24 |
need a file dialog. Till now each of them pulled up its |
need a file dialog. Till now each of them pulled up its |
25 |
own. This was silly code replication. Now there is an abstract |
own. This was silly code replication. Now there is an abstract |