public final void uiSettingsChanged(final UISettings source) { updateToolbarVisibility(); updateStatusBarVisibility(); for (IdeRootPaneNorthExtension component : myNorthComponents) { component.uiSettingsChanged(source); } }
public void deinstallNorthComponents() { for (IdeRootPaneNorthExtension northComponent : myNorthComponents) { myNorthPanel.remove(northComponent.getComponent()); Disposer.dispose(northComponent); } myNorthComponents.clear(); }
public IdeRootPaneNorthExtension findByName(String name) { for (IdeRootPaneNorthExtension northComponent : myNorthComponents) { if (Comparing.strEqual(name, northComponent.getKey())) { return northComponent; } } return null; }
public void installNorthComponents(final Project project) { ContainerUtil.addAll( myNorthComponents, Extensions.getExtensions(IdeRootPaneNorthExtension.EP_NAME, project)); for (IdeRootPaneNorthExtension northComponent : myNorthComponents) { myNorthPanel.add(northComponent.getComponent()); northComponent.uiSettingsChanged(myUISettings); } }