diff options
Diffstat (limited to 'bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/FindReferencesInWorkingSetAction.java')
-rw-r--r-- | bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/FindReferencesInWorkingSetAction.java | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/FindReferencesInWorkingSetAction.java b/bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/FindReferencesInWorkingSetAction.java deleted file mode 100644 index e80577abbd..0000000000 --- a/bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/FindReferencesInWorkingSetAction.java +++ /dev/null @@ -1,45 +0,0 @@ -/** - * - */ -package org.eclipse.wst.jsdt.web.ui.actions; - -import java.lang.reflect.InvocationTargetException; - -import org.eclipse.jface.action.IAction; -import org.eclipse.wst.jsdt.core.IJavaElement; - -/** - * @author childsb - * - */ -public class FindReferencesInWorkingSetAction extends FindReferencesAction { - - public void run(IAction action) { - try { - Object handler = getActionHandler(action); - IJavaElement elements[] = JsElementActionProxy.getJsElementsFromSelection(getCurrentSelection()); - if (elements == null || elements.length == 0) { - return; - } - SimpleJSDTActionProxy.executeMethod(handler, "run", new Class[] { IJavaElement.class }, new Object[] { elements[0] }); //$NON-NLS-1$ - } catch (IllegalArgumentException ex) { - // TODO Auto-generated catch block - ex.printStackTrace(); - } catch (SecurityException ex) { - // TODO Auto-generated catch block - ex.printStackTrace(); - } catch (IllegalAccessException ex) { - // TODO Auto-generated catch block - ex.printStackTrace(); - } catch (NoSuchMethodException ex) { - // TODO Auto-generated catch block - ex.printStackTrace(); - } catch (InstantiationException ex) { - // TODO Auto-generated catch block - ex.printStackTrace(); - } catch (InvocationTargetException ex) { - // If user doesn't select a working set an exception is thrown so we - // wont print stack trace here - } - } -} |