Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » Problem with Ridgets: getRidget() returns null
Problem with Ridgets: getRidget() returns null [message #484768] Wed, 09 September 2009 04: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
Previous Topic:Problem with the PingPong sample
Next Topic:add filter to ridget
Goto Forum:
  


Current Time: Sun Apr 20 18:07:08 EDT 2014

Powered by FUDForum. Page generated in 0.01454 seconds