This commit is contained in:
Konstantin Bulenkov
2012-11-05 12:27:58 +01:00
parent bafa439e09
commit 52b58c19cc
5 changed files with 5 additions and 5 deletions
@@ -51,7 +51,7 @@ public class FileColorsModel implements Cloneable {
static {
globalScopes = new HashMap<String, String>();
globalScopes.put(NonProjectFilesScope.NAME, "file.colors.enable.non.project");
if (PlatformUtils.isJavaIDE()) {
if (PlatformUtils.isIntelliJ()) {
globalScopes.put(TestsScope.NAME, "file.colors.enable.tests");
}
@@ -71,7 +71,7 @@ public class PlatformUtils {
return FLEX_PREFIX.equals(getPlatformPrefix());
}
public static boolean isJavaIDE() {
public static boolean isIntelliJ() {
return isIdea() || isCommunity();
}
}
@@ -79,7 +79,7 @@ public class EditorsSplitters extends JBPanel {
super(new BorderLayout());
if (UIUtil.isUnderDarcula()) {
setBackgroundImage(IconLoader.getIcon("/frame_background.jpg"));
if (PlatformUtils.isJavaIDE()) {
if (PlatformUtils.isIntelliJ()) {
setCenterImage(IconLoader.getIcon("/idea_logo_background.png"));
}
}
@@ -159,7 +159,7 @@ public class IdeRootPane extends JRootPane implements UISettingsListener {
@Override
protected void paintComponent(Graphics g) {
super.paintComponent(g);
if (UIUtil.isUnderDarcula() && PlatformUtils.isJavaIDE()) {
if (UIUtil.isUnderDarcula() && PlatformUtils.isIntelliJ()) {
IconUtil.paintInCenterOf(this, g, IconLoader.getIcon("/idea_logo_background.png"));
}
}
@@ -133,7 +133,7 @@ public class DefaultWelcomeScreen implements WelcomeScreen {
};
myWelcomePanel.setBackgroundImage(IconLoader.getIcon("/frame_background.jpg"));
if (PlatformUtils.isJavaIDE()) {
if (PlatformUtils.isIntelliJ()) {
myWelcomePanel.setCenterImage(IconLoader.getIcon("idea_logo_background.png"));
}