public class ReopenStoreMenu
extends org.eclipse.jface.action.ContributionItem
Constructor and Description |
---|
ReopenStoreMenu()
The default constructor for the class.
|
ReopenStoreMenu(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)
Fills the given menu with menu items for all windows.
|
protected org.eclipse.swt.graphics.Image | getItemImage(Store store)
Returns the given store's image for the menu item.
|
protected java.lang.String | getItemText(Store store)
Returns the given store's text for the menu item.
|
protected java.util.List | getStores()
Returns the currently open stores.
|
boolean | isDirty()
Overridden to always return true and force dynamic menu building.
|
boolean | isDynamic()
Overridden to always return true and force dynamic menu building.
|
public ReopenStoreMenu(org.eclipse.ui.IWorkbenchWindow window, java.lang.String id, boolean showSeparator)
public ReopenStoreMenu()
public void fill(org.eclipse.swt.widgets.Menu menu, int index)
protected java.util.List getStores()
public boolean isDirty()
public boolean isDynamic()
protected org.eclipse.swt.graphics.Image getItemImage(Store store)
protected java.lang.String getItemText(Store store)