1 /******************************************************************************* 2 * Copyright (c) 2000, 2005 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.ui.texteditor.spelling; 12 13 import org.eclipse.core.runtime.IStatus; 14 15 /** 16 * A monitor that can be notified about status changes. 17 * <p> 18 * This interface is intended to be implemented by clients. 19 * </p> 20 * 21 * @see ISpellingPreferenceBlock#initialize(IPreferenceStatusMonitor) 22 * @since 3.1 23 */ 24 public interface IPreferenceStatusMonitor { 25 26 /** 27 * Notifies this monitor that the preference page's status has changed 28 * the given status. 29 * 30 * @param status the new status 31 */ 32 void statusChanged(IStatus status); 33 } 34