Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » setFocusItem on Disposed GridItem
setFocusItem on Disposed GridItem [message #592471] Wed, 08 October 2008 15:54
kent gibson is currently offline kent gibsonFriend
Messages: 114
Registered: July 2009
Senior Member
I am trying to get tabbing to work in a GridTreeViewer.

When I tab though the grid is trying to set focus on a disposed GridItem,
and I get the following stack trace:

java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.nebula.widgets.grid.Grid.setFocusItem(Grid.java: 8000)
at
org.eclipse.nebula.jface.gridviewer.GridViewerEditor.updateF ocusCell(GridViewerEditor.java:91)
at
org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEdi tor(ColumnViewerEditor.java:166)
at
org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorAct ivationEvent(ColumnViewerEditor.java:377)
at
org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivati onEvent(ColumnViewer.java:670)
at
org.eclipse.jface.viewers.ColumnViewerEditor.processTraverse Event(ColumnViewerEditor.java:490)
at
org.eclipse.jface.viewers.ColumnViewerEditor$4.keyTraversed( ColumnViewerEditor.java:219)


I am initializing with the follow settings:
GridViewerEditor.create(this, actSupport,
ColumnViewerEditor.TABBING_HORIZONTAL
| ColumnViewerEditor.TABBING_MOVE_TO_ROW_NEIGHBOR |
ColumnViewerEditor.TABBING_VERTICAL|
ColumnViewerEditor.KEYBOARD_ACTIVATION);

Does anyone have any ideas what I might be doing wrong?

Thanks
Previous Topic:Grid - data into Excel
Next Topic:setFocusItem on Disposed GridItem
Goto Forum:
  


Current Time: Wed Oct 17 00:39:27 GMT 2018

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

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

Back to the top