public class ReopenOrderMenu
extends org.eclipse.jface.action.ContributionItem
Constructor and Description |
---|
ReopenOrderMenu()
The default constructor for the class.
|
ReopenOrderMenu(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(Order order)
This method returns the given order's image for the menu item.
|
protected java.lang.String | getItemText(Order order)
This method returns the given order's text for the menu item.
|
protected java.util.List | getOrders()
This method returns the currently open orders.
|
boolean | isDirty()
This method is overridden to always to return true and force dynamic menu building.
|
boolean | isDynamic()
This method is overridden always to return true and force dynamic menu building.
|
public ReopenOrderMenu(org.eclipse.ui.IWorkbenchWindow window, java.lang.String id, boolean showSeparator)
public ReopenOrderMenu()
public void fill(org.eclipse.swt.widgets.Menu menu, int index)
protected java.util.List getOrders()
public boolean isDirty()
public boolean isDynamic()
protected org.eclipse.swt.graphics.Image getItemImage(Order order)
protected java.lang.String getItemText(Order order)