private void fireSelectionEvent() { fIgnoreEvents= true; try { ISelection selection= getSelection(); SelectionChangedEvent event= new SelectionChangedEvent(this, selection); for (ISelectionChangedListener listener : fListeners) { listener.selectionChanged(event); } } finally { fIgnoreEvents= false; } } }
private void fireSelectionEvent() { fIgnoreEvents= true; try { ISelection selection= getSelection(); SelectionChangedEvent event= new SelectionChangedEvent(this, selection); for (ISelectionChangedListener listener : fListeners) { listener.selectionChanged(event); } } finally { fIgnoreEvents= false; } } }