테이블의 요소간에 탭을 만들 수 있습니다.TableViewer의 필드 사이의 탭
현재 이와 같은 테이블을 만들고 있습니다.
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);
...
/** Create the Cell Editor Array - will hold all columns **/
editors = new CellEditor[table.getColumnCount()];
/** Cell Editor Row 1 **/
/** Set the column properties **/
tableViewer.setColumnProperties(columnNames);
/** Assign the cell editors to the viewer **/
tableViewer.setCellEditors(editors);
/** Set the cell modifier for the viewer **/
tableViewer.setCellModifier(new MyCellModifier(this));
//Create the Table Viewer
/** Table Viewer Content and Label Provider **/
tableViewer.setContentProvider(new MyContentProvider(this));
tableViewer.setLabelProvider(new MyLabelProvider());
하지만 표의 설정 방법을 잘 모르겠습니다. 다른 모든 것은 열 편집, 데이터 표시 등의 작업을합니다.이 마지막 부분에 붙어 있습니다.
명백한 문서 또는 javadocs를 놓친 경우 - 제 사과와 심지어 위의 내용을 지적해도 좋습니다.
어떤 방향으로 탭하고 싶습니까? –