Add actions to editor context menu and editor toolbar

I have added two actions(generate and view) to editor context menu and editor toolbar.
We can run these actions on editor soon.

Thanks.