@Override public void setPermFocus(boolean focus) { boolean wasFocussed = hasPermFocus(); super.setPermFocus(focus); if (focus && !wasFocussed) { listener.pkgEditorGotFocus(); } else if (!focus && wasFocussed) { listener.pkgEditorLostFocus(); } }
/** Notify listener of an event. */ protected void fireTargetEvent(PackageEditorEvent e) { if (listener != null) { listener.targetEvent(e); } }
/** Notify of some interaction. */ public void recordInteraction(InvokerRecord ir) { listener.recordInteraction(ir); }