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.
+ Save this method
Example 1
Project: eclipse-plugin-commander   File: KaviList.java   View Source Code 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;
  }