blob: 3eb5542eb3ba9a8f74f76af78019da7c3e2d3314 [file] [log] [blame]
<!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>