public void runWithEvent(Event event) { if ((event != null) && (delegate instanceof IActionDelegate2)) { ((IActionDelegate2)delegate).runWithEvent(this, event); } else { run(); } }
/** * Disposes this action. */ public void dispose() { if (delegate instanceof IActionDelegate2) { ((IActionDelegate2)delegate).dispose(); delegate = null; } }