final RecoveryAbstractRecord rec = ((RecoveryAbstractRecord)record);
statePanel.enableDetailsButton(new DetailsButtonAdapter() {
public void detailsButtonPressed()
{
EntityViewerInterface evi = EntityViewerRepository.getEntityViewer(ResourceActionHandle.class.getName());
if ( evi != null )
{
evi.viewEntity(ResourceActionHandle.class.getName(), new ResourceActionHandle(action, rec), statePanel);
}
else
{
JOptionPane.showMessageDialog(null, "No viewer defined for this entity");
}