protected TableViewer createTable(Composite parent, int span) {
Table table = new Table(parent, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
GridData data = new GridData(GridData.FILL_BOTH | GridData.GRAB_HORIZONTAL);
data.horizontalSpan = span;
data.heightHint = 125;
table.setLayoutData(data);
TableLayout layout = new TableLayout();
layout.addColumnData(new ColumnWeightData(100, true));
table.setLayout(layout);
TableColumn col = new TableColumn(table, SWT.NONE);
col.setResizable(true);
col.setText(Policy.bind("SVNFoldersExistWarningPage.folders")); //$NON-NLS-1$
table.setHeaderVisible(true);
return new TableViewer(table);
}
SvnFoldersExistWarningPage.java 文件源码
java
阅读 32
收藏 0
点赞 0
评论 0
项目:APICloud-Studio
作者:
评论列表
文章目录