Extending IAnalysisResultView [message #92109] |
Thu, 01 February 2007 15:52 |
Eclipse User |
|
|
|
Originally posted by: junk.gianfagna.net
Hi,
I'm looking for some pointers on extending IAnalysisResultView. I'd like to
create a custom result view to display more detailed result information. I
spent some time pouring through plug-in config files and source code and I'm
a little lost...
I tried adding a plug-in extension of
org.eclipse.tptp.platform.analysis.core.ui.analysisResultVie w, but it just
seemed to call the ResultViewDefault implementation. Any thoughts about
what I'm missing?
Is it possible to do this without also creating a new CodeReviewProvider?
I'd like to leverage what is already in the C code review plug-in, but
provide a different UI to view results.
Any help would be much appreciated.
Thanks.
--Andy
|
|
|
|
Re: Extending IAnalysisResultView [message #92352 is a reply to message #92336] |
Thu, 08 February 2007 04:24 |
Eclipse User |
|
|
|
Originally posted by: junk.gianfagna.net
Steve,
Nice, that's exactly what I was looking for. I was developing with the 4.3
branch before, I've since switched to HEAD and picked up the change your
talked about. My new placeholder view renders in there as expected. Thanks
so much for the info.
--Andy
"Steve Gutz" <sgutz@ca.ibm.com> wrote in message
news:eqdb6h$f8l$1@utils.eclipse.org...
> For TPTP 4.4 there is a new extension point that will allow you to poke
> your own renderer into the result view. This will permit you to use the
> current default tree view or to insert something like a table view. Using
> the org.eclipse.tptp.platform.analysis.core.ui.analysisResultVie w
> extension point is the right thing to do, so you're already on your way.
>
> Give your extension an id and refer to a class that implements
> IAnalysisResultView (you probably also want to implement
> AnalysisHistoryListener to catch history events too). Also in the
> extension assign a provider id (i.e. codereview.java.analysisProvider is
> the id for Java code review provider) so the framework knows which
> provider your renderer is for. Give your exntesion a label - this will
> appear in the UI in a combobox in the result view.
>
> You can model your rendering class after
> org.eclipse.tptp.platform.analysis.core.ui.views.ResultViewD efault, which
> you can find in the TPTP source.
>
> Steve
>
>
> "Andy Gianfagna" <junk@gianfagna.net> wrote in message
> news:ept2be$m9u$1@utils.eclipse.org...
>> Hi,
>>
>> I'm looking for some pointers on extending IAnalysisResultView. I'd like
>> to create a custom result view to display more detailed result
>> information. I spent some time pouring through plug-in config files and
>> source code and I'm a little lost...
>>
>> I tried adding a plug-in extension of
>> org.eclipse.tptp.platform.analysis.core.ui.analysisResultVie w, but it
>> just seemed to call the ResultViewDefault implementation. Any thoughts
>> about what I'm missing?
>>
>> Is it possible to do this without also creating a new CodeReviewProvider?
>> I'd like to leverage what is already in the C code review plug-in, but
>> provide a different UI to view results.
>>
>> Any help would be much appreciated.
>>
>> Thanks.
>> --Andy
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.01967 seconds