|
|
|
Re: TableViewer + ViewerSorter [message #133681 is a reply to message #133600] |
Wed, 20 May 2009 10:36 |
|
Hi Kristin,
> Thanks, it was helpfully. But I have yet another problem. I can select a
> line in my table viewer (tableViewer view) and see the information of
> the selected line in another view (detail view) and in a new structure.
> If I sort my table up and down, I can select a line in my table viewer
> but the selection don't identify of my detail view.
I'm afraid I don't understand this. What do you mean by "the selection
don't identify of my detail view"?
> I have a
> selectionProvider in my tableViewer view and a selectionListener in my
> detail view. The tableColumns have a listener for the sort. Can I don't
> have multiple listener? Do you have a idea what the problem is?
Do you use the Workbench selection service? If so, maybe this article
could help:
http://www.eclipse.org/articles/Article-WorkbenchSelections/ article.html
Best regards, Ralf
|
|
|
|
|
Re: TableViewer + ViewerSorter [message #134182 is a reply to message #134144] |
Wed, 27 May 2009 08:45 |
|
Hi Kristin,
> It is possible to have a SelectionProvider and a SelectionListener in
> the same view?
Yes, this is possible.
I have some problems with my listeners.
Did you check the article on the selection service mentioned before?
This should really explain everything. You could also take a look at the
RAP demo, which also uses the selection service, e.g. DemoTableViewPart,
DemoSelectionViewPart, etc.
Ralf
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04312 seconds