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 05:31 Go to next message
Prasad Kumbhare is currently offline Prasad KumbhareFriend
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] Wed, 07 November 2007 02:51 Go to previous messageGo to next message
Alex Nan is currently offline Alex NanFriend
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 10:23 Go to previous message
Prasad Kumbhare is currently offline Prasad KumbhareFriend
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: Wed Nov 26 13:10:02 GMT 2014

Powered by FUDForum. Page generated in 0.04665 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software