mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove unused EP
GitOrigin-RevId: d8845ef6eec0d4cca7daa333d52f50524e340957
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0a9497f079
commit
1efacbe394
-13
@@ -206,23 +206,10 @@ public class ProjectStructureConfigurable implements SearchableConfigurable, Pla
|
||||
addArtifactsConfig();
|
||||
}
|
||||
|
||||
ProjectStructureConfigurableContributor[] adders = ProjectStructureConfigurableContributor.EP_NAME.getExtensions();
|
||||
for (ProjectStructureConfigurableContributor adder : adders) {
|
||||
for (Configurable configurable : adder.getExtraProjectConfigurables(myProject, myContext)) {
|
||||
addConfigurable(configurable, true);
|
||||
}
|
||||
}
|
||||
|
||||
mySidePanel.addSeparator(JavaUiBundle.message("project.structure.platform.title"));
|
||||
addJdkListConfig();
|
||||
addGlobalLibrariesConfig();
|
||||
|
||||
for (ProjectStructureConfigurableContributor adder : adders) {
|
||||
for (Configurable configurable : adder.getExtraPlatformConfigurables(myProject, myContext)) {
|
||||
addConfigurable(configurable, true);
|
||||
}
|
||||
}
|
||||
|
||||
mySidePanel.addSeparator("--");
|
||||
addErrorPane();
|
||||
}
|
||||
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* Copyright 2013 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.openapi.roots.ui.configuration;
|
||||
|
||||
import com.intellij.openapi.extensions.ExtensionPointName;
|
||||
import com.intellij.openapi.options.Configurable;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.roots.ui.configuration.projectRoot.StructureConfigurableContext;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
public abstract class ProjectStructureConfigurableContributor {
|
||||
public static final ExtensionPointName<ProjectStructureConfigurableContributor> EP_NAME = ExtensionPointName.create("com.intellij.projectStructureConfigurableAdder");
|
||||
|
||||
@NotNull
|
||||
public List<? extends Configurable> getExtraProjectConfigurables(@NotNull Project project, @NotNull StructureConfigurableContext context) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public List<? extends Configurable> getExtraPlatformConfigurables(@NotNull Project project, @NotNull StructureConfigurableContext context) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -158,8 +158,6 @@
|
||||
|
||||
<extensionPoint qualifiedName="com.intellij.projectStructureConfigurableFilter"
|
||||
interface="com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurableFilter" dynamic="true"/>
|
||||
<extensionPoint qualifiedName="com.intellij.projectStructureConfigurableAdder"
|
||||
interface="com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurableContributor"/>
|
||||
|
||||
<extensionPoint qualifiedName="com.intellij.compiler" area="IDEA_PROJECT" interface="com.intellij.openapi.compiler.Compiler" dynamic="true"/>
|
||||
<extensionPoint qualifiedName="com.intellij.compilerFactory" area="IDEA_PROJECT" interface="com.intellij.openapi.compiler.CompilerFactory"/>
|
||||
|
||||
Reference in New Issue
Block a user