Java 类com.intellij.ui.plaf.gtk.GtkMenuUI 实例源码

项目:intellij-ce-playground    文件:ActionMenu.java   
@Override
public void setUI(final MenuItemUI ui) {
  final MenuItemUI newUi = !myTopLevel && UIUtil.isUnderGTKLookAndFeel() && GtkMenuUI.isUiAcceptable(ui) ? new GtkMenuUI(ui) : ui;
  super.setUI(newUi);
}
项目:tools-idea    文件:ActionMenu.java   
@Override
public void setUI(final MenuItemUI ui) {
  final MenuItemUI newUi = !myTopLevel && UIUtil.isUnderGTKLookAndFeel() && GtkMenuUI.isUiAcceptable(ui) ? new GtkMenuUI(ui) : ui;
  super.setUI(newUi);
}
项目:consulo    文件:ActionMenu.java   
@Override
public void setUI(final MenuItemUI ui) {
  final MenuItemUI newUi = !myTopLevel && UIUtil.isUnderGTKLookAndFeel() && GtkMenuUI.isUiAcceptable(ui) ? new GtkMenuUI(ui) : ui;
  super.setUI(newUi);
}