diff options
Diffstat (limited to 'bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/FindReferencesAction.java')
-rw-r--r-- | bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/FindReferencesAction.java | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/FindReferencesAction.java b/bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/FindReferencesAction.java deleted file mode 100644 index d921f9b2bf..0000000000 --- a/bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/FindReferencesAction.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - */ -package org.eclipse.wst.jsdt.web.ui.actions; - -import org.eclipse.jface.action.IAction; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.wst.jsdt.core.IJavaElement; - -/** - * @author childsb - * - */ -public class FindReferencesAction extends JsElementActionProxy { - /* - * (non-Javadoc) - * - * @see org.eclipse.wst.jsdt.web.ui.actions.JsElementActionProxy#getRunArgs(org.eclipse.jface.action.IAction) - */ - - public Object[] getRunArgs(IAction action) { - IJavaElement elements[] = JsElementActionProxy.getJsElementsFromSelection(getCurrentSelection()); - if (elements != null && elements.length > 0) { - return new Object[] { elements[0] }; - } - return new Object[0]; - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.wst.jsdt.web.ui.actions.JsElementActionProxy#getRunArgTypes() - */ - - public Class[] getRunArgTypes() { - return new Class[] { IJavaElement.class }; - } - - - public void selectionChanged(IAction action, ISelection selection) { - setSelection(selection); - } -} |