public class RemoveOrderAction extends org.eclipse.jface.action.Action implements IModelListener
Constructor and Description |
---|
RemoveOrderAction()
The default constructor that creates a new action.
|
Modifier and Type | Method and Description |
---|---|
boolean | getActionCanceled()
This method returns true if this action was canceled by the user.
|
java.lang.String | getHelpId()
This method returns the help context identifier.
|
Order | getOrder()
This method returns the order for this action.
|
void | modelChanged(ModelObjectChangedEvent event)
This method listens to model changed events and sets the enablement state.
|
void | run()
This method performs the action of removing the active order from store view.
|
void | setActionCanceled(boolean actionCanceled)
This method set the state of the action canceled flag.
|
void | setOrder(Order order)
This method sets the current order.
|
void | setParentClosing(Customer parent)
This method sets the parent that is closing.
|
public RemoveOrderAction()
public void modelChanged(ModelObjectChangedEvent event)
public java.lang.String getHelpId()
public void setParentClosing(Customer parent)
public boolean getActionCanceled()
public void setActionCanceled(boolean actionCanceled)
public void setOrder(Order order)
public Order getOrder()
public void run()