diff --git a/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java b/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java index ba48410b4084..f3f8045c061c 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java @@ -21,7 +21,6 @@ import com.intellij.codeInsight.TargetElementUtilBase; import com.intellij.ide.util.PsiElementListCellRenderer; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.editor.Editor; -import com.intellij.openapi.extensions.Extensions; import com.intellij.openapi.progress.ProgressIndicator; import com.intellij.openapi.project.Project; import com.intellij.psi.PsiElement; @@ -81,16 +80,9 @@ public class GotoImplementationHandler extends GotoTargetHandler { }.searchImplementations(editor, source, offset), Collections.emptyList()); } - postConfigure(editor, gotoData); return gotoData; } - private static void postConfigure(@NotNull Editor editor, @NotNull GotoTargetHandler.GotoData gotoData) { - for (GotoTargetConfigurator configurator : Extensions.getExtensions(GotoTargetConfigurator.EP_NAME)) { - configurator.postConfigure(editor, gotoData); - } - } - @NotNull @Override protected String getChooserTitle(PsiElement sourceElement, String name, int length) { diff --git a/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoTargetConfigurator.java b/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoTargetConfigurator.java deleted file mode 100644 index 994acc01e285..000000000000 --- a/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoTargetConfigurator.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2000-2015 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.intellij.codeInsight.navigation; - -import com.intellij.openapi.editor.Editor; -import com.intellij.openapi.extensions.ExtensionPointName; -import org.jetbrains.annotations.NotNull; - -/** - * @author Alexander Lobas - */ -public interface GotoTargetConfigurator { - ExtensionPointName EP_NAME = ExtensionPointName.create("com.intellij.gotoTargetConfigurator"); - - void postConfigure(@NotNull Editor editor, @NotNull GotoTargetHandler.GotoData gotoData); -} \ No newline at end of file diff --git a/platform/platform-resources/src/META-INF/LangExtensionPoints.xml b/platform/platform-resources/src/META-INF/LangExtensionPoints.xml index 6c5e79b54576..faea9a0a61ee 100644 --- a/platform/platform-resources/src/META-INF/LangExtensionPoints.xml +++ b/platform/platform-resources/src/META-INF/LangExtensionPoints.xml @@ -514,8 +514,6 @@ interface="com.intellij.codeInsight.navigation.actions.GotoDeclarationHandler"/> -