Package com.intellij.ui.components

Examples of com.intellij.ui.components.JBTabbedPane


  }


  JTabbedPane getTabbedPane() {
    if (_jTabbedPane == null) {
      _jTabbedPane = new JBTabbedPane(SwingConstants.RIGHT);
      _jTabbedPane.setFocusable(false);
      _jTabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);

      _jTabbedPane.addTab(null, new VerticalTextIcon("Bug Details", true, GuiResources.FINDBUGS_ICON), getBugDetailsSplitPane(), "Bug details concerning the current selected bug in the left tree");
      _jTabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
View Full Code Here


  }


  private Component getTabbedPane() {
    if (_tabbedPane == null) {
      _tabbedPane = new JBTabbedPane();

      final List<ConfigurationPage> configPages = getConfigPages();
      for (final ConfigurationPage configPage : configPages) {
        if (!configPage.isAdvancedConfig()) {
          if (!_plugin.isModuleComponent() || configPage.showInModulePreferences()) {
View Full Code Here

  }

  @NotNull
  private static JBTabbedPane createTabbedPane(@NotNull Project project,
                                               @NotNull Map<String, RunSettingsSection> tabs) {
    JBTabbedPane tabbedPane = new JBTabbedPane();
    CreationContext content = new CreationContext(project);
    for (Map.Entry<String, RunSettingsSection> entry : tabs.entrySet()) {
      JComponent component = entry.getValue().getComponent(content);
      tabbedPane.addTab(entry.getKey(), component);
    }
    tabbedPane.setSelectedIndex(0);
    return tabbedPane;
  }
View Full Code Here

TOP

Related Classes of com.intellij.ui.components.JBTabbedPane

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.