KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > action > IMenuListener


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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.jface.action;
12
13 /**
14  * A menu listener that gets informed when a menu is about to show.
15  *
16  * @see MenuManager#addMenuListener
17  */

18 public interface IMenuListener {
19     /**
20      * Notifies this listener that the menu is about to be shown by
21      * the given menu manager.
22      *
23      * @param manager the menu manager
24      */

25     public void menuAboutToShow(IMenuManager manager);
26 }
27
Popular Tags