`
qq123zhz
  • 浏览: 525023 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

采用jface dataBinding来实现内容填充

 
阅读更多
//采用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);

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics