private void createTableColumns(final Table table) {
final TableLayout tableLayout = new TableLayout();
table.setLayout(tableLayout);
tableLayout.addColumnData(new ColumnWeightData(5, true));
final TableColumn column1 = new TableColumn(table, SWT.NONE);
column1.setText(Messages.getString("BranchesPropertiesControl.ColumNameFileName")); //$NON-NLS-1$
column1.setResizable(true);
tableLayout.addColumnData(new ColumnWeightData(3, true));
final TableColumn column2 = new TableColumn(table, SWT.NONE);
column2.setText(Messages.getString("BranchesPropertiesControl.ColumnNameChange")); //$NON-NLS-1$
column2.setResizable(true);
tableLayout.addColumnData(new ColumnWeightData(1, true));
final TableColumn column3 = new TableColumn(table, SWT.NONE);
column3.setText(Messages.getString("BranchesPropertiesControl.ColumnNameBranchedFrom")); //$NON-NLS-1$
column3.setResizable(true);
}
BranchesPropertiesControl.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:team-explorer-everywhere
作者:
评论列表
文章目录