Access Orchard Content Part Buttons (Save and Publish Now)

Topics: Customizing Orchard, Writing modules
Sep 15, 2013 at 9:00 AM
I want to disable Orchard Content Part buttons (Save and Publish Now) in the EDITOR template (when Content Item is created) based on some conditions. Can I do that ? How do I access the buttons in the EDITOR view.

also Can anybody point me to an example where I can see Content Part made from full fledged Controller (rather than Driver)