comparison dwtx/jface/action/IMenuListener.d @ 16:e0f0aaf75edd

PopupDialog, bindings and actions
author Frank Benoit <benoit@tionex.de>
date Tue, 01 Apr 2008 08:00:31 +0200
parents
children
comparison
equal deleted inserted replaced
15:db8940420ed8 16:e0f0aaf75edd
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 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/
13 module dwtx.jface.action.IMenuListener;
14
15 import dwtx.jface.action.IMenuManager;
16
17 /**
18 * A menu listener that gets informed when a menu is about to show.
19 *
20 * @see MenuManager#addMenuListener
21 */
22 public interface IMenuListener {
23 /**
24 * Notifies this listener that the menu is about to be shown by
25 * the given menu manager.
26 *
27 * @param manager the menu manager
28 */
29 public void menuAboutToShow(IMenuManager manager);
30 }