Eclipse Platform
Release 3.3

org.eclipse.ui.actions
Class QuickMenuCreator

java.lang.Object
  extended byorg.eclipse.ui.actions.QuickMenuCreator

public abstract class QuickMenuCreator
extends Object

Abstract class that is capable of creating a context menu under the mouse pointer.

Since:
3.3

Constructor Summary
QuickMenuCreator()
           
 
Method Summary
 void createMenu()
          Create the context menu.
 void dispose()
          Dispose of this quick menu creator.
protected abstract  void fillMenu(IMenuManager menu)
          Create the contents of the context menu.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuickMenuCreator

public QuickMenuCreator()
Method Detail

createMenu

public void createMenu()
Create the context menu.


fillMenu

protected abstract void fillMenu(IMenuManager menu)
Create the contents of the context menu.

Parameters:
menu - the menu to fill

dispose

public void dispose()
Dispose of this quick menu creator. Subclasses should ensure that they call this method.


Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.