2007.07.23 Eclipse links
- Virtual Tables and Trees (Eclipse Corner Article)
- Understanding Layouts in SWT (Eclipse Corner Article)
-
[news.eclipse.platform.swt] What happened to the scroll bars?.
Another mention of the fact that if you place a table within a layout using SWT, then the table's scrollbars could disappear. This happens with both RowLayout and GridLayout. Turns out that you need to specify a RowData or GridData object which explicitly constrains the size of the control, forcing the scrollbars to display. Why doesn't SWT just *know* that the control isn't fitting into the window? I'm not sure... since RowData requires you to set a specific size which isn't practical, you're pretty much stuck with creating a GridData object. This kind of thing works:
table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true))
(see for eg. [news.eclipse.platform.swt] Re: Table Scrolling) - Eclipse BugDay FAQ
- Eclipse Communication Framework Project Home Quote: "ECF is a framework for supporting the development of distributed Eclipse-based tools and applications. It can be used to create other plugins, tools, or full Eclipse RCP applications that require asynchronous point-to-point or publish-and-subscribe messaging."
{2007.07.24 00:24}