[英]I can't find class OwnerDrawLabelProvider in Jface jars and field SWT.PaintItem
I try to use code example from this answer: How to align image to center of table cell (SWT Table) 我尝试从以下答案中使用代码示例: 如何将图像与表格单元格(SWT表)的中心对齐
But I can't find class in jar: 但是我在jar中找不到类:
org.eclipse.jface.viewers.OwnerDrawLabelProvider
I am using next jar: 我正在使用下一个jar:
org.eclipse.rap.jface-2.3.1.20140819-1926.jar
I also tried to find field SWT.PaintItem in next 我也试图在下一个字段中找到SWT.PaintItem
org.eclipse.rap.rwt-2.3.1.20140909-1638.jar
What am I doing wrong? 我究竟做错了什么?
OwnerDrawLabelProvider
is in the org.eclipse.jface
plugin. OwnerDrawLabelProvider
位于org.eclipse.jface
插件中。
The org.eclipse.rap.xxxx
plugins you reference are part of Eclipse RAP not the core Eclipse JFace/SWT code. 您引用的
org.eclipse.rap.xxxx
插件是Eclipse RAP的一部分,而不是Eclipse JFace / SWT的核心代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.