import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.ISelectionListener;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.ISelectionListener;
import org.eclipse.ui.IWorkbenchPart;
@Override
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
// Always disregard own selections.
@Override
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
// Always disregard own selections.
if (DEBUG)
System.out.println("[" + owner + "] workbench selection changed: part=" + part + ", selection=" + selection);
ISelection s = selection;
if (DEBUG)
System.out.println("[" + owner + "] workbench selection changed: part=" + part + ", selection=" + selection);
ISelection s = selection;
System.out.println("** [" + owner + "] workbench selection changed: part=" + part + ", selection=" + selection);
System.out.println(" SETTING NEW SELECTION");
}
System.out.println("** [" + owner + "] workbench selection changed: part=" + part + ", selection=" + selection);
System.out.println(" SETTING NEW SELECTION");
}