'Show project structure' actions moved to idea-ui module
[idea/community.git] / platform / platform-impl / src / com / intellij / openapi / options / ex / ProjectConfigurablesGroup.java
index 6a30cb8420121f2ebc5cc12717f69a0a967c97fe..8b898cf09c8f006bc120c95790ccfedba1f01f27 100644 (file)
@@ -18,7 +18,6 @@ package com.intellij.openapi.options.ex;
 import com.intellij.openapi.options.*;
 import com.intellij.openapi.project.Project;
 import com.intellij.util.containers.ContainerUtil;
-import org.jetbrains.annotations.Nullable;
 
 import java.util.ArrayList;
 import java.util.Iterator;
@@ -75,17 +74,6 @@ public class ProjectConfigurablesGroup implements ConfigurableGroup {
     return result.toArray(new Configurable[result.size()]);
   }
 
-  @Nullable
-  public static Configurable getProjectStructureConfigurable(Project project) {
-    final Configurable[] configurables = getConfigurables(project, new ConfigurableFilter() {
-      public boolean isIncluded(final Configurable configurable) {
-        return PROJECT_STRUCTURE_CLASS_FQ_NAME.equals(configurable.getClass().getName());
-      }
-    });
-
-    return configurables.length == 1 ? configurables[0] : null;
-  }
-
   static List<Configurable> buildConfigurablesList(final Configurable[] extensions, final Configurable[] components, ConfigurableFilter filter) {
     List<Configurable> result = new ArrayList<Configurable>();
     ContainerUtil.addAll(result, extensions);