void (@NotNull Container container, @NotNull GridBag gc) { PsiFile psiFile = getPsiFile(); if (psiFile != null) { List<HectorComponentPanel> list = new ArrayList<>(); for (HectorComponentPanelsProvider hp : HectorComponentPanelsProvider.EP_NAME.getExtensionList(getProject())) { HectorComponentPanel configurable = hp.createConfigurable(psiFile); if (configurable != null) { list.add(configurable); } } myAdditionalPanels = list; for (HectorComponentPanel panel : myAdditionalPanels) { JComponent c; try { panel.reset(); c = panel.createComponent(); } catch (ProcessCanceledException e) { throw e; } catch (Throwable e) { //noinspection LoggerInitializedWithForeignClass Logger.getInstance(TrafficLightRenderer.class).error(e); continue; } if (c != null) { container.add(c, gc.nextLine().next().fillCellHorizontally().coverLine().weightx(1.0)); } } } }