User ad15b92aec
06-01-2009 02:12:10
Hello,
I want to be able to easily access the currently selected set of rows/columns in the active grid view table, and get the data in them without great hassle. I have been pouring over the javadocs for IJC and netbeans but I have not been able to figure out how to get a reference to the WBTable of interest. The WBTable does not seem to appear in any Lookups that I examine, and when I try to recurse through the list of active nodes and their children upon selecting the table in IJC, I am greeted by class com.im.ijc.core.api.views.AbstractViewTopComponent$FakeViewNode with no children. Is there a way to get a reference to the grid view WBTable, and if I get it, will the getValueAt() method return the same objects as I would get if I pulled them from the entity data provider??? If the answer is no, is there an easy way to go from cell in the WBTable to corresponding cell in the entity table?
I'd greatly appreciate help in this matter, I've spent a significant amount of time trying to figure this out and I'm frankly quite frustrated now.
I want to be able to easily access the currently selected set of rows/columns in the active grid view table, and get the data in them without great hassle. I have been pouring over the javadocs for IJC and netbeans but I have not been able to figure out how to get a reference to the WBTable of interest. The WBTable does not seem to appear in any Lookups that I examine, and when I try to recurse through the list of active nodes and their children upon selecting the table in IJC, I am greeted by class com.im.ijc.core.api.views.AbstractViewTopComponent$FakeViewNode with no children. Is there a way to get a reference to the grid view WBTable, and if I get it, will the getValueAt() method return the same objects as I would get if I pulled them from the entity data provider??? If the answer is no, is there an easy way to go from cell in the WBTable to corresponding cell in the entity table?
I'd greatly appreciate help in this matter, I've spent a significant amount of time trying to figure this out and I'm frankly quite frustrated now.