Bug 29711 Move refactoring doesn't honor read-only flags
Build I20030115 - JUnit setup - create TestCase.java in junit.runner - make it read-only - move TestCase from framework to runner - answer yes to override observe: the file in runner gets replaced althouh it is read-only
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteResourcesFromClipboardAction.java
private boolean canPasteFiles(IStructuredSelection selection) {
		String[] clipboardFiles= getClipboardFiles();
        return clipboardFiles != null
        		&& canPasteFilesOn(selection.getFirstElement());
    }
    private static boolean canPasteFilesOn(Object target) {
    	boolean isPackageFragment= target instanceof IPackageFragment;
		boolean isJavaProject= target instanceof IJavaProject;
		boolean isPackageFragmentRoot= target instanceof IPackageFragmentRoot;
		boolean isContainer= target instanceof IContainer;
		
		if (!(isPackageFragment || isJavaProject || isPackageFragmentRoot || isContainer)) 
			return false;
			
		if (isContainer) {
			IContainer container= (IContainer)target;
			if (!container.isReadOnly())
				return true;
		} else {
			IJavaElement element= (IJavaElement)target;
			if (!element.isReadOnly()) 
				return true;
		}
		return false;	
    }
	private static boolean canActivateCopyRefactoring(Shell shell, IResource[] resourceData, IResource selectedResource) {
		try{
			CopyRefactoring ref= createCopyRefactoring(shell, resourceData);
			if (! ref.checkActivation(new NullProgressMonitor()).isOK())