简体   繁体   中英

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)
But I can't find class in jar:

org.eclipse.jface.viewers.OwnerDrawLabelProvider    

I am using next jar:

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

I also tried to find field SWT.PaintItem in next

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

What am I doing wrong?

OwnerDrawLabelProvider is in the org.eclipse.jface plugin.

The org.eclipse.rap.xxxx plugins you reference are part of Eclipse RAP not the core Eclipse JFace/SWT code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM