Java Code Examples for org.eclipse.swt.widgets.Table.getHeaderHeight()

The following are Jave code examples for showing how to use getHeaderHeight() of the org.eclipse.swt.widgets.Table class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: eclipse-plugin-commander   File: KaviList.java   Source Code and License Vote up 4 votes
private int numberOfItemsVisible(Table table) {
Rectangle rectange = table.getClientArea();
int itemHeight = table.getItemHeight();
int headerHeight = table.getHeaderHeight();
return (rectange.height - headerHeight ) / itemHeight;
  }