Eclipse JFace TableViewer component, concrete viewer based on a SWT Table control.
Questions tagged [tableviewer]
216 questions
0
votes
1 answer
Text wrap in TableItem
This is about wrapping text in a table item, I know table item doesn't support WRAP. But I am looking at possibility of embedding a StyledText inside the tableitem. Is it possible?
![](../../users/profiles/1410303.webp)
SomeDude
- 7,432
- 4
- 19
- 33
0
votes
1 answer
Make TableViewer columns automatically take on the width of its longest field
I'm working with a TableViewer and I'm trying to get all the columns to assume the width of its longest item of text.
So far, I've created a TableLayout to add the columns to the table. The problem is that adding a column requires using…
![](../../users/profiles/1675976.webp)
CodyBugstein
- 17,496
- 50
- 159
- 312
0
votes
1 answer
Align a TableViewer and TreeViewer
I am creating an SWT application with two TreeViewers and a TableViewer in between them.
The TableViewer contains images in each row that indicate something about the date in that row of the TreeViewer.
However the problem is that the images in the…
![](../../users/profiles/1675976.webp)
CodyBugstein
- 17,496
- 50
- 159
- 312
0
votes
1 answer
Manually trigger the CellEditor in a RCP TableViewer
I'd like to comfort the user by automatically jump to the next cell in a tableviewer, when a previous editing is completed. The user needs to modify start- endtimes in a list of entries. I was wondering how am I supposed to manually…
![](../../users/profiles/166566.webp)
gia
- 800
- 10
- 31
0
votes
0 answers
TableItem does not display a long String Value
Eclipse TableItem does not display a long String value.
When I open up the RCP, the TableItem is only displaying only ~260 characters per column.
I am using Windows 7 (64bit), Eclipse Kepler (64bit), Java 1.7.0_25 (64bit)
Here is the source…
![](../../users/profiles/117261.webp)
caritos
- 9,944
- 2
- 14
- 15
0
votes
1 answer
JFace TableViewer Listener to deselect previously selected row
Does anybody knows any how to deselect row in TableViewer but in case of second click to this row (means if i click on row which was previously selected) ?
By default 1st click marks this row ! , but I want that second click to this marked row will…
![](../../users/profiles/1599213.webp)
To Kra
- 2,678
- 2
- 30
- 42
0
votes
1 answer
JFace TableViewer should react on changing list
We have the following scenario: an Eclipse 4 RCP-Application should write a log-output. These logs are bound via an OSGi-Service and should be displayed using a JFace TableViewer.
This works well for the first start of this ViewPart. (because there…
![](../../users/profiles/2123609.webp)
Steffen
- 352
- 1
- 12
0
votes
1 answer
Virtual TableViewer sorting causes selection problems
Our application is an RCP appliction and needs to display table of several thousands items. For this reason, we're using SWT.VIRTUAL in our TableViewer. That works pretty well except for selection.
We're having following issue :
Our TableViewer…
![](../../users/profiles/2086902.webp)
Uzma Pathan
- 1
- 1
0
votes
1 answer
getViewer().setSelection() not working with FocusCellOwnerDrawHighlighter
I would like to set focus to a specifc row in a TableViewer.
The focus and input handing is defined like this:
ColumnViewerToolTipSupport.enableFor(viewer, ToolTip.NO_RECREATE);
FocusCellOwnerDrawHighlighter fch = new…
![](../../users/profiles/1528246.webp)
rogergl
- 2,993
- 2
- 22
- 46
0
votes
1 answer
Adding content to table viewer dynamically
I am implementing table viewer like this
folderAssociationTable = componentsRenderer.createTableWidget(container, SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION, 2, true);
folderAssociationTable.addListener(SWT.MeasureItem, new Listener() {
…
![](../../users/profiles/1805183.webp)
mayur_mitkari
- 149
- 5
- 13
0
votes
1 answer
SWT TableViewer with a column or table item with multiple buttons acting as actions
I am trying to render in SWT the following table with following rows:
name1 | anotherProperty |BUTTON1(EDIT) BUTTON2(REMOVE) BUTTON3(DEACTIVATE)
Using SWT - Tableviewer adding a remove button to a column in the table I was able to render just one…
![](../../users/profiles/1959222.webp)
davidfdr
- 129
- 1
- 3
- 14
0
votes
1 answer
Populate table on combo box selection using SWT/Jface
Is there any way to populate table viewer on combo box value selection using SWT/Jface databinding?
![](../../users/profiles/1728257.webp)
Prashant P
- 11
- 4
0
votes
1 answer
Displayed Text in column is not displaying in the correct location of the cell
In my first column of my table, the displayed value is offset from the left edge.
Example
Notice the offset of the date value compared to the ItemId value
TableViewerColumn col = new TableViewerColumn(this , SWT.NONE);
…
![](../../users/profiles/1368445.webp)
jkteater
- 1,331
- 3
- 33
- 66
0
votes
1 answer
Select table values to text field using SWT?
I have Table (TableViewer) containing TableItems with values. I have another class TextField mapped according to table column name.
Now my question is: When I select any row in table, the values in that row should get reflected in Text field. In…
![](../../users/profiles/1728257.webp)
Prashant P
- 11
- 4
0
votes
1 answer
Opening a dialog box from a table cell button
I need to allow my users to edit a filename value in the my table. So in my tableviewer I added the code to create and display the edit button(s) in my last column. I have this working.
When they click on the edit button, I want a dialog box to…
![](../../users/profiles/1368445.webp)
jkteater
- 1,331
- 3
- 33
- 66