1 /*******************************************************************************
2 * Copyright (c) 2000, 2011 IBM Corporation and others.
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
9 * SPDX-License-Identifier: EPL-2.0
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.events;
17 import org.eclipse.swt.widgets.Event;
20 * Instances of this class are sent as a result of
21 * menus being shown and hidden.
24 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
27 public final class MenuEvent extends TypedEvent {
29 static final long serialVersionUID = 3258132440332383025L;
32 * Constructs a new instance of this class based on the
33 * information in the given untyped event.
35 * @param e the untyped event containing the information
37 public MenuEvent(Event e) {