| Tree vs. jface.Text vs. ? [message #646637]
||Wed, 29 December 2010 08:57
| Frank Benoit
Registered: July 2009
I am not sure if this is best discussed here. But I am not sure if this specific to SWT or JFace or Eclipse functionality...
I want to create a View to show information in my application. This information is produced in sequential order, with timestamp, general information and detailed information. In a run-mode, information is appended and older lines can be deleted, like a ring buffer (e.g. 50000 records). If paused, the user can sort, filter and expand records.
There is this screenshot of an application that has something, I like to have:
see the Trace window in the lower part of the window. (Not the one with the mouse pointer, the one below that)
- There are top level lines that show summarized information in a kind of table like manner. But the lines can be expanded to show details.
- Child lines are not depending on the columns or the top level lines.
- Lines can be selected, e.g. for copying or to define a reference time stamp.
- The information is not editable, no text cursor is shown.
- The top level lines should be sortable with various criteria.
- The user can define the columns to show and their order
- Icons shall be possible to show the type of an entry, on every line
- Use fixed width font to show detailed info with correct indention
- Optional: Tooltip with even more information of the hovered line.
What is a possible approach?
SWT Tree (JFace TreeViewer), JFace Text, SWT Browser, ... ?
Performance is not unimportant.
I don't think SWT Tree is possible, because the child lines depend on the columns also. Is that true?
With JFace text? The tree behavior with text folding and the line icons with annotations? What will be the pro and contra arguments? Is it possible to make it not have a cursor? Is it possible to make it behave like one or multiple line can be selected as a whole?
Thanks for your time reading this
Powered by FUDForum
. Page generated in 0.02133 seconds