开发者

Overview of ISharedImages?

开发者 https://www.devze.com 2023-04-07 06:20 出处:网络
The Java UI plugin provides the Interface ISharedImages to access standard images which can be used in own plugins开发者_开发知识库.

The Java UI plugin provides the Interface ISharedImages to access standard images which can be used in own plugins开发者_开发知识库.

e.g.

Image image = PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_ELEMENT);

This works very well but I did not find an overview of the available images. Can someone please point me to such a documentation?


You can use the Plug-in Image Browser which was added recently:

Window > Show View > Other... > Plug-in Development > Plug-in Image Browser

See also http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Fguide%2Ftools%2Fviews%2Fimage_browser_view.htm


Some of them you can find here, but keep in mind that other 3rd party plugins can add another set of shared images for which, you would have to refer to that plugin documentation.

0

精彩评论

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