|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IReportGenerator
Pluggable Report Generator Interface All report generator specified in the Preferences/Component Test/Local Report Definitions must implement this interface.
| Method Summary | |
|---|---|
java.io.InputStream |
generate(org.eclipse.core.resources.IFile reportFile,
org.eclipse.jface.viewers.ISelection selection)
Deprecated. This method will be invoked to generate the report for the given selection. |
java.lang.String |
getReportFileExtension(org.eclipse.jface.viewers.ISelection selection)
Deprecated. Before the generate method invocation, the Component Test will execute this method in order to retrieve the extension of the resource that will be created for the report. |
boolean |
isAvailable(org.eclipse.jface.viewers.ISelection selection)
Deprecated. Check if the report generator is available to the given selection. |
void |
setUsedClasspath(java.lang.String fullPath)
Deprecated. If the report is registered into the Component Test tool by the preference page it will be difficult for the report generator to figure it out where it is located in the file system. |
| Method Detail |
|---|
void setUsedClasspath(java.lang.String fullPath)
String - The classpath entered by the user in the preference page.java.lang.String getReportFileExtension(org.eclipse.jface.viewers.ISelection selection)
ISelection - The selection
boolean isAvailable(org.eclipse.jface.viewers.ISelection selection)
selection - The selection.
java.io.InputStream generate(org.eclipse.core.resources.IFile reportFile,
org.eclipse.jface.viewers.ISelection selection)
throws java.lang.Exception
The reportFile argument is the Eclipse resource that
will be created by Component Test using the InputStream returned by the method.
The implementors of this method should NOT create any resource with this file name.
IFile - The report file that will be created by the Component Test PluginISelection - The selection
java.lang.Exception - Any exception thrown by this method will be treated.
|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||