mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove CreateFromUsage icon usages
This commit is contained in:
@@ -59,7 +59,7 @@ public class QuickFixAction extends AnAction implements CustomComponentAction {
|
||||
}
|
||||
|
||||
protected QuickFixAction(String text, @NotNull InspectionToolWrapper toolWrapper) {
|
||||
this(text, AllIcons.Actions.CreateFromUsage, null, toolWrapper);
|
||||
this(text, AllIcons.Actions.IntentionBulb, null, toolWrapper);
|
||||
}
|
||||
|
||||
protected QuickFixAction(String text, Icon icon, KeyStroke keyStroke, @NotNull InspectionToolWrapper toolWrapper) {
|
||||
@@ -282,7 +282,7 @@ public class QuickFixAction extends AnAction implements CustomComponentAction {
|
||||
final JButton button = new JButton(presentation.getText());
|
||||
Icon icon = presentation.getIcon();
|
||||
if (icon == null) {
|
||||
icon = AllIcons.Actions.CreateFromUsage;
|
||||
icon = AllIcons.Actions.IntentionBulb;
|
||||
}
|
||||
button.setEnabled(presentation.isEnabled());
|
||||
button.setIcon(IconLoader.getTransparentIcon(icon, 0.75f));
|
||||
|
||||
+1
-1
@@ -165,7 +165,7 @@ public class QuickFixPreviewPanelFactory {
|
||||
final ComboBoxAction fixComboBox = new ComboBoxAction() {
|
||||
{
|
||||
getTemplatePresentation().setText("Apply quick fixes" + (multipleDescriptors ? " to all the problems" : ""));
|
||||
getTemplatePresentation().setIcon(AllIcons.Actions.CreateFromUsage);
|
||||
getTemplatePresentation().setIcon(AllIcons.Actions.IntentionBulb);
|
||||
setSmallVariant(false);
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -30,8 +30,7 @@ public class InvokeQuickFixAction extends AnAction {
|
||||
private final InspectionResultsView myView;
|
||||
|
||||
public InvokeQuickFixAction(final InspectionResultsView view) {
|
||||
super(InspectionsBundle.message("inspection.action.apply.quickfix"), InspectionsBundle.message("inspection.action.apply.quickfix.description"),
|
||||
AllIcons.Actions.CreateFromUsage);
|
||||
super(InspectionsBundle.message("inspection.action.apply.quickfix"), InspectionsBundle.message("inspection.action.apply.quickfix.description"), AllIcons.Actions.IntentionBulb);
|
||||
myView = view;
|
||||
registerCustomShortcutSet(ActionManager.getInstance().getAction(IdeActions.ACTION_SHOW_INTENTION_ACTIONS).getShortcutSet(),
|
||||
myView.getTree());
|
||||
|
||||
Reference in New Issue
Block a user