Bug 12611 'move..' is always disabled in the outline context menu
'move..' is always disabled in the outline context menu this comes from ReorgGroup which includes 'move' as well (maybe it shouldn't) maybe this should be adressed together with Dirk's menu restructuring
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgGroup.java
}	
	
	public static void addGlobalReorgActions(IActionBars actionBars, ISelectionProvider provider) {
		actionBars.setGlobalActionHandler(IWorkbenchActionConstants.COPY, createCopyAction(provider));
		actionBars.setGlobalActionHandler(IWorkbenchActionConstants.CUT, createCutAction(provider));
		actionBars.setGlobalActionHandler(IWorkbenchActionConstants.PASTE, createPasteAction(provider));
	}
	private static IRefactoringAction createCutAction(ISelectionProvider p){
		return new CutSourceReferencesToClipboardAction(p);
	}
	
	public static IRefactoringAction createCopyAction(ISelectionProvider p){
		IRefactoringAction copyResources= new CopyResourcesToClipboardAction(p);
		IRefactoringAction copySourceReferences= new CopySourceReferencesToClipboardAction(p);
		return new DualReorgAction(p, ReorgMessages.getString("ReorgGroup.copy"), ReorgMessages.getString("copyAction.description"), copyResources, copySourceReferences); 
	}
	
	public static IRefactoringAction createPasteAction(ISelectionProvider p){
		IRefactoringAction pasteResources= new PasteResourcesFromClipboardAction(p);
		IRefactoringAction pasteSourceReferences= new PasteSourceReferencesFromClipboardAction(p);
		return new DualReorgAction(p, ReorgMessages.getString("ReorgGroup.paste"), ReorgMessages.getString("ReorgGroup.pasteAction.description"), pasteResources, pasteSourceReferences); 
	}
	
	public static IRefactoringAction createDeleteAction(ISelectionProvider p){
		IRefactoringAction deleteResources= new DeleteResourcesAction(p);
		IRefactoringAction deleteSourceReferences= new DeleteSourceReferencesAction(p);
		return new DualReorgAction(p, ReorgMessages.getString("ReorgGroup.delete"), ReorgMessages.getString("deleteAction.description"), deleteResources, deleteSourceReferences); 
	}
	
}