Bug 153993 [Viewers] Common Baseclass for Tree/TableEditorImpl
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableTreeViewer.java
*/
    public Object getElementAt(int index) {
        
        TableTreeItem i = tableTree.getItems()[index];
        if (i != null) {
			return i.getData();
		}
        return null;
    }
    /* (non-Javadoc)
     * Method declared on AbstractTreeViewer.
     */
    protected boolean getExpanded(Item item) {
        return ((TableTreeItem) item).getExpanded();
    }
    
    /* (non-Javadoc)
     * @see org.eclipse.jface.viewers.ColumnViewer#getItemAt(org.eclipse.swt.graphics.Point)
     */
    protected Item getItemAt(Point p) {
    	return getTableTree().getTable().getItem(p);
    }
    /* (non-Javadoc)
     * Method declared on AbstractTreeViewer.
     */
    protected int getItemCount(Control widget) {
        return ((TableTree) widget).getItemCount();
    }
    /* (non-Javadoc)
     * Method declared on AbstractTreeViewer.