/** * Creates a new action that configures itself from the given resource * bundle. * <p> * The following keys, prepended by the given option prefix, * are used for retrieving resources from the given bundle: * <ul> * <li><code>"label"</code> - <code>setText</code></li> * <li><code>"tooltip"</code> - <code>setToolTipText</code></li> * <li><code>"image"</code> - <code>setImageDescriptor</code></li> * <li><code>"description"</code> - <code>setDescription</code></li> * </ul> * </p> * * @param bundle the resource bundle * @param prefix a prefix to be prepended to the various resource keys, or * <code>null</code> if none */ public ResourceAction(ResourceBundle bundle, String prefix) { super(); initialize(bundle, prefix); }
/** * Creates a new action that configures itself from the given resource * bundle. * <p> * The following keys, prepended by the given option prefix, * are used for retrieving resources from the given bundle: * <ul> * <li><code>"label"</code> - <code>setText</code></li> * <li><code>"tooltip"</code> - <code>setToolTipText</code></li> * <li><code>"image"</code> - <code>setImageDescriptor</code></li> * <li><code>"description"</code> - <code>setDescription</code></li> * </ul> * </p> * * @param bundle the resource bundle * @param prefix a prefix to be prepended to the various resource keys, or * <code>null</code> if none */ public ResourceAction(ResourceBundle bundle, String prefix) { super(); initialize(bundle, prefix); }
/** * Creates a new action that configures itself from the given resource * bundle. * <p> * The following keys, prepended by the given option prefix, * are used for retrieving resources from the given bundle: * <ul> * <li><code>"label"</code> - <code>setText</code></li> * <li><code>"tooltip"</code> - <code>setToolTipText</code></li> * <li><code>"image"</code> - <code>setImageDescriptor</code></li> * <li><code>"description"</code> - <code>setDescription</code></li> * </ul> * </p> * * @param bundle the resource bundle * @param prefix a prefix to be prepended to the various resource keys, or * <code>null</code> if none */ public ResourceAction(ResourceBundle bundle, String prefix) { super(); initialize(bundle, prefix); }
initialize(bundle, prefix);