|WindowBuilder integration for custom table-like SWT widget [message #740471]
||Tue, 18 October 2011 14:51
| Jim Mayer
Registered: July 2009
We're building a table-like custom widget. The structure follows that of the standard SWT Table class:|
* Table (a subclass of Composite)
* TableItem (a subclass of Item)
* TableColumn (another subclass of Item)
I've written an RCP plugin that provides corresponding "info" classes for our Table, TableItem, and TableColumn classes. The code is closely modeled on the info classes from WindowBuilder. Similarly, our "XXX.wbp-component.xml" classes are modeled on WindowBuilder's table integration.
At this point, I can build the plugin, see our table, item, and column classes on the palette, and can see that our table info class is being instantiated and queried.
What I haven't been able to figure out is how to convince WindowBuilder to let me drag items and columns onto the table.
Could anyone point me at an example of how this is done? (or tell me to stop wasting my time!).
If there are no examples for me to look at, I can certainly put together a "mini" example that I could share (which might be useful for other folks as well).
Powered by FUDForum
. Page generated in 0.08016 seconds