List of usage examples for org.eclipse.jface.viewers ViewerCell scrollIntoView
public boolean scrollIntoView()
From source file:com.netxforge.screens.editing.base.tables.SWTFocusBlockManager.java
License:Open Source License
void setFocusCell(ViewerCell focusCell, Event event) { ViewerCell oldCell = this.focusCell; if (this.focusCell != null && !this.focusCell.getItem().isDisposed()) { this.focusCell.getItem().removeDisposeListener(itemDeletionListener); }/* w w w .j a v a 2s.c o m*/ this.focusCell = focusCell; if (this.focusCell != null && !this.focusCell.getItem().isDisposed()) { this.focusCell.getItem().addDisposeListener(itemDeletionListener); } if (focusCell != null) { focusCell.scrollIntoView(); } this.cellHighlighter.focusCellChanged(focusCell, oldCell); focusBlockActionHandler.updateCommand(focusCell, getTargets(), event); getViewer().getControl().getAccessible().setFocus(ACC.CHILDID_SELF); }