void setFocusCell(ViewerCell focusCell) { ViewerCell oldCell = this.focusCell; if( this.focusCell != null && ! this.focusCell.getItem().isDisposed() ) { this.focusCell.getItem().removeDisposeListener(itemDeletionListener); } 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); getViewer().getControl().getAccessible().setFocus(ACC.CHILDID_SELF); }
void setFocusCell(ViewerCell focusCell) { ViewerCell oldCell = this.focusCell; if( this.focusCell != null && ! this.focusCell.getItem().isDisposed() ) { this.focusCell.getItem().removeDisposeListener(itemDeletionListener); } 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); getViewer().getControl().getAccessible().setFocus(ACC.CHILDID_SELF); }
void setFocusCell(ViewerCell focusCell) { ViewerCell oldCell = this.focusCell; if( this.focusCell != null && ! this.focusCell.getItem().isDisposed() ) { this.focusCell.getItem().removeDisposeListener(itemDeletionListener); } 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); getViewer().getControl().getAccessible().setFocus(ACC.CHILDID_SELF); }