Nebula Grid Tom Schindl - BestSolution.at / Platform UI Copyright Tom Schindl – BestSolution.at - Made available under EPL
Copyright Tom Schindl – BestSolution.at - Made available under EPL Nebula – The Project What is Nebula Copyright Tom Schindl – BestSolution.at - Made available under EPL
Copyright Tom Schindl – BestSolution.at - Made available under EPL Nebula – The Grid Similar Featureset than MS-Excel Row-Headers Column-Groups Notion of a Cell Completely customizable writing own renderes Full Jface-Viewer Support Copyright Tom Schindl – BestSolution.at - Made available under EPL
Nebula – Grid – New features Support for Header-Controls Support for Fixed Footer Row Support for Resource-Management Grid grid = new Grid(shell,SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL); GridColumn column = new GridColumn(grid,SWT.NONE); column.setText("Column 1"); column.setWidth(100); column.setHeaderControl(new Combo(grid, SWT.READ_ONLY)); final Grid grid = new Grid(shell, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL); grid.setHeaderVisible(true); grid.setFooterVisible(true); GridVisibleRangeSupport support = GridVisibleRangeSupport.createFor((Grid) viewer.getWidget()); support.addRangeChangeListener(new VisibleRangeChangedListener() { public void rangeChanged(RangeChangedEvent event) { controlResourceColumns(viewer, event, resourceControlledColumns); } }); Copyright Tom Schindl – BestSolution.at - Made available under EPL
Nebula - Resources Website Snippets http://www.eclipse.org/nebula Snippets Nebula: http://www.eclipse.org/nebula/snippets.php JFace: http://wiki.eclipse.org/JFaceSnippets