I have a class that implements ISelectionListener. I want to determine when the user right clicked when the selection was made.
This is the method that I need to implement to handle selection changes:
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
//HOW?
// if right clicked... do something
// else .. do default
}