I had the same problem, and it seems that you should be in the "Package Explorer" view in order to perform many options in the Refactor menus and classes. Try this: click "Window" → "View View" → select "Package Explorer" from the list, and then open the "Refactor" menu in this view.
source share