MIRA: Highlighting in Scenarios
Idea regarding text highlighting etc. in tables (for scenarios):
It is possible to put custom controls into table cells (see
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet126.java)
Therefore a solution could be to integrate SourceViewer components into
the table, like this:
editor = new TableEditor (table);
SourceViewer sourceViewer = new SourceViewer(table, null, SWT.WRAP |
SWT.MULTI);
sourceViewer.setDocument(new Document());
sourceViewer.getDocument().set(“Hello”);
editor.grabHorizontal = true;
editor.setEditor(sourceViewer.getControl(), items[i], 1);
Of course the databindings might have to be adjusted then.
(from redmine: issue id 790, created on 2012-04-26, closed on 2013-04-30)
- Relations:
- duplicates #1015 (closed)