| Summary: | Provide generators the ability to write to the Generate Result dialog box | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] Tigerstripe | Reporter: | Navid Mehregani <nmehrega> | ||||||
| Component: | Plugin | Assignee: | Project Inbox <tigerstripe.plugin-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | skanton | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 0.5M0 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Navid Mehregani
Created attachment 204524 [details]
Generate Result Dialog
It's not fully clear how to display the log messages. Do you want to combine the messages with current or use a separete area for them? Current logging implementation is based on IStatus objects and the objects are converted to string at generation end. What do you think if we reuse logic from Error log view and display the messages in tabular way? (In reply to comment #2) > It's not fully clear how to display the log messages. Do you want to combine > the messages with current or use a separete area for them? Current logging > implementation is based on IStatus objects and the objects are converted to > string at generation end. What do you think if we reuse logic from Error log > view and display the messages in tabular way? I was thinking of displaying them as string in the existing textbox. It'll be more work if we want to display it in tabular format. Let's further discuss this in our status call. Code review will be required for this enhancement. In the status call it was decided to display this information in tabular format similar to Error Log view. Created attachment 206187 [details]
Generation Result Dialog patch
Generators log is diaplayed in tabular form. To see a log entry details double click on it. Generators are able to add log entries with using PluginLog.reportStatus(IStatus).
Anton, can you please add a quick wiki page with a simple example of how generators can leverage this feature? Thanks! Simple example added http://wiki.eclipse.org/Tigerstripe_Advanced_Plugin_Tutorial#Logging_and_reporting_statuses Code review was completed on Nov 10 2011. Patch applied. Looks great, thank you! |