/*******************************************************************************
* Copyright (c) 2007-2012 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is 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:
* Red Hat, Inc. - initial API and implementation
******************************************************************************/
package org.jboss.tools.seam.ui.actions;
import org.jboss.tools.seam.core.SeamCoreMessages;
import org.jboss.tools.seam.ui.search.SeamSearchScope;
/**
* Find Seam Declarations action
*
* @author Jeremy
*
* @deprecated use org.jboss.tools.seam.ui.handlers.FindSeamDeclarationsHandler
*
*/
@Deprecated
public class FindSeamDeclarationsAction extends FindSeamAction {
/**
* Constructs the FindSeamDeclarationAction
*/
public FindSeamDeclarationsAction() {
setText(SeamCoreMessages.FIND_DECLARATIONS_ACTION_ACTION_NAME);
setDescription(SeamCoreMessages.FIND_DECLARATIONS_ACTION_DESCRIPTION);
setToolTipText(SeamCoreMessages.FIND_DECLARATIONS_ACTION_TOOL_TIP);
}
/**
* Returns the search limitation to declarations
*/
protected int getLimitTo() {
return SeamSearchScope.SEARCH_FOR_DECLARATIONS;
}
}