org.apache.cactus.eclipse.quickfix
Class CactusQuickFixProcessor

java.lang.Object
  extended by org.apache.cactus.eclipse.quickfix.CactusQuickFixProcessor
All Implemented Interfaces:
org.eclipse.jdt.ui.text.java.IQuickFixProcessor

public class CactusQuickFixProcessor
extends java.lang.Object
implements org.eclipse.jdt.ui.text.java.IQuickFixProcessor

QuickFix processor to propose cactifying of the project.

Version:
$Id: CactusQuickFixProcessor.java 238816 2008-03-18 16:36:46Z ptahchiev $

Constructor Summary
CactusQuickFixProcessor()
           
 
Method Summary
 org.eclipse.jdt.ui.text.java.IJavaCompletionProposal[] getCorrections(org.eclipse.jdt.ui.text.java.IInvocationContext context, org.eclipse.jdt.ui.text.java.IProblemLocation[] locations)
          A method for getting the corrections.
 boolean hasCorrections(org.eclipse.jdt.core.ICompilationUnit unit, int problemId)
          A method for getting only the corrections we need.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CactusQuickFixProcessor

public CactusQuickFixProcessor()
Method Detail

hasCorrections

public boolean hasCorrections(org.eclipse.jdt.core.ICompilationUnit unit,
                              int problemId)
A method for getting only the corrections we need.

Specified by:
hasCorrections in interface org.eclipse.jdt.ui.text.java.IQuickFixProcessor

getCorrections

public org.eclipse.jdt.ui.text.java.IJavaCompletionProposal[] getCorrections(org.eclipse.jdt.ui.text.java.IInvocationContext context,
                                                                             org.eclipse.jdt.ui.text.java.IProblemLocation[] locations)
                                                                      throws org.eclipse.core.runtime.CoreException
A method for getting the corrections.

Specified by:
getCorrections in interface org.eclipse.jdt.ui.text.java.IQuickFixProcessor
Throws:
org.eclipse.core.runtime.CoreException


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.