|Selection Problem after Perspective switching [message #649038]
||Mon, 17 January 2011 11:35
Registered: September 2010
I have defined a View with an TableViewer, who works as
ISelectionProvider, and a Command and Handler for the ViewToolbar.
The View is used in diffrent perspectives (defined inside the
If I select somtehing from the TableViewer and push the CommandIcon my
Handler get (by using HandlerUtil.getCurrentSelection()) the correct
Now I do switch the perspective, the View has also the focus and I see
the current selection inside the Viewer but if I push the Command again
I get a >null< for the selection.
Why do the ISelection Service don't hold the current selection?
Have somebody a tip how I get this selection back into the SelectionSevice?
Thanks in advance
Powered by FUDForum
. Page generated in 0.06601 seconds