Bug 47838 Make refactoring menu selection sensitive in editor [refactoring]
M5 Currently all refactoring actions are enabled in the editor's context menu. Make them selection dependent. Check if code resolve might be enough (no need to create an AST).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RefactorActionGroup.java
ISelectionProvider provider= fSite.getSelectionProvider();
		ISelection selection= provider.getSelection();
		
		fMoveAction= new MoveAction(site);
		initAction(fMoveAction, provider, selection);
		
		fRenameAction= new RenameAction(site);
		initAction(fRenameAction, provider, selection);
		
		fModifyParametersAction= new ModifyParametersAction(fSite);
		initAction(fModifyParametersAction, provider, selection);
		
		fPullUpAction= new PullUpAction(fSite);
		initAction(fPullUpAction, provider, selection);
		fPushDownAction= new PushDownAction(fSite);
		initAction(fPushDownAction, provider, selection);
		
		fSelfEncapsulateField= new SelfEncapsulateFieldAction(fSite);
		initAction(fSelfEncapsulateField, provider, selection);
		fExtractInterfaceAction= new ExtractInterfaceAction(fSite);
		initAction(fExtractInterfaceAction, provider, selection);
		fChangeTypeAction= new ChangeTypeAction(fSite);
		initAction(fChangeTypeAction, provider, selection);
		fConvertNestedToTopAction= new ConvertNestedToTopAction(fSite);
		initAction(fConvertNestedToTopAction, provider, selection);
		fUseSupertypeAction= new UseSupertypeAction(fSite);
		initAction(fUseSupertypeAction, provider, selection);
		
		fInlineAction= new InlineAction(fSite);
		initAction(fInlineAction, provider, selection);