mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
schemes editor: gear icon tooltip
This commit is contained in:
+1
-1
@@ -284,6 +284,7 @@ public abstract class AbstractSchemesPanel<T extends Scheme, InfoComponent exten
|
||||
private final Component myParentComponent;
|
||||
|
||||
ShowSchemesActionsListAction(Collection<AnAction> actions, Component component) {
|
||||
super("Show Scheme Actions", "Show Scheme Actions", AllIcons.General.Gear);
|
||||
myParentComponent = component;
|
||||
myActionGroup = new DefaultActionGroup(actions.toArray(AnAction.EMPTY_ARRAY));
|
||||
}
|
||||
@@ -291,7 +292,6 @@ public abstract class AbstractSchemesPanel<T extends Scheme, InfoComponent exten
|
||||
@Override
|
||||
public void update(AnActionEvent e) {
|
||||
Presentation p = e.getPresentation();
|
||||
p.setIcon(AllIcons.General.Gear);
|
||||
p.setEnabledAndVisible(isEnabledAndVisible(e));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user