-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Aug 23, 2005, at 23:32, Andreas L Delmelle wrote:
On Aug 23, 2005, at 22:09, Finn Bock wrote:
So if it is possible at all, I would prefer to see that the
inheritance issues is implemented in the PropertyMaker classes,
instead of the FObjs (or the LayoutManagers).
Oh, I definitely think it's possible. It will just take some more time
to figure it out.
Just FYI: Eureka! I think... ;-)
(No need to reply, actually; just going to try it out and see if it
works...)
Wouldn't inheritance still work as desired --by the Property
subsystem-- if the default value is set in the FObj's bind() method? I
mean, for example: in Table.bind(), check if the precedence received
the default value in FOPropertyMapping (getEnum() == EN_NONE). If so,
force the value to the integer 6. IIUC, if the column inherits that
value, then the PropertyList should handle this very nicely, and return
an integer value of 6 when the property is queried for its value in
TableColumn.bind()
Cheers,
Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFDDKtRyHTbFO9b8aARAjqPAJ0Wpu4axtxKQBikq+YP0Llpw06wNwCdEDXo
3t4935m6x7vgO1D3WjeWv9Q=
=nwcO
-----END PGP SIGNATURE-----