# HG changeset patch
# Parent 2ec9db219998d01fb90073f8d4bc005e60786338
diff --git a/openide.awt/apichanges.xml b/openide.awt/apichanges.xml
--- a/openide.awt/apichanges.xml
+++ b/openide.awt/apichanges.xml
@@ -50,6 +50,23 @@
AWT API
+
+
+ Support "selected" icons in Actions and Actions.checkbox
+
+
+
+
+
+
+ Handle _selected, _rolloverSelected and _disabledSelected
+ icon resources in Actions.connect.
+ Actions.checkbox on a Toolbar uses them if they are available.
+
+
+
+
+ New @ActionReference annotations
diff --git a/openide.awt/manifest.mf b/openide.awt/manifest.mf
--- a/openide.awt/manifest.mf
+++ b/openide.awt/manifest.mf
@@ -2,5 +2,5 @@
OpenIDE-Module: org.openide.awt
OpenIDE-Module-Localizing-Bundle: org/openide/awt/Bundle.properties
AutoUpdate-Essential-Module: true
-OpenIDE-Module-Specification-Version: 7.31
+OpenIDE-Module-Specification-Version: 7.32
diff --git a/openide.awt/src/org/openide/awt/Actions.java b/openide.awt/src/org/openide/awt/Actions.java
--- a/openide.awt/src/org/openide/awt/Actions.java
+++ b/openide.awt/src/org/openide/awt/Actions.java
@@ -219,15 +219,21 @@
}
/** Connects buttons to action. If the action supplies value for "iconBase"
- * key from getValue(String) with a path to icons the methods setIcon,
- * setPressedIcon, setDisabledIcon and setRolloverIcon will be called on the
+ * key from getValue(String) with a path to icons, the methods set*Icon
+ * will be called on the
* button with loaded icons using the iconBase. E.g. if the value for "iconBase"
- * will be "com/mycompany/myIcon.gif" following images will be tried "com/mycompany/myIcon.gif"
- * for setIcon, "com/mycompany/myIcon_pressed.gif" for setPressedIcon,
- * "com/mycompany/myIcon_disabled.gif" for setDisabledIcon and
- * "com/mycompany/myIcon_rollover.gif" for setRolloverIcon. SystemAction has
- * special support for iconBase - please check {@link SystemAction#iconResource}
- * for more details.
+ * is "com/mycompany/myIcon.gif" then the following images are tried
+ *
+ *
setIcon with "com/mycompany/myIcon.gif"
+ *
setPressedIcon with "com/mycompany/myIcon_pressed.gif"
+ *
setDisabledIcon with "com/mycompany/myIcon_disabled.gif"
+ *
setRolloverIcon with "com/mycompany/myIcon_rollover.gif"
+ *
setSelectedIcon with "com/mycompany/myIcon_selected.gif"
+ *
setRolloverSelectedIcon with "com/mycompany/myIcon_rolloverSelected.gif"
+ *
setDisabledSelectedIcon with "com/mycompany/myIcon_disabledSelected.gif"