mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
icons
This commit is contained in:
+2
-2
@@ -337,7 +337,7 @@ public class SingleInspectionProfilePanel extends JPanel {
|
||||
actions.add(actionManager.createCollapseAllAction(myTreeExpander, myTree));
|
||||
|
||||
actions.add(new AnAction(CommonBundle.message("button.reset.to.default"), CommonBundle.message("button.reset.to.default"),
|
||||
AllIcons.Actions.Reset_to_default) {
|
||||
AllIcons.General.Reset) {
|
||||
{
|
||||
registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_R, InputEvent.CTRL_MASK)), myTree);
|
||||
}
|
||||
@@ -353,7 +353,7 @@ public class SingleInspectionProfilePanel extends JPanel {
|
||||
}
|
||||
});
|
||||
|
||||
actions.add(new AnAction("Reset to Empty", "Reset to empty", AllIcons.General.Reset){
|
||||
actions.add(new AnAction("Reset to Empty", "Reset to empty", AllIcons.Actions.Reset_to_empty){
|
||||
|
||||
@Override
|
||||
public void update(AnActionEvent e) {
|
||||
|
||||
@@ -122,6 +122,7 @@ public class AllIcons {
|
||||
public static final Icon Rerun = IconLoader.getIcon("/actions/rerun.png"); // 16x16
|
||||
public static final Icon Reset_to_default = IconLoader.getIcon("/actions/reset-to-default.png"); // 16x16
|
||||
public static final Icon Reset = IconLoader.getIcon("/actions/reset.png"); // 16x16
|
||||
public static final Icon Reset_to_empty = IconLoader.getIcon("/actions/Reset_to_empty.png"); // 16x16
|
||||
public static final Icon Restart = IconLoader.getIcon("/actions/restart.png"); // 16x16
|
||||
public static final Icon Resume = IconLoader.getIcon("/actions/resume.png"); // 16x16
|
||||
public static final Icon Right = IconLoader.getIcon("/actions/right.png"); // 16x16
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ public class RestoreDefault extends AnAction implements IPropertyTableAction {
|
||||
String text = DesignerBundle.message("designer.properties.restore_default");
|
||||
presentation.setText(text);
|
||||
presentation.setDescription(text);
|
||||
presentation.setIcon(AllIcons.Actions.Reset_to_default);
|
||||
presentation.setIcon(AllIcons.General.Reset);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user