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