public class QuickFix extends Object Class used in Eclipse to defined a possible Quick-Fix for a property.
- Author:
- Christopher Mindus
Constructor Summary 
Constructors
Constructs the quick-fix object.
Creates a new QuickFix object from an XML Element.
Method Summary 
Gets the description of the quick-fix.
Gets the object that is a quick-fix private format, null for none.
void
Saves the quick-fix into a new QuickFix Element.
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Details 
QuickFix 
Constructs the quick-fix object.
- Parameters:
propertyName
- The property name.description
- The description of the quick-fix.quickFix
- The object that is a quick-fix private format.- Throws:
NullPointerException
- If propertyName or description is null.
QuickFix 
Creates a new QuickFix object from an XML Element.
- Throws:
Throwable
- For errors (or directly from IQuickFix implementation).
Method Details 
getPropertyName 
public String getPropertyName()
Gets the property name.
getDescription 
public String getDescription()
Gets the description of the quick-fix.
getQuickFix 
Gets the object that is a quick-fix private format, null for none.
saveTo 
public void saveTo(Element element) Saves the quick-fix into a new QuickFix Element.