TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.analysis.core.quickfix
Interface IAnalysisQuickFix

All Superinterfaces:
org.eclipse.core.runtime.IExecutableExtension
All Known Implementing Classes:
AbstractAnalysisQuickFix, CppCodeReviewQuickFix, JavaCodeReviewQuickFix, RuleDeclarationMultipleDeclarationsQuickFix

public interface IAnalysisQuickFix
extends org.eclipse.core.runtime.IExecutableExtension

Interface to describe quick fixes for given rules


Method Summary
 java.lang.String getId()
           
 java.lang.String getLabel()
           
 org.eclipse.core.runtime.IStatus quickfix(AbstractAnalysisResult result)
          Execute the quickfix
 
Methods inherited from interface org.eclipse.core.runtime.IExecutableExtension
setInitializationData
 

Method Detail

getId

java.lang.String getId()
Returns:
The id of this quickfix

getLabel

java.lang.String getLabel()
Returns:
The label of this quickfix

quickfix

org.eclipse.core.runtime.IStatus quickfix(AbstractAnalysisResult result)
Execute the quickfix

Parameters:
result - The result that is being quickfixed
Returns:
a status

TPTP 4.5.0 Platform Project
Public API Specification