Ejemplo n.º 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();
   }
 }
Ejemplo n.º 2
0
 /** Notify listener of an event. */
 protected void fireTargetEvent(PackageEditorEvent e) {
   if (listener != null) {
     listener.targetEvent(e);
   }
 }
Ejemplo n.º 3
0
 /** Notify of some interaction. */
 public void recordInteraction(InvokerRecord ir) {
   listener.recordInteraction(ir);
 }