I would like to make a tab between the elements in the table.
I am currently creating my table as follows.
this.tableViewer = new TableViewer(parent , SWT.FULL_SELECTION); tableViewer.setUseHashlookup(true); table = tableViewer.getTable(); GridData gridData = new GridData(GridData.FILL_BOTH); gridData.grabExcessVerticalSpace = true; table.setLayoutData(gridData); table.setLinesVisible(true); table.setHeaderVisible(true); ... editors = new CellEditor[table.getColumnCount()]; tableViewer.setColumnProperties(columnNames); tableViewer.setCellEditors(editors); tableViewer.setCellModifier(new MyCellModifier(this));
But I'm not sure how to set up a tab. Everything else works with editing columns, showing data, etc. Just stuck in this last part.
If I missed the obvious documentation or javadocs - my apologies and even pointing to them would be great.
java eclipse swt jface
PSU_Kardi
source share