diff options
author | nitind | 2007-12-03 18:45:59 +0000 |
---|---|---|
committer | nitind | 2007-12-03 18:45:59 +0000 |
commit | 2fdba8db3247f8d5a3c5bc951c991d16d6b35c55 (patch) | |
tree | c01ef37f56463db11d5684f4db6f3cc584ab702e /bundles/org.eclipse.wst.jsdt.web.ui/src/org/eclipse/wst/jsdt/web/ui/actions/FindReferencesAction.java | |
parent | 81ba8ba7628bb67b322311a2238afa3f53170444 (diff) | |
download | webtools.sourceediting-200712031745.tar.gz webtools.sourceediting-200712031745.tar.xz webtools.sourceediting-200712031745.zip |
This commit was manufactured by cvs2svn to create tag 'v200712031745'.v200712031745
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); - } -} |