mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
Hector turned to pi/2
This commit is contained in:
BIN
platform/icons/src/ide/hectorSyntax.png
Normal file
BIN
platform/icons/src/ide/hectorSyntax.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 772 B |
@@ -48,6 +48,7 @@ import java.awt.event.MouseEvent;
|
||||
public class TogglePopupHintsPanel implements StatusBarWidget, StatusBarWidget.IconPresentation {
|
||||
private static final Icon INSPECTIONS_ICON = IconLoader.getIcon("/ide/hectorOn.png");
|
||||
private static final Icon INSPECTIONS_OFF_ICON = IconLoader.getIcon("/ide/hectorOff.png");
|
||||
private static final Icon SYNTAX_ONLY_ICON = IconLoader.getIcon("/ide/hectorSyntax.png");
|
||||
private static final Icon EMPTY_ICON = IconLoader.getIcon("/ide/hectorNo.png");
|
||||
|
||||
private Icon myCurrentIcon;
|
||||
@@ -132,14 +133,15 @@ public class TogglePopupHintsPanel implements StatusBarWidget, StatusBarWidget.I
|
||||
if (HighlightLevelUtil.shouldInspect(file)) {
|
||||
myCurrentIcon = INSPECTIONS_ICON;
|
||||
myToolTipText = "Current inspection profile: " + InspectionProjectProfileManager.getInstance(file.getProject()).getInspectionProfile().getName() + ". ";
|
||||
}
|
||||
else {
|
||||
} else if (HighlightLevelUtil.shouldHighlight(file)) {
|
||||
myCurrentIcon = SYNTAX_ONLY_ICON;
|
||||
myToolTipText = "Highlighting level is: Syntax. ";
|
||||
} else {
|
||||
myCurrentIcon = INSPECTIONS_OFF_ICON;
|
||||
myToolTipText = "Inspections are off. ";
|
||||
}
|
||||
myToolTipText += UIBundle.message("popup.hints.panel.click.to.configure.highlighting.tooltip.text");
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
myCurrentIcon = EMPTY_ICON;
|
||||
myToolTipText = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user