public boolean canOperateOn(ISelection sel) {
public boolean canOperateOn(IStructuredSelection sel) {
	public boolean canOperateOn(ISelection sel) {		boolean hasSelection= !sel.isEmpty();		if (!hasSelection || fValidTypes == null)			return hasSelection;		if (fValidTypes.length == 0)			return false;		IJavaElement element= getJavaElement(sel, true);		if (element != null) {			for (int i= 0; i < fValidTypes.length; i++) {				if (fValidTypes[i].isInstance(element))					return true;			}		}		return false;	}