コード例 #1
0
 /** Delegate {@link SelectionNotifier} calls to the container. */
 @Override
 public void removeSelectionListener(SelectionListener listener) {
   m_container.removeSelectionListener(listener);
   for (SelectionNotifier notifier : m_selectionNotifiers) {
     notifier.removeSelectionListener(listener);
   }
 }
コード例 #2
0
 /** Delegate {@link SelectionNotifier} calls to the container. */
 @Override
 public void setSelectionListeners(Set<SelectionListener> listeners) {
   m_container.setSelectionListeners(listeners);
   for (SelectionNotifier notifier : m_selectionNotifiers) {
     notifier.setSelectionListeners(listeners);
   }
 }
コード例 #3
0
 /** Delegate {@link SelectionNotifier} calls to the container. */
 @Override
 public void addSelectionListener(SelectionListener listener) {
   if (listener != null) {
     m_container.addSelectionListener(listener);
     for (SelectionNotifier notifier : m_selectionNotifiers) {
       notifier.addSelectionListener(listener);
     }
   }
 }