diff options
Diffstat (limited to 'bundles/org.eclipse.wst.xsd.ui/src-search/org/eclipse/wst/xsd/ui/internal/search/actions/XSDSearchReferencesGroupActionDelegate.java')
-rw-r--r-- | bundles/org.eclipse.wst.xsd.ui/src-search/org/eclipse/wst/xsd/ui/internal/search/actions/XSDSearchReferencesGroupActionDelegate.java | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-search/org/eclipse/wst/xsd/ui/internal/search/actions/XSDSearchReferencesGroupActionDelegate.java b/bundles/org.eclipse.wst.xsd.ui/src-search/org/eclipse/wst/xsd/ui/internal/search/actions/XSDSearchReferencesGroupActionDelegate.java deleted file mode 100644 index be947bc397..0000000000 --- a/bundles/org.eclipse.wst.xsd.ui/src-search/org/eclipse/wst/xsd/ui/internal/search/actions/XSDSearchReferencesGroupActionDelegate.java +++ /dev/null @@ -1,46 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2006 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - * - *******************************************************************************/ -package org.eclipse.wst.xsd.ui.internal.search.actions; - -import org.eclipse.swt.widgets.Menu; -import org.eclipse.ui.IEditorPart; -import org.eclipse.ui.IWorkbenchPartSite; - -//org.eclipse.wst.xsd.ui.internal.search.actions.XSDSearchGroupActionDelegate -public class XSDSearchReferencesGroupActionDelegate extends BaseGroupActionDelegate -{ - protected void fillMenu(Menu menu) { - try - { - if (fSelection == null) { - return; - } - if (workbenchPart != null) - { - IWorkbenchPartSite site = workbenchPart.getSite(); - if (site == null) - return; - - IEditorPart editor = site.getPage().getActiveEditor(); - if ( editor != null ){ - ReferencesSearchGroup referencesGroup = new ReferencesSearchGroup(editor); - XSDSearchGroupSubMenu subMenu = new XSDSearchGroupSubMenu(referencesGroup); - subMenu.fill(menu, -1); - } - } - } - catch (Exception e) - { - e.printStackTrace(); - } - } -} |