Bug 89157 [JUnit] Search for referring tests does nothing in non Java editors
Version: 3.1.0 Build id: I20050322-1757 When you select "Search|Referring Tests..." from any non java editor nothing hapens at all. It should popup the same info dialog that is used when the action run with no java element selected in the java editor. It would be even better if this action could be disabled when it is not applicable.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/GotoReferencedTestAction.java
/*******************************************************************************
 * Copyright (c) 2000, 2004 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.jdt.internal.junit.ui;
import java.util.ArrayList;