コード例 #1
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);
   }
 }
コード例 #2
0
 void updateToolbar() {
   if (myToolbar != null) {
     myNorthPanel.remove(myToolbar);
   }
   myToolbar = createToolbar();
   myNorthPanel.add(myToolbar);
   updateToolbarVisibility();
   myContentPane.revalidate();
 }