public class EditBookAction: ActionOnSingleResource

    {

        public override void Execute( IActionContext context )

        {

            Core.UIManager.OpenResourceEditWindow( new BookEditPane(),

                context.SelectedResources [0], false );

        }

    }