Refactor BuildDrawable for extensions

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: