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