public class ReopenReturnMenu
extends org.eclipse.jface.action.ContributionItem
Constructor and Description |
---|
ReopenReturnMenu()
The default constructor for the class.
|
ReopenReturnMenu(org.eclipse.ui.IWorkbenchWindow window, java.lang.String id, boolean showSeparator)
Deprecated.
This constructor is no longer used.
|
Modifier and Type | Method and Description |
---|---|
void | fill(org.eclipse.swt.widgets.Menu menu, int index)
This method fills the given menu with menu items for all windows.
|
protected org.eclipse.swt.graphics.Image | getItemImage(Return aReturn)
This method returns the given return's image for the menu item.
|
protected java.lang.String | getItemText(Return aReturn)
This method returns the given return's text for the menu item.
|
protected java.util.List | getReturns()
This method returns the currently open returns.
|
boolean | isDirty()
This method overridden to always return true and force dynamic menu building.
|
boolean | isDynamic()
This method overridden to always return true and force dynamic menu building.
|
public ReopenReturnMenu(org.eclipse.ui.IWorkbenchWindow window, java.lang.String id, boolean showSeparator)
public ReopenReturnMenu()
public void fill(org.eclipse.swt.widgets.Menu menu, int index)
protected java.util.List getReturns()
public boolean isDirty()
public boolean isDynamic()
protected org.eclipse.swt.graphics.Image getItemImage(Return aReturn)
protected java.lang.String getItemText(Return aReturn)