Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
ee00c7ca
Commit
ee00c7ca
authored
7 years ago
by
Konstantin Bulenkov
Browse files
Options
Download
Email Patches
Plain Diff
update javadoc and deprecate isAlloy
parent
90e12b5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/util/src/com/intellij/util/ui/UIUtil.java
+16
-5
platform/util/src/com/intellij/util/ui/UIUtil.java
with
16 additions
and
5 deletions
+16
-5
platform/util/src/com/intellij/util/ui/UIUtil.java
+
16
-
5
View file @
ee00c7ca
...
...
@@ -1315,7 +1315,7 @@ public class UIUtil {
public
static
Color
getSeparatorColor
()
{
Color
separatorColor
=
getSeparatorForeground
();
if
(
isUnderAlloyLookAndFeel
()
)
{
if
(
false
)
{
separatorColor
=
getSeparatorShadow
();
}
//under GTK+ L&F colors set hard
...
...
@@ -1456,14 +1456,24 @@ public class UIUtil {
return
UIManager
.
getColor
(
"OptionPane.background"
);
}
/**
* Alloy Look-n-Feel is deprecated and does not supported by IntelliJ Platform
* @return false
* @deprecated
*/
@SuppressWarnings
(
"HardCodedStringLiteral"
)
public
static
boolean
isUnderAlloyLookAndFeel
()
{
return
UIManager
.
getLookAndFeel
().
getName
().
contains
(
"Alloy"
)
;
return
false
;
}
/**
* Alloy Look-n-Feel is deprecated and does not supported by IntelliJ Platform
* @return false
* @deprecated
*/
@SuppressWarnings
(
"HardCodedStringLiteral"
)
public
static
boolean
isUnderAlloyIDEALookAndFeel
()
{
return
isUnderAlloyLookAndFeel
()
&&
UIManager
.
getLookAndFeel
().
getName
().
contains
(
"IDEA"
)
;
return
false
;
}
@SuppressWarnings
(
"HardCodedStringLiteral"
)
...
...
@@ -1483,12 +1493,13 @@ public class UIUtil {
/**
* IntelliJ Platform does not support Nimbus look-n-feel
* Nimbus Look-n-Feel is deprecated and does not supported by IntelliJ Platform
* @return false
* @deprecated
*/
@SuppressWarnings
(
"HardCodedStringLiteral"
)
public
static
boolean
isUnderNimbusLookAndFeel
()
{
return
UIManager
.
getLookAndFeel
().
getName
().
contains
(
"Nimbus"
)
;
return
false
;
}
@SuppressWarnings
(
"HardCodedStringLiteral"
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help