Bug 31634 Quickfix should do a team checkout
2.1 M5 / clearcase / eclipse-ccase plugin 0.9.3 Quickfix says no corrections available for a read only file that is under source control (i.e. not checked out). Quickfix should propose the corrections and check the file out automatically to implement them.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java
AST ast= typeDeclaration.getAST();
		TypeDeclaration modifiedNode= ast.newTypeDeclaration();
		modifiedNode.setInterface(typeDeclaration.isInterface());
		modifiedNode.setModifiers(typeDeclaration.getModifiers() | Modifier.ABSTRACT);
		rewrite.markAsModified(typeDeclaration, modifiedNode);
		String label= CorrectionMessages.getFormattedString("ModifierCorrectionSubProcessor.addabstract.description", typeDeclaration.getName().getIdentifier()); 
		Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE);
		ASTRewriteCorrectionProposal proposal= new ASTRewriteCorrectionProposal(label, cu, rewrite, 3, image);
		proposal.ensureNoModifications();
		return proposal;
	}
	public static void addMethodRequiresBodyProposals(ICorrectionContext context, List proposals) throws CoreException {
		ICompilationUnit cu= context.getCompilationUnit();
		AST ast= context.getASTRoot().getAST();
		
		ASTNode selectedNode= context.getCoveringNode();
		if (!(selectedNode instanceof MethodDeclaration)) {
			return;
		}
		MethodDeclaration decl=  (MethodDeclaration) selectedNode;
		
		ASTRewrite rewrite= new ASTRewrite(decl);
		
		MethodDeclaration modifiedNode= ast.newMethodDeclaration();
		modifiedNode.setConstructor(decl.isConstructor());
		modifiedNode.setExtraDimensions(decl.getExtraDimensions());
		modifiedNode.setModifiers(decl.getModifiers() & ~Modifier.ABSTRACT);
		rewrite.markAsModified(decl, modifiedNode);