private void fixLayout() {
Table table = getTable();
// HACK to get the removed item to disappear.
table.pack();
layout(true);
int[] columnWidths = TABLE_COLUMN_WIDTHS;
TableColumn[] columns = table.getColumns();
for (int i = 0; i < columns.length; i++) {
if (columnWidths == null) {
columns[i].pack();
}
else {
int columnWidth = columnWidths[i];
if (columnWidth == SWT.DEFAULT) {
columns[i].pack();
}
else {
columns[i].setWidth(columnWidth);
}
}
}
}
ZnodeAclComposite.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:eZooKeeper
作者:
评论列表
文章目录