1 |
|
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 |
24 |
|
need a file dialog. Till now each of them pulled up its |
25 |
|
own. This was silly code replication. Now there is an abstract |
26 |
|
base class 'FileDialogFilter' which implements the common |
27 |
|
behavior. The file exporters should subclass it. |
28 |
|
|
29 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
30 |
|
exporters from the new base class. TODO: Subclass the HTML |
31 |
|
exporter too. |
32 |
|
|
33 |
|
2007-08-31 Sascha L. Teichmann <[email protected]> |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/export/html.py: Make mode check |
36 |
|
work (again). |
37 |
|
|
38 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
39 |
|
|
40 |
|
* tools/formed/formed/plugins/export/html.py: Rendering of the HTML |
41 |
|
exprt works now in a recursive way. This change was needed because |
42 |
|
the structure of the formedtree has changed to be able to render |
43 |
|
full hirachically document stuctures. (nested lists) |
44 |
|
TODO: Fix modechecking |
45 |
|
|
46 |
|
2007-08-31 Torsten Irlaender <[email protected]> |
47 |
|
|
48 |
|
* tools/formed/formed/plugins/web/plugin.py: Navigation rendering works |
49 |
|
now in recursive way. This change was needed because the structure |
50 |
|
of the formedtree has changed to be able to render full hirachically |
51 |
|
document stuctures. (nested lists) |
52 |
|
|
53 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
54 |
|
|
55 |
* tools/formed/formed/model/nodecomponents.py: use discard() |
* tools/formed/formed/model/nodecomponents.py: use discard() |