how to register a selectionProvider for the Viewer from a superclass
- by Tom
I have a View which extends a View provided by another plugin like this;
public class View2 extends some.other.package.View1
{
public void createPartControl(Composite parent)
{
super.createPartControl(parent);
//I want to do this, but I can't because its private
//getSite().setSelectionProvider(treeViewer);
}
}…