Archive for the ‘Uncategorized’ Category

Refactor BuildDrawable for extensions

May 19, 2009

Problem:
Every sender of ClassicBuildDrawable>>buildRightMarginFor: added an id attribute to the tag generated by the method. The new page-specific behavior needs to override this method to suppress the right margin.

Solution:
Move the id attribute up to buildRightMarginFor:, then override buildRightMarginFor: in the new (special) builder.

Advertisements