I’ve been hacking over the last couple of days on an update to the Understanding Layouts in SWT (the original is here). I’ve had my eye on updating this article for a while, but have been skittish about tackling it because of all the screenshots. Bug 221251 forced me to look at it, and then one thing lead to another, and, well… I wasn’t planning to do anything this past weekend anyway…
To save time and make it easier to rebuild the screenshots if I ever need to, I’ve created a plug-in project that can regenerate them. I intend to put the project somewhere so that it can be shared and used by others (but need to figure out where).
The article was originally authored by Carolyn MacLeod and then updated (for Eclipse 2.0) by Shantha Ramachandran.
So far, I’ve only updated the style of the document to benefit from the new template (and removed all that icky MS-Word markup using a bevy of regular expressions), redid the screenshots and reworked some parts of the format and text. I figure that a full update needs to consider StackLayout
and TextLayout
, so I plan on spending a few hours working that in later in the week.
In the meantime, if you see anything wrong with the new version, I’d like to hear about it. Add your comments to Bug 221251 (or you can attach them here, but the bug would be a better place).