blob: 86e087efda3e87309db4b8e3ee25902cc35f49b7 [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>SWidget</code>.
* <p>
* Clients may implement this interface, but must not be extend.
* </p>
*
* @since 3.2
* @see SWidget#addListener(IWidgetListener)
* @see SWidget#removeListener(IWidgetListener)
*/
public interface IWidgetListener {
/**
* Notifies that one or more properties of an instance of
* <code>SWidget</code> have changed. Specific details are described in
* the <code>WidgetEvent</code>.
*
* @param event
* The event; never <code>null</code>.
*/
void widgetChanged(WidgetEvent event);
}