Problem with Ridgets: getRidget() returns null [message #484768] |
Wed, 09 September 2009 08:08 |
Eclipse User |
|
|
|
Originally posted by: eclipsixusenet.mmartl.dfgh.net
Hi,
I have a problem with getting Ridgets to run. I am following a tutorial
but something goes wrong:
I have a view that extends SubModuleView<MyControllerClass> and
overrides the method basicCreatePartControl(Composite parent).
Inside that method I create a Table:
Table sessionList = UIControlsFactory.createTable(parent, SWT.NONE,
"sessionListTable");
In MyControllerClass, that extends SubModuleController, I have an
override method configureRidgets() where I try to get the ridget for the
sessionListTable:
final ITableRidget sessions = (ITableRidget) getRidget("sessionListTable");
But sessions is still null after the method call, getRidget returns null.
Any idea what I could be doing wrong?
Thanks!
Michael Huber
|
|
|
Powered by
FUDForum. Page generated in 0.01379 seconds