您的位置:首页 > 其它

采用jface dataBinding来实现内容填充

2014-02-12 00:00 585 查看
//采用jface dataBinding来实现内容填充
input = new WritableList(getInput(),AliasModel.class);
ViewerSupport.bind(tableViewer, input, BeanProperties.values(
new String[]{AliasModel.SOURCENAME,AliasModel.ALIASNAME}));

tableViewer = new TableViewer(this, SWT.BORDER | SWT.FULL_SELECTION|SWT.H_SCROLL|SWT.V_SCROLL);
tableViewer.setUseHashlookup(true);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: