org.oddjob.monitor.model
Interface SelectedContextAware

All Known Subinterfaces:
ExplorerAction, FormAction
All Known Implementing Classes:
AddJobAction, DesignerAction, DesignInsideAction, ExecuteAction, ExplorerEditActions, ExplorerJobActions, ForceAction, HardResetAction, JobAction, JobFormAction, LoadAction, SetPropertyAction, SoftResetAction, StopAction, UnloadAction

public interface SelectedContextAware

Something that interacts with the selected ExplorerContext.

Author:
rob

Method Summary
 void prepare()
          Called after the job has been selected, but before any action is to be performed.
 void setSelectedContext(ExplorerContext context)
          Called when the job selection changes.
 

Method Detail

setSelectedContext

void setSelectedContext(ExplorerContext context)
Called when the job selection changes. This is generally used to capture the new context and also clear any previous state for the last context.

Parameters:
context - The context. Will never be null.

prepare

void prepare()
Called after the job has been selected, but before any action is to be performed. This is normally just before a menu is to be shown.