public class CreateAnonymousQuoteAction extends org.eclipse.jface.action.Action implements IModelListener
Constructor and Description |
---|
CreateAnonymousQuoteAction()
The default constructor that creates a new action.
|
Modifier and Type | Method and Description |
---|---|
Customer | createAnonymousCustomer()
This method creates and returns an anonymous customer.
|
protected Customer | findAnonymousCustomer()
This method checks whether an anonymous customer exists of not.
|
java.lang.String | getHelpId()
This method returns the help context identifier of this action.
|
void | modelChanged(ModelObjectChangedEvent event)
This method listens to model changed events and sets the enablement state.
|
void | run()
This method opens a quote for an anonymous customer.
|
protected void | updateEnablement()
This method updates the enablement of the action to reflect the current state of the model.
|
public CreateAnonymousQuoteAction()
protected void updateEnablement()
public void modelChanged(ModelObjectChangedEvent event)
public java.lang.String getHelpId()
public void run()
public Customer createAnonymousCustomer()
protected Customer findAnonymousCustomer()