Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Extending Eclipse monitoring, profiling, and testing functions
Previous Page Home Next Page

Example of a new test recorder

The following example shows how the Generic Recorder extension point might be defined for the URL recorder in the plugin.xml file of the org.eclipse.hyades.test.tools.ui plug-in.

Extension point="org.eclipse.hyades.test.core.Recorder">
	<Recorder
		id="org.eclipse.hyades.test.tools.recorder.http"
		name="URL Recorder"
		protocol="HTTP"
		recorderAgent="org.eclipse.hyades.execution.recorder.http.remote.SSLProxyRecorder"
		recorderMessageHandlers="org.eclipse.hyades.execution.recorder.http.local.HttpRecorderDataProcessor"
		recorderClientHelper="org.eclipse.tptp.test.provisional.recorder.ui.framework.DefaultRecorderClientHelper"
		wizardPageProvider="org.eclipse.tptp.test.tools.internal.recorder.http.providers.HttpRecorderWizardProvider"/>
		execOptionsProvider="org.eclipse.tptp.test.tools.internal.recorder.http.providers.HttpRecorderExecOptions"
		fileExtension="rec"
		icon="icons/full/obj16/http.gif"
	</extension>

In this example, the recorderAgent attribute contains the name of the class that runs on the agent that starts the recorder. This class extends the org.eclipse.hyades.execution.recorder.remote.RecorderAgent class and must include main() and run() methods. For more information about this extension point, see the genericrecorder extension point documentation

Note: Implementations of this extension point are responsible for configuring the associated recorder application (see org.eclipse.hyades.execution.recorder.local.appadapters.IRecorderApplicationAdapter) during initialization. For more information, see the API documentation for org.eclipse.tptp.test.provisional.recorder.framework.IRecorderClientHelper or org.eclipse.tptp.test.provisional.recorder.ui.wizards.IRecorderPageProvider.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire