2.select object-->generated code--> copy on VisualForce page--> created visualforce page inline on Page Layouts of required Object .
3. Follow the below steps to add Visualforce page inline on page layouts.
3.1.Go to Setup->Customize->Cases->Page Layouts
3.2. Edit desired page layout
3.3. Drag the empty section to layout (select 1 column layout) and then drag (step 2 created) visualforce page in this new section.
3.4.Set height of section to desired height, based on the number of fields selected for One Click Update.