TPTP Eclipse plugin [message #100042] |
Mon, 04 June 2007 12:05  |
Eclipse User |
|
|
|
Originally posted by: rwlbuis.gmail.com
Hello,
I am looking into TPTP to do the following; I want to create an Eclipse
plugin that controls and launches an external command-line executable,
something like gprof or valgrind. It should get the results back ofcourse.
The Agent Controller framework seems able to do this, but I am having some
trouble finding either a tutorial or a minimal example to create something
like this from Eclipse. Basically I am looking for an example containing an
eclipse plugin project that uses the Agent Controller to communicate with
an external agent. As a first step the agent could be an existing one, I am
mostly interested in the java Eclipse client code. Can anybody point me to
such an example and/or tutorial? Thanks!
Cheers,
Rob.
|
|
|
|
Re: TPTP Eclipse plugin [message #100481 is a reply to message #100325] |
Wed, 06 June 2007 12:24  |
Eclipse User |
|
|
|
Originally posted by: rwlbuis.gmail.com
Hi Igor,
Igor Alelekov wrote:
> Hi Rob,
>
> Java client samples you can find in org.eclipse.tptp.platform.execution
> plugin.
Thanks for the pointer! By chance I found a similar suggestion in a mailing
list and was able to run SampleClientAC.java as a java application in the
meantime.
I am new to Eclipse development, but found out using some tutorial how to
make a simple Eclipse plugin, which adds its own widget and view etc. So
far it doesn't use TPTP.
I am aiming at doing something like the AGR, in that I also need my plugin
to be started when choosing a custom test from File -> New -> Other ->
Test. Then I need the plugin to initialize the TPTP framework so I have
access to the Agent Controller (which should run when my plugin is started,
like AGR) and it should communicate with my custom agent. Can you tell me
what TPTP framework classes I need to derive from to accomplish this? Do I
need to use a TPTP specific wizard to add my custom Test to the general
Test category(Along with JUnit test etc.)? If there is any example for
this, smaller than AGR, I'd like to know it. Thanks for any suggestions.
Cheers,
Rob.
|
|
|
Powered by
FUDForum. Page generated in 0.03600 seconds