/** * Creates a new action. The action configures its initial visual * representation from the given resource bundle. If this action's * wrapped action is set to <code>null</code> it also uses the * information in the resource bundle. The action gets the given * action id. * * @param bundle the resource bundle * @param prefix a prefix to be prepended to the various resource keys * (described in <code>ResourceAction</code> constructor), or <code>null</code> if none * @param actionId the action id * @see ResourceAction#ResourceAction(ResourceBundle, String) * @since 2.0 */ public RetargetTextEditorAction(ResourceBundle bundle, String prefix, String actionId) { super(bundle, prefix); fDefaultText= getText(); setId(actionId); installHelpListener(); }
/** * Creates a new action. The action configures its initial visual * representation from the given resource bundle. If this action's * wrapped action is set to <code>null</code> it also uses the * information in the resource bundle. The action gets the given * action id. * * @param bundle the resource bundle * @param prefix a prefix to be prepended to the various resource keys * (described in <code>ResourceAction</code> constructor), or <code>null</code> if none * @param actionId the action id * @see ResourceAction#ResourceAction(ResourceBundle, String) * @since 2.0 */ public RetargetTextEditorAction(ResourceBundle bundle, String prefix, String actionId) { super(bundle, prefix); fDefaultText= getText(); setId(actionId); installHelpListener(); }
/** * Creates a new action. The action configures its initial visual * representation from the given resource bundle. If this action's * wrapped action is set to <code>null</code> it also uses the * information in the resource bundle. The action gets the given * action id. * * @param bundle the resource bundle * @param prefix a prefix to be prepended to the various resource keys * (described in <code>ResourceAction</code> constructor), or <code>null</code> if none * @param actionId the action id * @see ResourceAction#ResourceAction(ResourceBundle, String) * @since 2.0 */ public RetargetTextEditorAction(ResourceBundle bundle, String prefix, String actionId) { super(bundle, prefix); fDefaultText= getText(); setId(actionId); installHelpListener(); }
/** * Creates a new action. The action configures its initial visual * representation from the given resource bundle. If this action's * wrapped action is set to <code>null</code> it also uses the * information in the resource bundle. The action gets the given * action id. * * @param bundle the resource bundle * @param prefix a prefix to be prepended to the various resource keys * (described in <code>ResourceAction</code> constructor), or <code>null</code> if none * @param actionId the action id * @param style one of <code>IAction.AS_PUSH_BUTTON</code>, <code>IAction.AS_CHECK_BOX</code>, * and <code>IAction.AS_RADIO_BUTTON</code>. * * @see ResourceAction#ResourceAction(ResourceBundle, String, int) * @see IAction#AS_CHECK_BOX * @see IAction#AS_DROP_DOWN_MENU * @see IAction#AS_PUSH_BUTTON * @see IAction#AS_RADIO_BUTTON * @since 2.1 */ public RetargetTextEditorAction(ResourceBundle bundle, String prefix, String actionId, int style) { super(bundle, prefix, style); fDefaultText= getText(); setId(actionId); installHelpListener(); }
/** * Creates a new action. The action configures its initial visual * representation from the given resource bundle. If this action's * wrapped action is set to <code>null</code> it also uses the * information in the resource bundle. The action gets the given * action id. * * @param bundle the resource bundle * @param prefix a prefix to be prepended to the various resource keys * (described in <code>ResourceAction</code> constructor), or <code>null</code> if none * @param actionId the action id * @param style one of <code>IAction.AS_PUSH_BUTTON</code>, <code>IAction.AS_CHECK_BOX</code>, * and <code>IAction.AS_RADIO_BUTTON</code>. * * @see ResourceAction#ResourceAction(ResourceBundle, String, int) * @see IAction#AS_CHECK_BOX * @see IAction#AS_DROP_DOWN_MENU * @see IAction#AS_PUSH_BUTTON * @see IAction#AS_RADIO_BUTTON * @since 2.1 */ public RetargetTextEditorAction(ResourceBundle bundle, String prefix, String actionId, int style) { super(bundle, prefix, style); fDefaultText= getText(); setId(actionId); installHelpListener(); }
/** * Creates a new action. The action configures its initial visual * representation from the given resource bundle. If this action's * wrapped action is set to <code>null</code> it also uses the * information in the resource bundle. The action gets the given * action id. * * @param bundle the resource bundle * @param prefix a prefix to be prepended to the various resource keys * (described in <code>ResourceAction</code> constructor), or <code>null</code> if none * @param actionId the action id * @param style one of <code>IAction.AS_PUSH_BUTTON</code>, <code>IAction.AS_CHECK_BOX</code>, * and <code>IAction.AS_RADIO_BUTTON</code>. * * @see ResourceAction#ResourceAction(ResourceBundle, String, int) * @see IAction#AS_CHECK_BOX * @see IAction#AS_DROP_DOWN_MENU * @see IAction#AS_PUSH_BUTTON * @see IAction#AS_RADIO_BUTTON * @since 2.1 */ public RetargetTextEditorAction(ResourceBundle bundle, String prefix, String actionId, int style) { super(bundle, prefix, style); fDefaultText= getText(); setId(actionId); installHelpListener(); }