|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
|---|---|
void |
addHistoryResultSet(java.lang.String historyId,
IAnalysisResult result)
Add a new result to the history. |
void |
addParameter(RuleParameter parameter)
Add a new parameter to the rule |
void |
addParameters(java.util.List parameters)
Add a list of new rule parameters to the rule |
void |
analyze(AnalysisHistory history)
Run the analysis portion of the rule to generate results for any matching data |
java.lang.String |
getLabelWithVariables()
|
RuleParameter |
getParameter(java.lang.String name)
Return the rule variable data of a named variable or null if no value was found |
int |
getParameterCount()
|
java.util.List |
getParameterList()
|
IAnalysisProvider |
getProvider()
Return the provider, which is top-most owner in the category/rule tree |
IAnalysisQuickFix |
getQuickFix(java.lang.String newId)
|
int |
getQuickFixCount()
|
java.util.Iterator |
getQuickFixIterator()
Return an iterator that can be used to crawl a list of quickfix id strings related to this rule |
IAnalysisViewer |
getViewer()
|
int |
getVisibleVariableCount()
Return the number of variables in the rule that are visible in the user interface. |
boolean |
hasQuickFixes()
Determine if the rule has any quickfixes associated with it |
boolean |
isCustom()
Used Internally |
void |
setCustom(boolean isCustom)
Used Internally |
void |
setQuickFixId(java.lang.String newId)
Allows a custom rule to define its own id |
| Methods inherited from interface org.eclipse.tptp.platform.analysis.core.element.IAnalysisElement |
|---|
addDetailProvider, addHistoryResultSet, addOwnedElement, addOwnedElements, dispose, getDetailProviders, getElementType, getHelpID, getHistoryResults, getIconName, getId, getLabel, getOwnedElements, getOwner, getPluginId, preAnalyze, removeHistoryResultSet, setElementType, setHelpID, setIconName, setId, setLabel, setOwner, setPluginId |
| Methods inherited from interface org.eclipse.core.runtime.IExecutableExtension |
|---|
setInitializationData |
| Method Detail |
public java.util.Iterator getQuickFixIterator()
public boolean hasQuickFixes()
public void setQuickFixId(java.lang.String newId)
newId - The id for the rulepublic int getQuickFixCount()
public IAnalysisQuickFix getQuickFix(java.lang.String newId)
newId - The unique id of the quickfix to retrieve
public void addParameter(RuleParameter parameter)
parameter - The parameter to add to the rulepublic void addParameters(java.util.List parameters)
parameters - A list of RuleParameter instances to add to the rulepublic RuleParameter getParameter(java.lang.String name)
name - The name of the variable
public int getParameterCount()
public int getVisibleVariableCount()
public java.util.List getParameterList()
public java.lang.String getLabelWithVariables()
public boolean isCustom()
public void setCustom(boolean isCustom)
isCustom - public void analyze(AnalysisHistory history)
history - A reference to the history record for this analysispublic IAnalysisViewer getViewer()
public IAnalysisProvider getProvider()
public void addHistoryResultSet(java.lang.String historyId,
IAnalysisResult result)
historyId - The id of the history analysis runresult - The result to add
|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||