Package PamController.status
Class QuickRemedialAction
java.lang.Object
PamController.status.QuickRemedialAction
- All Implemented Interfaces:
 RemedialAction
Quick remedial action. Can generally be used to wrap an existing menu item handler
- Author:
 - dg50
 
- 
Constructor Summary
ConstructorsConstructorDescriptionQuickRemedialAction(PamControlledUnit pamControlledUnit, String info, ActionListener action)  - 
Method Summary
Modifier and TypeMethodDescriptiongetInfo()Text based information about the action to take - might be displayed on screen, in a tooltip, etc.takeAction(ModuleStatus currentStatus) Take remedial action - open a dialog, fix it directly, etc. 
- 
Constructor Details
- 
QuickRemedialAction
 
 - 
 - 
Method Details
- 
getInfo
Description copied from interface:RemedialActionText based information about the action to take - might be displayed on screen, in a tooltip, etc.- Specified by:
 getInfoin interfaceRemedialAction- Returns:
 - text information about the action.
 
 - 
takeAction
Description copied from interface:RemedialActionTake remedial action - open a dialog, fix it directly, etc.- Specified by:
 takeActionin interfaceRemedialAction- Parameters:
 currentStatus- current status - may contain information needed for the action- Returns:
 - new status following the attempted action.
 
 
 -