This commit is contained in:
anna
2013-02-27 19:29:01 +01:00
parent fc04a02810
commit 531ce3d49d
3 changed files with 4 additions and 3 deletions
@@ -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
@@ -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