Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Extending org.eclipse.tptp.platform.models plugin
Extending org.eclipse.tptp.platform.models plugin [message #499113] Thu, 19 November 2009 17:18 Go to next message
Brett Randall is currently offline Brett Randall
Messages: 17
Registered: July 2009
Junior Member
Hi,

I'd like to understand the extensibility of the org.eclipse.tptp.platform.models plugin, and in particular the org.eclipse.hyades.model.statistical package and SD* model classes.

The declared extension-point-s fragment_handler, fragment_loaders_factory etc. seem to suggest that custom SAX parsers can be injected to process inbound XML. My questions:

  1. How tightly bound (if at all) is the statistical model to XML formats typically produced by the Agent Controller? Is it futile to try and work with a non-Agent Controller non-EMF schema, or is it just a matter of crafting and registering an appropriate SAX handler to construct the SD model?
  2. Has anyone done this before - adapted a "foreign" non-Agent Controller XML to the SD model - any examples?
  3. Does any of the statistical charting exist in TPTP 4.6 to have a look at - I can only find it back in 4.4.1 in the Windows perfmon stuff.

Thanks
Brett
Re: Extending org.eclipse.tptp.platform.models plugin [message #499327 is a reply to message #499113] Fri, 20 November 2009 14:53 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene Chan
Messages: 287
Registered: July 2009
Senior Member
Hi,

The model extension point intends to provide the flexibility for third party
to plug their own loader and parser for expected inbound XML generated from
Agent Controller plugins. There are extenders who extended both the model
and the loader for XML fragment generated for their needs.

The statistical model was tied to its expect XML format and I am not aware
of anyone who extends that area of the model code actually.



Eugene


"Brett Randall" <javabrett@gmail.com> wrote in message
news:he4g87$upc$1@build.eclipse.org...
> Hi,
>
> I'd like to understand the extensibility of the
> org.eclipse.tptp.platform.models plugin, and in particular the
> org.eclipse.hyades.model.statistical package and SD* model classes.
>
> The declared extension-point-s fragment_handler, fragment_loaders_factory
> etc. seem to suggest that custom SAX parsers can be injected to process
> inbound XML. My questions:
>
> How tightly bound (if at all) is the statistical model to XML formats
> typically produced by the Agent Controller? Is it futile to try and work
> with a non-Agent Controller non-EMF schema, or is it just a matter of
> crafting and registering an appropriate SAX handler to construct the SD
> model?
> Has anyone done this before - adapted a "foreign" non-Agent Controller XML
> to the SD model - any examples?
> Does any of the statistical charting exist in TPTP 4.6 to have a look at -
> I can only find it back in 4.4.1 in the Windows perfmon stuff.
>
> Thanks
> Brett
Re: Extending org.eclipse.tptp.platform.models plugin [message #500752 is a reply to message #499327] Fri, 27 November 2009 23:37 Go to previous message
Brett Randall is currently offline Brett Randall
Messages: 17
Registered: July 2009
Junior Member
Hi Eugene,

Thanks for the reply. I've been reading http://www.eclipse.org/tptp/platform/documents/drafts/Howtow riteaTPTPDataCollectionAgent.htm which is pretty old but provides the best-available description that I can find. I can see now how the XML/EMF model and the Agent Controller are supposed to work.

The biggest stumbling block is the absence of the Statistical UI in the current TPTP (see my other current thread).

Thanks
Brett
Previous Topic:I had done as Generate an exetuable test & Run a test, but still getting error as attachment
Next Topic:Looking for charting examples
Goto Forum:
  


Current Time: Thu Jul 31 17:47:59 EDT 2014

Powered by FUDForum. Page generated in 0.11731 seconds