*/
public RetargetAction(String actionID, String text, int style) {
super(text, style);
setId(actionID);
setEnabled(false);
super.setHelpListener(new HelpListener() {
public void helpRequested(HelpEvent e) {
HelpListener listener = null;
if (handler != null) {
// if we have a handler, see if it has a help listener
listener = handler.getHelpListener();
if (listener == null) {
// use our own help listener
listener = localHelpListener;
}
}
if (listener != null) {
// pass on the event
listener.helpRequested(e);
}
}
});
}