public class OrderActionGroup
extends org.eclipse.ui.actions.ActionGroup
This class may be instantiated; it is not intended to be sub-classed.
Constructor and Description |
---|
OrderActionGroup(org.eclipse.ui.IViewPart part, java.lang.String groupName)
Creates a new OrderActionGroup.
|
Modifier and Type | Method and Description |
---|---|
void | fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
This method adds the applicable actions to a context menu, based on the state of the ActionContext.
|
void | fillContextMenuForCustomer(org.eclipse.jface.action.IMenuManager menu)
This method adds the applicable actions to a context menu for customer.
|
void | fillContextMenuForOrder(org.eclipse.jface.action.IMenuManager menu, Order order)
This method adds the applicable actions to a context menu for order.
|
void | fillContextMenuForStore(org.eclipse.jface.action.IMenuManager menu)
This method adds the applicable actions to a context menu for store.
|
org.eclipse.jface.action.IAction | getCreateOrderAction()
This method returns the create order action.
|
org.eclipse.jface.action.IAction | getCreateQuoteFromOrderAction()
This method returns the create order from quote action.
|
org.eclipse.jface.action.IAction | getEditOrderAction()
This method returns the edit order action.
|
org.eclipse.jface.action.IAction | getRemoveOrderAction()
This method returns the remove order action.
|
public OrderActionGroup(org.eclipse.ui.IViewPart part, java.lang.String groupName)
public void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
public void fillContextMenuForStore(org.eclipse.jface.action.IMenuManager menu)
public void fillContextMenuForCustomer(org.eclipse.jface.action.IMenuManager menu)
public void fillContextMenuForOrder(org.eclipse.jface.action.IMenuManager menu, Order order)
public org.eclipse.jface.action.IAction getCreateOrderAction()
public org.eclipse.jface.action.IAction getEditOrderAction()
public org.eclipse.jface.action.IAction getRemoveOrderAction()
public org.eclipse.jface.action.IAction getCreateQuoteFromOrderAction()