Hector turned to pi/2

This commit is contained in:
Konstantin Bulenkov
2010-06-22 14:07:18 +04:00
parent 06ff8fa1e9
commit 16c1ee15f0
2 changed files with 6 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

View File

@@ -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;
}