* @see org.eclipse.debug.ui.actions.IToggleBreakpointsTarget#canToggleMethodBreakpoints(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)
*/
public boolean canToggleMethodBreakpoints(IWorkbenchPart part, ISelection selection) {
- if (selection instanceof IStructuredSelection) {
- IStructuredSelection ss = (IStructuredSelection) selection;
- return getMethods(ss).length > 0;
- } else {
- return selection instanceof ITextSelection;
- }
+// if (selection instanceof IStructuredSelection) {
+// IStructuredSelection ss = (IStructuredSelection) selection;
+// return getMethods(ss).length > 0;
+// } else {
+// return selection instanceof ITextSelection;
+// }
+ return false;
}
protected IMethod[] getMethods(IStructuredSelection selection) {