blob: 4b69415ed8f0c06e3f54b853145adc9877557c13 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jface.menus;
/**
* An instance of this interface can be used by clients to receive notification
* of changes to one or more instances of <code>SItem</code>.
* <p>
* Clients may implement this interface, but must not be extend.
* </p>
*
* @since 3.2
* @see SItem#addListener(IItemListener)
* @see SItem#removeListener(IItemListener)
*/
public interface IItemListener {
/**
* Notifies that one or more properties of an instance of <code>SItem</code>
* have changed. Specific details are described in the
* <code>ItemEvent</code>.
*
* @param event
* The event; never <code>null</code>.
*/
void itemChanged(ItemEvent event);
}