416417418419420421422423424425426
* Gets the number of lines in the {@link StyledText}. * * @return the number of lines in the {@link StyledText}. */ public int getLineCount(){ return syncExec(new IntResult() { public Integer run() { return widget.getLineCount(); } }); }
134135136137138139140141142143144
} private int getSwtObjectCount() { return UIThreadRunnable.syncExec( bot.getDisplay(), new IntResult() { public Integer run() { DeviceData info = bot.getDisplay().getDeviceData(); if ( !info.tracking )
7071727374757677787980
* Gets the number of rows in the tree. * * @return the number of rows in the tree */ public int rowCount() { return syncExec(new IntResult() { public Integer run() { return widget.getItems().length; } }); }
8384858687888990919293
* Gets the column count of this tree. * * @return the number of columns in the tree */ public int columnCount() { return syncExec(new IntResult() { public Integer run() { return widget.getColumnCount(); } }); }
152153154155156157158159160161162
* Gets the current selection count. * * @return the number of selected items. */ public int selectionCount() { return syncExec(new IntResult() { public Integer run() { return widget.getSelectionCount(); } }); }
290291292293294295296297298299300
* Gets the visible row count. * * @return the number of visible rows */ public int visibleRowCount() { return syncExec(new IntResult() { public Integer run() { TreeItem[] items = widget.getItems(); return getVisibleChildrenCount(items); }
114115116117118119120121122123124
* Returns the number of items contained in the receiver that are direct item children of the receiver. * * @return the number of items */ public int rowCount() { return syncExec(new IntResult() { public Integer run() { return widget.getItemCount(); } }); }
6970717273747576777879
8283848586878889909192
151152153154155156157158159160161