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