Skip to main content


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 08:08
Eclipse UserFriend
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: Thu Apr 25 23:50:29 GMT 2024

Powered by FUDForum. Page generated in 0.02609 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top