Java 类com.intellij.ui.tabs.impl.singleRow.ScrollableSingleRowLayout 实例源码

项目:intellij-ce-playground    文件:JBEditorTabs.java   
@Override
protected SingleRowLayout createSingleRowLayout() {
  if (!UISettings.getInstance().HIDE_TABS_IF_NEED && supportsCompression()) {
    return new CompressibleSingleRowLayout(this);
  }
  else if (ApplicationManager.getApplication().isInternal() || Registry.is("editor.use.scrollable.tabs")) {
    return new ScrollableSingleRowLayout(this);
  }
  return super.createSingleRowLayout();
}
项目:tools-idea    文件:JBEditorTabs.java   
@Override
protected SingleRowLayout createSingleRowLayout() {
  if (ApplicationManager.getApplication().isInternal() || Registry.is("editor.use.scrollable.tabs")) {
    return new ScrollableSingleRowLayout(this);
  }
  return super.createSingleRowLayout();
}
项目:consulo    文件:JBEditorTabs.java   
@Override
protected SingleRowLayout createSingleRowLayout() {
  if (!UISettings.getInstance().HIDE_TABS_IF_NEED && supportsCompression()) {
    return new CompressibleSingleRowLayout(this);
  }
  else {
    return new ScrollableSingleRowLayout(this);
  }
}