1 /******************************************************************************* 2 * Copyright (c) 2004, 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 12 package org.eclipse.jface.bindings; 13 14 /** 15 * <p> 16 * An instance of <code>ISchemeListener</code> can be used by clients to 17 * receive notification of changes to one or more instances of 18 * <code>IScheme</code>. 19 * </p> 20 * <p> 21 * This interface may be implemented by clients. 22 * </p> 23 * 24 * @since 3.1 25 * @see Scheme#addSchemeListener(ISchemeListener) 26 * @see Scheme#removeSchemeListener(ISchemeListener) 27 * @see SchemeEvent 28 */ 29 public interface ISchemeListener { 30 31 /** 32 * Notifies that one or more attributes of an instance of 33 * <code>IScheme</code> have changed. Specific details are described in 34 * the <code>SchemeEvent</code>. 35 * 36 * @param schemeEvent 37 * the scheme event. Guaranteed not to be <code>null</code>. 38 */ 39 void schemeChanged(SchemeEvent schemeEvent); 40 } 41