Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Broadcasting selections for a muti-viewer ViewPart

Title: Broadcasting selections for a muti-viewer ViewPart


I have a ViewPart that has two TableViewers. I would like both viewers to broadcast selection events using the API.


For example (some brief code)

public class PageFormatView extends ViewPart {
public void createPartControl(Composite parent) {
        pageListViewer = new TableViewer(table);
        pickListViewer = new TableViewer(table);

What I am finding is that only the second viewer will send events. The first viewer that was ignored. Does anyone know how to register both viewers to send events?


Back to the top