| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
| <html> |
| <head> |
| <!-- |
| |
| /****************************************************************************** |
| * Copyright (c) 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 |
| ****************************************************************************/ |
| |
| --> |
| </head> |
| <body> |
| |
| High level UI menus intended for the diagram surface. |
| |
| <h2>PopupMenu</h2> |
| <P>The {@link org.eclipse.gmf.runtime.diagram.ui.menus.PopupMenu PopupMenu} |
| displays menus items when {@link |
| org.eclipse.gmf.runtime.diagram.ui.menus.PopupMenu#PopupMenu(java.util.List, |
| org.eclipse.jface.viewers.ILabelProvider) constructed} using a content {@link |
| java.util.List list} and a {@link org.eclipse.jface.viewers.ILabelProvider |
| label provider} appropriate for the content. The show method displays the popup |
| menu, and the selected menu items are obtained using the {@link |
| org.eclipse.gmf.runtime.diagram.ui.menus.PopupMenu#getResult() getResult()} |
| method.</P> |
| |
| @canBeSeenBy %partners |
| |
| </body> |
| </html> |