KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 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 hide.
15  *
16  * @see MenuManager#addMenuListener
17  * @since 3.2
18  */

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

26     public void menuAboutToHide(IMenuManager manager);
27 }
28
Popular Tags