簡體   English   中英

我在Jface罐子和字段SWT.PaintItem中找不到類OwnerDrawLabelProvider

[英]I can't find class OwnerDrawLabelProvider in Jface jars and field SWT.PaintItem

我嘗試從以下答案中使用代碼示例: 如何將圖像與表格單元格(SWT表)的中心對齊
但是我在jar中找不到類:

org.eclipse.jface.viewers.OwnerDrawLabelProvider    

我正在使用下一個jar:

org.eclipse.rap.jface-2.3.1.20140819-1926.jar

我也試圖在下一個字段中找到SWT.PaintItem

org.eclipse.rap.rwt-2.3.1.20140909-1638.jar

我究竟做錯了什么?

OwnerDrawLabelProvider位於org.eclipse.jface插件中。

您引用的org.eclipse.rap.xxxx插件是Eclipse RAP的一部分,而不是Eclipse JFace / SWT的核心代碼。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM