예제 #1
0
 public final void uiSettingsChanged(final UISettings source) {
   updateToolbarVisibility();
   updateStatusBarVisibility();
   for (IdeRootPaneNorthExtension component : myNorthComponents) {
     component.uiSettingsChanged(source);
   }
 }
예제 #2
0
 public void deinstallNorthComponents() {
   for (IdeRootPaneNorthExtension northComponent : myNorthComponents) {
     myNorthPanel.remove(northComponent.getComponent());
     Disposer.dispose(northComponent);
   }
   myNorthComponents.clear();
 }
예제 #3
0
 public IdeRootPaneNorthExtension findByName(String name) {
   for (IdeRootPaneNorthExtension northComponent : myNorthComponents) {
     if (Comparing.strEqual(name, northComponent.getKey())) {
       return northComponent;
     }
   }
   return null;
 }
예제 #4
0
 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);
   }
 }