public class ReopenCustomerMenu
extends org.eclipse.jface.action.ContributionItem
Constructor and Description |
---|
ReopenCustomerMenu()
The default constructor for the class.
|
ReopenCustomerMenu(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 java.util.List | getCustomers()
This method returns the currently open customers.
|
protected org.eclipse.swt.graphics.Image | getItemImage(Customer customer)
This method returns the given customer's image for the menu item.
|
protected java.lang.String | getItemText(Customer customer)
This method returns the given customer's text for the menu item.
|
boolean | isDirty()
This method returns true if it gets changed.
|
boolean | isDynamic()
This method always returns true and force dynamic menu building.
|
public ReopenCustomerMenu(org.eclipse.ui.IWorkbenchWindow window, java.lang.String id, boolean showSeparator)
public ReopenCustomerMenu()
public void fill(org.eclipse.swt.widgets.Menu menu, int index)
protected java.util.List getCustomers()
public boolean isDirty()
public boolean isDynamic()
protected org.eclipse.swt.graphics.Image getItemImage(Customer customer)
protected java.lang.String getItemText(Customer customer)