[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.riena] Problem with Ridgets: getRidget() returns null

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