#17 Plugin that enables the generic export / print of SWT TableViewers

HEAD
open-fixed
None (24)
6
2009-07-16
2009-02-20
jfirechief
No

DO NOT EDIT OR ANSWER THIS ISSUE. SEE THE ORIGINAL ISSUE INSTEAD:
https://www.jfire.org/modules/bugs/view.php?id=1011
ORIGINAL REPORTER: alex

A new project should be created that will enable the support of export and print of a TableViewer inside an RCP application.

As a start the module should be able to export an the contents of an arbitrary TableViewer to a comma separated file (Please use a library to creat the files such as opencsv).

We should start with the implementation first and think then about how to trigger that in the ui. A context-menu for the viewers control might be a possibility, but what if there is already one (append to this?) and what if the context menu is overwritten later.
Maybe a MouseListener for each TableViewer might be good and a global action that switches a global state that all listeners check. If the state is active the first listener that gets triggered does the export and re-sets the state. But the implemenation of the export should come first.
As start the module could provide a class that could be instantiated for a TableViewer and which would automatically register a context menu

Discussion

  • jfirechief
    jfirechief
    2009-02-20

    • labels: --> None
    • milestone: --> HEAD
    • priority: 5 --> 6
    • assigned_to: nobody --> ichigokun
     
  • jfirechief
    jfirechief
    2009-07-16

    • status: open --> open-fixed