Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Customized Outputter class
Customized Outputter class [message #117084] Mon, 05 November 2007 00:31 Go to next message
Prasad Kumbhare is currently offline Prasad Kumbhare
Messages: 11
Registered: July 2009
Junior Member
Hi,

Is it possible to extend LogImportOutputter.
can i get the source code of this class.

or is there any way to manage LogView data programatically so that i can
write a customized Outputter class to update log records in log view.

or Do i need to create a customized view to display log records in a
customized fashion.

Thanks You

Prasad
Re: Customized Outputter class [message #117425 is a reply to message #117084] Tue, 06 November 2007 21:51 Go to previous messageGo to next message
Alex Nan is currently offline Alex Nan
Messages: 29
Registered: July 2009
Junior Member
Hi Prasad,

you can find the source code for the LogImportOutputter in the TPTP CVS
repository:
host: dev.eclipse.org
repository path: /cvsroot/tptp
module: monitoring/org.eclipse.hyades.logging.parsers
source file:
org.eclipse.hyades.logging.parsers\src.import\org\eclipse\hy ades\logging\parsers\adapter\outputters\LogImportOutputter.j ava.

You could extend the LogImportOutputter and use it in your custom adapter.
This way CBECommonBaseEvent objects (for each log record) are gonna be
created for you by the XMLLoader and added to a TRCAgent object. You can
then view the content of the agent in the log viewer. What is the customized
fashion you would like to display your log records ? There are no extension
points to customize the log viewer, so you would probably need to extend it
to your needs. I've already responded to this topic in a previous post.
Kind regards,
Alex Nan.

"prasad" <prasad.kumbhare@gmail.com> wrote in message
news:8f17e6c43795b2a2dd2de253df8b5bc4$1@www.eclipse.org...
> Hi,
>
> Is it possible to extend LogImportOutputter.
> can i get the source code of this class.
>
> or is there any way to manage LogView data programatically so that i can
> write a customized Outputter class to update log records in log view.
>
> or Do i need to create a customized view to display log records in a
> customized fashion.
>
> Thanks You
>
> Prasad
>
>
Re: Customized Outputter class [message #117955 is a reply to message #117425] Mon, 12 November 2007 05:23 Go to previous message
Prasad Kumbhare is currently offline Prasad Kumbhare
Messages: 11
Registered: July 2009
Junior Member
Hi Alan,

Thanks for the details. I have defined couple of extended data elements
which i would like to view as column data in the log view. Is there any
way to do this?

Thanks you
Prasad
Previous Topic:Open Source Software Research
Next Topic:Log view extension point
Goto Forum:
  


Current Time: Fri Aug 01 06:08:10 EDT 2014

Powered by FUDForum. Page generated in 0.03851 seconds