blob: bb30e593173b12a91865d8f5cc38c1c1f452225a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2008 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
*******************************************************************************/
package org.eclipse.ui.presentations;
import org.eclipse.swt.graphics.Point;
/**
* Interface to a menu created by a part that will be displayed in a presentation.
*
* This interface is not intended to be implemented by clients.
*
* @since 3.0
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IPartMenu {
/**
* Displays the local menu for this part as a popup at the given location.
*
* @param location position to display the menu at (display coordinates, not null)
* @since 3.0
*/
public void showMenu(Point location);
}