1 11 12 package org.eclipse.debug.internal.ui.views.memory; 13 14 import org.eclipse.core.runtime.ISafeRunnable; 15 import org.eclipse.debug.internal.ui.DebugUIPlugin; 16 import org.eclipse.jface.util.IPropertyChangeListener; 17 import org.eclipse.jface.util.PropertyChangeEvent; 18 19 24 public class PropertyChangeNotifier implements ISafeRunnable 25 { 26 27 IPropertyChangeListener fListener; 28 PropertyChangeEvent fEvt; 29 30 public PropertyChangeNotifier(IPropertyChangeListener listener, PropertyChangeEvent evt) 31 { 32 fListener = listener; 33 fEvt = evt; 34 } 35 36 39 public void handleException(Throwable exception) { 40 DebugUIPlugin.log(exception); 41 } 42 43 46 public void run() throws Exception { 47 fListener.propertyChange(fEvt); 48 } 49 } 50 | Popular Tags |