public class RemoveQuoteAction extends org.eclipse.jface.action.Action implements IModelListener
Constructor and Description |
---|
RemoveQuoteAction()
The default constructor that creates a new action.
|
Modifier and Type | Method and Description |
---|---|
boolean | getActionCanceled()
This method return true if this action was canceled by the user.
|
java.lang.String | getHelpId()
This method returns the help context identifier of this action.
|
Quote | getQuote()
This method returns the quote for this action.
|
void | modelChanged(ModelObjectChangedEvent event)
This method listens when the model changed events and sets the enablement state.
|
void | run()
This action initiates the removal of an active quote from view.
|
void | setActionCanceled(boolean actionCanceled)
This method set the state of the action canceled flag.
|
void | setParentClosing(Customer parent)
This method sets the parent that is closing.
|
void | setQuote(Quote quote)
This method sets the current quote.
|
public RemoveQuoteAction()
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 setQuote(Quote quote)
public Quote getQuote()
public void run()