コード例 #1
0
 /** Informs the target content listeners that check state has changed */
 public void contentChanged() {
   Object[] listeners = fChangeListeners.getListeners();
   for (int i = 0; i < listeners.length; i++) {
     ((ITargetChangedListener) listeners[i])
         .contentsChanged(fTargetDefinition, this, false, false);
   }
 }
コード例 #2
0
 /**
  * Adds a listener to the set of listeners that will be notified when the bundle containers are
  * modified. This method has no effect if the listener has already been added.
  *
  * @param listener target changed listener to add
  */
 public void addTargetChangedListener(ITargetChangedListener listener) {
   fChangeListeners.add(listener);
 }