开发者

how to embed html code inside a component of an rcp application

开发者 https://www.devze.com 2023-03-12 12:51 出处:网络
can we embed/place HTML content inside the setText() like setText(\"some html code here\");method of a label component in rcp.

can we embed/place HTML content inside the setText() like setText("some html code here");method of a label component in rcp. i knew that the label widget of swi开发者_开发技巧ngs has this capability.Is there a way to do the same with rcp


If you have basic HTML you can use FormText from org.eclipse.ui.forms package. For full support of HTML use SWT Browser (I know, it's a bit overkill).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号