|
Re: IS there any example to extend AGR's record and replay function? [message #88251 is a reply to message #87884] |
Tue, 21 November 2006 12:26  |
Eclipse User |
|
|
|
There is no documentation available for extending AGR to support custom
widgets; however there are a lot of internal comments embedded in the source
files that should allow you to figure how things work. This should at least
get you started:
- The auto GUI plug-in is stored in TPTP's CVS:
test/org.eclipse.tptp.test.auto.gui
- Each of the command fragments included in a macro corresponds to one or
more class files under the following package:
org.eclipse.tptp.test.auto.gui.internal.commands
- A shell, which groups a set of commands is represented by
MacroCommandShell.
- MacroCommandShell uses SWT events to generate the appropriate command
(i.e. instantiate the right class). See
MacroCommandShell.createCommand(Event)
Assuming that a KTable generates appropriate set of SWT events, then you can
create a command class that is able to programmatically modify its cells (or
perform other operations).
Thanks,
Ali Mehregani
"Ben.xu" <feng-bing.xu@verigy.com> wrote in message
news:0568aa427fade57ae0eb792426815bf0$1@www.eclipse.org...
> hi all,
> our project plans to use tptp agr to test eclipse ui using KTable
> (ktable.sourceforge.net/). IS there any example for doing such things?
>
|
|
|
Powered by
FUDForum. Page generated in 0.04076 seconds