TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.engine.ui.codereview
Class QuickFixManager

java.lang.Object
  extended byorg.eclipse.tptp.platform.analysis.engine.ui.codereview.QuickFixManager

public class QuickFixManager
extends java.lang.Object

QuickFixManager


Nested Class Summary
static interface QuickFixManager.IListener
          IListener
 
Constructor Summary
QuickFixManager(IResultSet results, org.eclipse.ui.IWorkbenchPage page)
          Constructor.
 
Method Summary
 void addListener(QuickFixManager.IListener listener)
          Add a listener.
 boolean fix(ISolution solution, IMatch match, boolean bHeadless)
          Fix the issue.
 void fixAll(ISolution solution, IProblemData data, org.eclipse.core.runtime.IProgressMonitor monitor)
          Fix all.
 void removeListener(QuickFixManager.IListener listener)
          Remove a listener.
 void undoFix(ISolution solution, IMatch match)
          Undo the fix.
 void undoFixAll(ISolution solution, org.eclipse.core.runtime.IProgressMonitor monitor)
          Undo fix all.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuickFixManager

public QuickFixManager(IResultSet results,
                       org.eclipse.ui.IWorkbenchPage page)
Constructor.

Parameters:
results -
page -
Method Detail

fix

public boolean fix(ISolution solution,
                   IMatch match,
                   boolean bHeadless)
            throws java.lang.Exception
Fix the issue.

Parameters:
solution -
match -
bHeadless -
Returns:
Throws:
java.lang.Exception

undoFix

public void undoFix(ISolution solution,
                    IMatch match)
             throws java.lang.Exception
Undo the fix.

Parameters:
solution -
match -
Throws:
java.lang.Exception

fixAll

public void fixAll(ISolution solution,
                   IProblemData data,
                   org.eclipse.core.runtime.IProgressMonitor monitor)
            throws java.lang.Exception
Fix all.

Parameters:
solution -
data -
monitor -
Throws:
java.lang.Exception

undoFixAll

public void undoFixAll(ISolution solution,
                       org.eclipse.core.runtime.IProgressMonitor monitor)
                throws java.lang.Exception
Undo fix all.

Parameters:
solution -
monitor -
Throws:
java.lang.Exception

addListener

public void addListener(QuickFixManager.IListener listener)
Add a listener.

Parameters:
listener -

removeListener

public void removeListener(QuickFixManager.IListener listener)
Remove a listener.

Parameters:
listener -

TPTP 4.1.0 Platform Project
Public API Specification