public class StorePropertiesAction extends org.eclipse.jface.action.Action implements IModelListener
Clients can get an instance of this action as follows :
IAction action = TelesalesActionFactory.getAction(TelesalesActionFactory.STORE_PROPERTIES_ACTION); if (action != null) { action.run(); }
Constructor and Description |
---|
StorePropertiesAction()
Creates a new StorePropertiesAction.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getActionDefinitionId()
Gets the action definition ID.
|
java.lang.String | getHelpContextId()
Gets the help context ID.
|
java.lang.String | getId()
Gets the ID for this action.
|
void | modelChanged(ModelObjectChangedEvent event)
The StorePropertiesActionDelegate implementation sets the enablement state.
|
void | run()
Performs this action.
|
protected void | updateEnablement()
Updates the enablement of the action to reflect the current model state.
|
public StorePropertiesAction()
This constructor sets the visible properties of the action such as action text, ToolTip text, description and enabled/disabled image.
protected void updateEnablement()
public void run()
public void modelChanged(ModelObjectChangedEvent event)
public java.lang.String getActionDefinitionId()
public java.lang.String getId()
public java.lang.String getHelpContextId()